[arch-commits] Commit in libindi/trunk (PKGBUILD linking-pthread.patch)

Andrea Scarpino andrea at archlinux.org
Fri Jun 17 17:43:00 UTC 2011


    Date: Friday, June 17, 2011 @ 13:42:59
  Author: andrea
Revision: 127680

upgpkg: libindi 0.8-1
upstream release

Modified:
  libindi/trunk/PKGBUILD
Deleted:
  libindi/trunk/linking-pthread.patch

-----------------------+
 PKGBUILD              |   22 ++++++++--------------
 linking-pthread.patch |   11 -----------
 2 files changed, 8 insertions(+), 25 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-06-17 17:33:25 UTC (rev 127679)
+++ PKGBUILD	2011-06-17 17:42:59 UTC (rev 127680)
@@ -3,29 +3,23 @@
 # Contributor: Tobias Powalowski <tpowa at archlinux.org>
 
 pkgname=libindi
-pkgver=0.7.2
+pkgver=0.8
 pkgrel=1
 pkgdesc="A distributed control protocol designed to operate astronomical instrumentation"
 url="http://www.indilib.org/index.php?title=Main_Page"
 license=('GPL2')
 arch=('i686' 'x86_64')
-depends=('gcc-libs' 'zlib' 'libnova' 'cfitsio')
-makedepends=('pkgconfig' 'cmake')
+depends=('libnova' 'cfitsio' 'boost-libs')
+makedepends=('pkgconfig' 'cmake' 'boost')
 provides=('indilib')
 replaces=('indilib')
 conflicts=('indilib')
 options=('!libtool')
-source=("http://downloads.sourceforge.net/indi/${pkgname}_${pkgver}.tar.gz"
-        'linking-pthread.patch')
-md5sums=('a78a77dc2322a46f5bf4c5d75380e8b0'
-        '1ebc282e259cb0c9c52cad3dadd5e044')
+source=("http://downloads.sourceforge.net/indi/${pkgname}_${pkgver}.tar.gz")
+md5sums=('ca2b7c56431eb5e08218929e5eb72150')
 
 build() {
-  # fixed upstream
-  cd ${srcdir}/${pkgname}-${pkgver}
-  patch -Np2 -i ${srcdir}/linking-pthread.patch
-
-  cd ${srcdir}
+  cd "${srcdir}"
   mkdir build
   cd build
   cmake ../${pkgname}-${pkgver} \
@@ -35,6 +29,6 @@
 }
 
 package() {
-  cd ${srcdir}/build
-  make DESTDIR=${pkgdir} install
+  cd "${srcdir}"/build
+  make DESTDIR="${pkgdir}" install
 }

Deleted: linking-pthread.patch
===================================================================
--- linking-pthread.patch	2011-06-17 17:33:25 UTC (rev 127679)
+++ linking-pthread.patch	2011-06-17 17:42:59 UTC (rev 127680)
@@ -1,11 +0,0 @@
---- trunk/libindi/CMakeLists.txt	2010/11/20 11:45:07	397
-+++ trunk/libindi/CMakeLists.txt	2010/12/01 08:36:20	412
-@@ -164,7 +164,7 @@
- ############# INDI Client Library ################
- ##################################################
- add_library(indiclient STATIC ${indibase_SRCS})
--target_link_libraries(indiclient indi)
-+target_link_libraries(indiclient indi pthread)
- install(TARGETS indiclient ARCHIVE DESTINATION lib${LIB_POSTFIX})
- 
- #####################################




More information about the arch-commits mailing list