diff options
Diffstat (limited to 'extra/hugin')
-rw-r--r-- | extra/hugin/PKGBUILD | 14 | ||||
-rw-r--r-- | extra/hugin/hugin-build.patch | 11 |
2 files changed, 21 insertions, 4 deletions
diff --git a/extra/hugin/PKGBUILD b/extra/hugin/PKGBUILD index 1cc75c60f..23d8b5d75 100644 --- a/extra/hugin/PKGBUILD +++ b/extra/hugin/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 203492 2014-01-11 20:07:08Z eric $ +# $Id: PKGBUILD 203508 2014-01-12 01:30:04Z eric $ # Maintainer: Gaetan Bisson <bisson@archlinux.org> # Contributor: Tobias Kieslich <tobias@archlinux.org> # Contributor: Giovanni Scafora <giovanni@archlinux.org> @@ -6,7 +6,7 @@ pkgname=hugin pkgver=2013.0.0 -pkgrel=4 +pkgrel=5 pkgdesc='Panorama photo stitcher' url='http://hugin.sourceforge.net/' license=('GPL') @@ -15,11 +15,17 @@ 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') -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 . \ diff --git a/extra/hugin/hugin-build.patch b/extra/hugin/hugin-build.patch new file mode 100644 index 000000000..42d765927 --- /dev/null +++ b/extra/hugin/hugin-build.patch @@ -0,0 +1,11 @@ +--- a/src/hugin1/ptbatcher/PTBatcherGUI.cpp ++++ b/src/hugin1/ptbatcher/PTBatcherGUI.cpp +@@ -150,7 +150,7 @@ + { wxCMD_LINE_SWITCH, "v", "verbose", "show verbose output when processing projects" }, + { wxCMD_LINE_SWITCH, "a", "assistant", "run the assistant on the given projects" }, + { +- wxCMD_LINE_PARAM, NULL, NULL, _("stitch_project.pto [output prefix]|assistant_project.pto"), ++ wxCMD_LINE_PARAM, NULL, NULL, "stitch_project.pto [output prefix]|assistant_project.pto", + wxCMD_LINE_VAL_STRING, wxCMD_LINE_PARAM_OPTIONAL + wxCMD_LINE_PARAM_MULTIPLE + }, + { wxCMD_LINE_NONE } |