summaryrefslogtreecommitdiff
path: root/community/luminancehdr/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-03-20 00:01:23 +0000
committerroot <root@rshg054.dnsready.net>2012-03-20 00:01:23 +0000
commit99136e3a2e9f6f07a7ff08d5721bce354b853c8b (patch)
tree3cd677128a00bc9501f93e27e53ebba72f44cd52 /community/luminancehdr/PKGBUILD
parentde5b6982e42f4a1e8b0537cfbc1b676e2a81f195 (diff)
Tue Mar 20 00:01:23 UTC 2012
Diffstat (limited to 'community/luminancehdr/PKGBUILD')
-rw-r--r--community/luminancehdr/PKGBUILD29
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
}