diff options
Diffstat (limited to 'community/luminancehdr/PKGBUILD')
-rw-r--r-- | community/luminancehdr/PKGBUILD | 29 |
1 files changed, 10 insertions, 19 deletions
diff --git a/community/luminancehdr/PKGBUILD b/community/luminancehdr/PKGBUILD index d37734038..9e531e8d2 100644 --- a/community/luminancehdr/PKGBUILD +++ b/community/luminancehdr/PKGBUILD @@ -1,42 +1,33 @@ -# $Id: PKGBUILD 63654 2012-02-05 12:03:48Z ibiru $ +# $Id: PKGBUILD 68166 2012-03-18 20:30:56Z jlichtblau $ # Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> # Contributor: Lukas Jirkovsky <l.jirkovsky@gmail.com> # Contributor: Dmitry N. Shilov <stormblast@land.ru> pkgname=luminancehdr -pkgver=2.1.0 -pkgrel=7 +pkgver=2.2.1 +pkgrel=1 pkgdesc='Open source graphical user interface application that aims to provide a workflow for HDR imaging' arch=('i686' 'x86_64') url='http://qtpfsgui.sourceforge.net/' license=('GPL') depends=('exiv2' 'fftw' 'gsl' 'libraw' 'openexr' 'qt' 'qtwebkit') +makedepends=('cmake') optdepends=('hugin: align image stack functionality') install=$pkgname.install changelog=$pkgname.changelog options=('!emptydirs') -source=(http://downloads.sourceforge.net/qtpfsgui/luminance-hdr-${pkgver}.tar.gz - luminance-hdr-2.1.0-libraw.patch) -sha256sums=('0b0f124ada6da62c379d6e4bd6fd150643115cb46f05c527c29113f475a5eeac' - 'd3be7458713693382b64a6a1fa766c14bc16be2ff9c5a06567c0e5335581151c') +source=(http://downloads.sourceforge.net/qtpfsgui/luminance-hdr-v${pkgver}.tar.gz) +sha256sums=('a8d781ca7a07737dfb1fe00702f948ecd044be6b8405a23d9e18fe46b27036f1') build() { - cd "${srcdir}/luminance-hdr-${pkgver}" + cd "${srcdir}/luminance-hdr-v${pkgver}" - # stolen from gentoo - patch -Np1 -i ../luminance-hdr-2.1.0-libraw.patch - - if [ ${CARCH} = i686 ]; then - sed -i 's/ -msse2//' project.pro - fi - - lrelease project.pro - qmake PREFIX=/usr + cmake -DCMAKE_INSTALL_PREFIX=/usr make } package() { - cd "${srcdir}/luminance-hdr-${pkgver}" + cd "${srcdir}/luminance-hdr-v${pkgver}" - make INSTALL_ROOT="${pkgdir}" install + make DESTDIR="${pkgdir}" install } |