PKGBUILDs/community/luminancehdr/PKGBUILD

45 lines
1.3 KiB
Bash
Raw Normal View History

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
2017-04-18 21:55:24 +00:00
pkgver=2.5.0
2017-05-29 17:30:02 +00:00
pkgrel=3
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')
2017-04-18 21:55:24 +00:00
depends=('exiv2' 'fftw' 'gsl' 'lcms2' 'libraw' 'openexr' 'qt5-webengine' 'qt5-svg'
'qt5-webkit' 'ccfits' 'desktop-file-utils' 'hicolor-icon-theme')
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')
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
2013-06-20 00:09:08 +00:00
strip-sse.patch)
2017-04-18 21:55:24 +00:00
sha256sums=('f5caf3316d1763058b1b0f2a6963df34465fbf918b7abeee5245a51fc14a7942'
2013-06-20 00:09:08 +00:00
'f74a1d27684a7a8fa3223e1bf8e04bd2158925b8f1d0b32ef167910920511974')
2015-05-14 15:36:48 +00:00
prepare() {
2016-05-01 14:36:15 +00:00
cd "${srcdir}"/luminance-hdr-$pkgver
2015-05-14 15:36:48 +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() {
2016-05-01 14:36:15 +00:00
cd "${srcdir}"/luminance-hdr-$pkgver
2013-06-20 00:09:08 +00:00
cmake -DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
2016-05-01 14:36:15 +00:00
cd "${srcdir}"/luminance-hdr-$pkgver
2013-06-20 00:09:08 +00:00
make DESTDIR="${pkgdir}" install
}