summaryrefslogtreecommitdiff
path: root/extra/hugin/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-12-06 02:18:52 -0800
committerroot <root@rshg054.dnsready.net>2012-12-06 02:18:52 -0800
commit3f0c4efbf72adbd091565fcc39ad1d09c92be5d0 (patch)
treef9b2abf9234090740a20840b7ca92991803a9316 /extra/hugin/PKGBUILD
parent947a049195183934ba5dffc131f9512fe253f4db (diff)
Thu Dec 6 02:15:36 PST 2012
Diffstat (limited to 'extra/hugin/PKGBUILD')
-rw-r--r--extra/hugin/PKGBUILD51
1 files changed, 24 insertions, 27 deletions
diff --git a/extra/hugin/PKGBUILD b/extra/hugin/PKGBUILD
index c6c81350d..3c34d8e9a 100644
--- a/extra/hugin/PKGBUILD
+++ b/extra/hugin/PKGBUILD
@@ -1,39 +1,36 @@
-# $Id: PKGBUILD 169748 2012-10-27 23:41:52Z eric $
-# Maintainer: Tobias Kieslich <tobias@archlinux.org>
+# $Id: PKGBUILD 172786 2012-12-06 00:11:28Z bisson $
+# Maintainer: Gaetan Bisson <bisson@archlinux.org>
+# Contributor: Tobias Kieslich <tobias@archlinux.org>
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Dominik Ryba <domryba@post.pl>
pkgname=hugin
-pkgver=2011.4.0
-pkgrel=7
-pkgdesc="A frontend to the panorama-tools"
-arch=('i686' 'x86_64')
-url="http://hugin.sourceforge.net/"
+pkgver=2012.0.0
+pkgrel=1
+pkgdesc='Panorama photo stitcher'
+url='http://hugin.sourceforge.net/'
license=('GPL')
+arch=('i686' 'x86_64')
depends=('wxgtk' 'boost-libs' 'enblend-enfuse' 'exiv2' 'autopano-sift-c'
- 'lapack' 'desktop-file-utils' 'make' 'perl-image-exiftool')
-makedepends=('zip' 'cmake' 'boost' 'tclap' 'mesa')
-install=hugin.install
-source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
- gcc47.patch)
-sha1sums=('21ec7331d5e196aca2a8771d3c9101dd181ad93b'
- 'aa0fc9425bd7a4b5e270412f4ca72258fac77298')
+ 'lensfun' 'lapack' 'make' 'perl-image-exiftool' 'desktop-file-utils')
+makedepends=('cmake' 'boost' 'tclap' 'mesa' 'python' 'swig')
+source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgname}-${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2")
+sha1sums=('53f97d030716e66dc5a49c7e786686a9d5262b8d')
+
+install=install
build() {
- cd "${srcdir}"
- patch -Np0 -i gcc47.patch
- mkdir build
- cd build
- export CXXFLAGS+=" -fpermissive"
- cmake "${srcdir}/${pkgname}-${pkgver}" \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_EXE_LINKER_FLAGS="-lpthread" \
- -DENABLE_LAPACK=yes
- make
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ export CXXFLAGS+=" -fpermissive"
+ cmake . \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_EXE_LINKER_FLAGS="-lpthread" \
+ -DENABLE_LAPACK=yes
+ make
}
package(){
- cd "${srcdir}/build"
- make DESTDIR="${pkgdir}" install
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
}