Date: Tuesday, April 21, 2015 @ 10:00:16 Author: bisson Revision: 237859
archrelease: copy trunk to staging-i686, staging-x86_64 Added: hugin/repos/staging-i686/ hugin/repos/staging-i686/PKGBUILD (from rev 237858, hugin/trunk/PKGBUILD) hugin/repos/staging-i686/install (from rev 237858, hugin/trunk/install) hugin/repos/staging-x86_64/ hugin/repos/staging-x86_64/PKGBUILD (from rev 237858, hugin/trunk/PKGBUILD) hugin/repos/staging-x86_64/install (from rev 237858, hugin/trunk/install) -------------------------+ staging-i686/PKGBUILD | 50 ++++++++++++++++++++++++++++++++++++++++++++++ staging-i686/install | 13 +++++++++++ staging-x86_64/PKGBUILD | 50 ++++++++++++++++++++++++++++++++++++++++++++++ staging-x86_64/install | 13 +++++++++++ 4 files changed, 126 insertions(+) Copied: hugin/repos/staging-i686/PKGBUILD (from rev 237858, hugin/trunk/PKGBUILD) =================================================================== --- staging-i686/PKGBUILD (rev 0) +++ staging-i686/PKGBUILD 2015-04-21 08:00:16 UTC (rev 237859) @@ -0,0 +1,50 @@ +# $Id$ +# Maintainer: Gaetan Bisson <bis...@archlinux.org> +# Contributor: Tobias Kieslich <tob...@archlinux.org> +# Contributor: Giovanni Scafora <giova...@archlinux.org> +# Contributor: Dominik Ryba <domr...@post.pl> + +pkgname=hugin +pkgver=2014.0.0 +pkgrel=6 +pkgdesc='Panorama photo stitcher' +url='http://hugin.sourceforge.net/' +license=('GPL') +arch=('i686' 'x86_64') +makedepends=('cmake' 'boost' 'tclap' 'mesa' 'swig') +depends=('wxgtk' 'boost-libs' 'enblend-enfuse' 'exiv2' 'libpano13' 'python' + 'lensfun' 'lapack' 'make' 'perl-image-exiftool' 'desktop-file-utils') +source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgname}-${pkgver%.*}/${pkgname}-${pkgver/r/_r}.tar.bz2" + "http://downloads.sourceforge.net/boost/boost_1_55_0.tar.bz2") +sha1sums=('7b4ae181f664b9e0a68f55f298cdaa210fa09aa9' + 'cef9a0cc7084b1d639e06cd3bc34e4251524c840') + +install=install + +prepare() { + cd "${srcdir}/${pkgname}-${pkgver/rc?}" + + # We take the module "spirit" from boost 1.55 and use it instead of the one + # that is provided by boost 1.56+ because hugin doesn't compile with the + # latter. This is no proper fix for the problem but it works for now. + mkdir -p src/boost + cp -r "${srcdir}/boost_1_55_0/boost/spirit" src/boost/ + + # Fix compiling against lensfun-0.3.0 + sed '/LF_DIST_MODEL_FOV1/d' -i src/hugin_base/lensdb/LensDB.cpp +} + +build() { + cd "${srcdir}/${pkgname}-${pkgver/rc?}" + cmake . \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DENABLE_LAPACK=yes \ + + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver/rc?}" + make DESTDIR="${pkgdir}" install +} Copied: hugin/repos/staging-i686/install (from rev 237858, hugin/trunk/install) =================================================================== --- staging-i686/install (rev 0) +++ staging-i686/install 2015-04-21 08:00:16 UTC (rev 237859) @@ -0,0 +1,13 @@ +post_upgrade() { + gtk-update-icon-cache -q -t -f usr/share/icons/gnome + update-desktop-database -q + update-mime-database usr/share/mime > /dev/null +} + +post_install() { + post_upgrade +} + +post_remove() { + post_upgrade +} Copied: hugin/repos/staging-x86_64/PKGBUILD (from rev 237858, hugin/trunk/PKGBUILD) =================================================================== --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2015-04-21 08:00:16 UTC (rev 237859) @@ -0,0 +1,50 @@ +# $Id$ +# Maintainer: Gaetan Bisson <bis...@archlinux.org> +# Contributor: Tobias Kieslich <tob...@archlinux.org> +# Contributor: Giovanni Scafora <giova...@archlinux.org> +# Contributor: Dominik Ryba <domr...@post.pl> + +pkgname=hugin +pkgver=2014.0.0 +pkgrel=6 +pkgdesc='Panorama photo stitcher' +url='http://hugin.sourceforge.net/' +license=('GPL') +arch=('i686' 'x86_64') +makedepends=('cmake' 'boost' 'tclap' 'mesa' 'swig') +depends=('wxgtk' 'boost-libs' 'enblend-enfuse' 'exiv2' 'libpano13' 'python' + 'lensfun' 'lapack' 'make' 'perl-image-exiftool' 'desktop-file-utils') +source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgname}-${pkgver%.*}/${pkgname}-${pkgver/r/_r}.tar.bz2" + "http://downloads.sourceforge.net/boost/boost_1_55_0.tar.bz2") +sha1sums=('7b4ae181f664b9e0a68f55f298cdaa210fa09aa9' + 'cef9a0cc7084b1d639e06cd3bc34e4251524c840') + +install=install + +prepare() { + cd "${srcdir}/${pkgname}-${pkgver/rc?}" + + # We take the module "spirit" from boost 1.55 and use it instead of the one + # that is provided by boost 1.56+ because hugin doesn't compile with the + # latter. This is no proper fix for the problem but it works for now. + mkdir -p src/boost + cp -r "${srcdir}/boost_1_55_0/boost/spirit" src/boost/ + + # Fix compiling against lensfun-0.3.0 + sed '/LF_DIST_MODEL_FOV1/d' -i src/hugin_base/lensdb/LensDB.cpp +} + +build() { + cd "${srcdir}/${pkgname}-${pkgver/rc?}" + cmake . \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DENABLE_LAPACK=yes \ + + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver/rc?}" + make DESTDIR="${pkgdir}" install +} Copied: hugin/repos/staging-x86_64/install (from rev 237858, hugin/trunk/install) =================================================================== --- staging-x86_64/install (rev 0) +++ staging-x86_64/install 2015-04-21 08:00:16 UTC (rev 237859) @@ -0,0 +1,13 @@ +post_upgrade() { + gtk-update-icon-cache -q -t -f usr/share/icons/gnome + update-desktop-database -q + update-mime-database usr/share/mime > /dev/null +} + +post_install() { + post_upgrade +} + +post_remove() { + post_upgrade +}