summaryrefslogtreecommitdiff
path: root/extra/hugin/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-12-07 17:00:41 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-12-07 17:00:41 -0300
commit3734b1ff855a5738195c6ff3def244d7b2e23e50 (patch)
treea4afb881617539f17c75b0ddc58902569d847809 /extra/hugin/PKGBUILD
parentd4eb5f4f523f90878c8d5ab59e6012ca401ca355 (diff)
parent7de07e40e2c0c078a35c5092e1f2defb65d1741e (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/znc/PKGBUILD extra/hugin/PKGBUILD extra/kdeplasma-addons/PKGBUILD extra/postgresql/PKGBUILD extra/talloc/PKGBUILD
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 f8f3b55a9..21b1afad3 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' 'mips64el')
-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' 'mips64el')
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
}