blob: b60640e55b33c60593110498e843dda0f4dac4b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# $Id: PKGBUILD 58474 2011-11-12 22:05:38Z lcarlier $
# 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=5
pkgdesc='Open source graphical user interface application that aims to provide a workflow for HDR imaging'
arch=('i686' 'x86_64' 'mips64el')
url='http://qtpfsgui.sourceforge.net/'
license=('GPL')
depends=('exiv2' 'fftw' 'gsl' 'libraw' 'openexr' 'qt')
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
}
|