[arch-commits] Commit in autopano-sift-c/trunk (PKGBUILD)
Eric Bélanger
eric at archlinux.org
Thu Jan 19 19:15:55 UTC 2012
Date: Thursday, January 19, 2012 @ 14:15:55
Author: eric
Revision: 146968
upgpkg: autopano-sift-c 2.5.1-3
Rebuild against libpng 1.5 and libtiff 4.0, Fix underlinking bug
Modified:
autopano-sift-c/trunk/PKGBUILD
----------+
PKGBUILD | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2012-01-19 18:38:17 UTC (rev 146967)
+++ PKGBUILD 2012-01-19 19:15:55 UTC (rev 146968)
@@ -5,12 +5,12 @@
pkgname=autopano-sift-c
pkgver=2.5.1
-pkgrel=2
+pkgrel=3
pkgdesc="Identify key feature points within arbitrary images"
arch=('i686' 'x86_64')
url="http://hugin.sourceforge.net/"
license=('GPL2')
-depends=('libxml2' 'libpano13>=2.9.17' 'gcc-libs')
+depends=('libxml2' 'libpano13' 'gcc-libs')
makedepends=('cmake')
provides=('autopano-sift')
conflicts=('autopano-sift')
@@ -20,8 +20,12 @@
build() {
cd "${srcdir}/autopano-sift-C-${pkgver}"
-
cmake -DCMAKE_INSTALL_PREFIX=/usr .
+ sed -i 's/-lz/-lz -lm/' CMakeFiles/{autopano,generatekeys}.dir/link.txt
make
- make DESTDIR=${pkgdir} install
}
+
+package() {
+ cd "${srcdir}/autopano-sift-C-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
More information about the arch-commits
mailing list