2013-06-20 00:09:08 +00:00
|
|
|
# $Id$
|
2015-05-14 15:36:48 +00:00
|
|
|
# Maintainer: Jaroslav Lichtblau <svetlemodry@archlinux.org>
|
2013-06-20 00:09:08 +00:00
|
|
|
# Contributor: Lukas Jirkovsky <l.jirkovsky@gmail.com>
|
|
|
|
# Contributor: Dmitry N. Shilov <stormblast@land.ru>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - patch to remove sse and sse2 flags
|
|
|
|
|
|
|
|
pkgname=luminancehdr
|
2014-02-05 00:23:34 +00:00
|
|
|
pkgver=2.4.0
|
2015-12-10 05:04:52 +00:00
|
|
|
pkgrel=6
|
2013-06-20 00:09:08 +00:00
|
|
|
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')
|
2014-02-05 00:23:34 +00:00
|
|
|
depends=('exiv2' 'fftw' 'gsl' 'lcms2' 'libraw' 'openexr' 'qt5-webkit' 'ccfits')
|
2015-05-14 15:36:48 +00:00
|
|
|
makedepends=('cmake' 'boost' 'gtest' 'qt5-tools' 'patch')
|
2013-06-20 00:09:08 +00:00
|
|
|
optdepends=('hugin: align image stack functionality')
|
|
|
|
install=$pkgname.install
|
|
|
|
changelog=$pkgname.changelog
|
|
|
|
options=('!emptydirs')
|
2015-05-14 15:36:48 +00:00
|
|
|
source=(http://sourceforge.net/projects/qtpfsgui/files/luminance/$pkgver/luminance-hdr-$pkgver.tar.bz2
|
|
|
|
qt5_printsupport.diff
|
2013-06-20 00:09:08 +00:00
|
|
|
strip-sse.patch)
|
2014-02-05 00:23:34 +00:00
|
|
|
sha256sums=('14014eadab099944f051dd99447f6f47d455ffb0e4e0272d93a8e71fd96ad401'
|
2015-05-14 15:36:48 +00:00
|
|
|
'be2aaf8f544b086b770cec3db026e8ef7057bf3797961efeb8465197e4332c01'
|
2013-06-20 00:09:08 +00:00
|
|
|
'f74a1d27684a7a8fa3223e1bf8e04bd2158925b8f1d0b32ef167910920511974')
|
|
|
|
|
2015-05-14 15:36:48 +00:00
|
|
|
prepare() {
|
|
|
|
cd "${srcdir}"/luminance-hdr-${pkgver}
|
|
|
|
|
|
|
|
#Fix build error with Qt >= 5.3.2
|
|
|
|
patch -Np1 -i "${srcdir}"/qt5_printsupport.diff
|
2013-06-20 00:09:08 +00:00
|
|
|
|
2014-01-23 14:51:01 +00:00
|
|
|
patch -p0 -i ../strip-sse.patch
|
2015-05-14 15:36:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "${srcdir}"/luminance-hdr-${pkgver}
|
2013-06-20 00:09:08 +00:00
|
|
|
|
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=/usr
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2015-05-14 15:36:48 +00:00
|
|
|
cd "${srcdir}"/luminance-hdr-${pkgver}
|
2013-06-20 00:09:08 +00:00
|
|
|
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
}
|