diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-12-18 21:17:06 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-12-18 21:17:06 -0300 |
commit | 02ffd41dca71e92f0105e37751e37c7332a9d447 (patch) | |
tree | 149d2e97e51dbab3f8f4dd6e4286dd5c42ba033d /community-staging/luminancehdr/PKGBUILD | |
parent | cc66c2ff866631ece4d699b041f83444988e8ad2 (diff) | |
parent | d8fd24a96ae712b2de3e9b05d937b135f41d016d (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community-staging/kadu/PKGBUILD
extra/libgsf/PKGBUILD
libre/linux-libre/PKGBUILD
staging/kdelibs/PKGBUILD
testing/glibc/PKGBUILD
Diffstat (limited to 'community-staging/luminancehdr/PKGBUILD')
-rw-r--r-- | community-staging/luminancehdr/PKGBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/community-staging/luminancehdr/PKGBUILD b/community-staging/luminancehdr/PKGBUILD new file mode 100644 index 000000000..39dc3aab9 --- /dev/null +++ b/community-staging/luminancehdr/PKGBUILD @@ -0,0 +1,42 @@ +# $Id: PKGBUILD 60739 2011-12-17 12:18:25Z andrea $ +# 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=6 +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') +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') + +build() { + cd "${srcdir}/luminance-hdr-${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 + make +} + +package() { + cd "${srcdir}/luminance-hdr-${pkgver}" + + make INSTALL_ROOT="${pkgdir}" install +} |