summaryrefslogtreecommitdiff
path: root/extra/hugin/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/hugin/PKGBUILD')
-rw-r--r--extra/hugin/PKGBUILD20
1 files changed, 13 insertions, 7 deletions
diff --git a/extra/hugin/PKGBUILD b/extra/hugin/PKGBUILD
index 528d1f6f3..e9734cf21 100644
--- a/extra/hugin/PKGBUILD
+++ b/extra/hugin/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 201259 2013-12-07 10:34:58Z bpiotrowski $
+# $Id: PKGBUILD 204757 2014-01-26 12:16:02Z andyrtr $
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Contributor: Tobias Kieslich <tobias@archlinux.org>
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
@@ -6,26 +6,32 @@
pkgname=hugin
pkgver=2013.0.0
-pkgrel=3
+pkgrel=6
pkgdesc='Panorama photo stitcher'
url='http://hugin.sourceforge.net/'
license=('GPL')
arch=('i686' 'x86_64' 'mips64el')
+optdepends=('python2: bindings and plugins')
+makedepends=('cmake' 'boost' 'tclap' 'mesa' 'python2' 'swig')
depends=('wxgtk' 'boost-libs' 'enblend-enfuse' 'exiv2' 'libpano13'
'lensfun' 'lapack' 'make' 'perl-image-exiftool' 'desktop-file-utils')
-makedepends=('cmake' 'boost' 'tclap' 'mesa')
-source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgname}-${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2")
-sha1sums=('0e0689cf2ca0c4a2730cffe06380eda976b6772d')
+source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgname}-${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2" hugin-build.patch)
+sha1sums=('0e0689cf2ca0c4a2730cffe06380eda976b6772d'
+ '45a8d8f5ee9b3c013cbc1ae3cfad14a2705c0dd4')
install=install
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -p1 -i ../hugin-build.patch
+}
+
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
cmake . \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DENABLE_LAPACK=yes \
- -DBUILD_HSI=no
+ -DENABLE_LAPACK=yes
make
}