blob: 6ef1974b0dea14633047f2671e6b35a6565bf49a (
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
43
44
|
# Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com>
# Contributor: Brandon Andrews <bsa@bsa.isa-geek.com>
# Contributor: Mael Kerbiriou <mael.kerbiriouATfreeDOTfr>
pkgname=pfstools
pkgver=2.0.5
pkgrel=1
pkgdesc="Set of command line programs for reading, writing and manipulating high-dynamic range (HDR) images"
arch=('i686' 'x86_64')
url="http://pfstools.sourceforge.net/"
license=('LGPL2.1')
depends=('gcc-libs')
provides=('pfscalibration' 'pfstmo')
conflicts=('pfscalibration' 'pfstmo')
optdepends=('freeglut: OpenGL image viewer' 'glu: OpenGL image viewer' \
'qt4: Qt GUI' 'opencv: pfsalign' \
'openexr: OpenEXR support' 'imagemagick: ImageMagick support' \
'netpbm: PBM support' 'dcraw: RAW support' \
'gsl: mantiuk08 tone mapping operator' \
'fftw: durand02 tone mapping operator')
makedepends=('cmake' 'openexr' 'imagemagick' 'libtiff' 'freeglut' 'glu' 'netpbm' 'qt4')
options=(!libtool)
source=(http://downloads.sourceforge.net/pfstools/$pkgname-$pkgver.tgz)
md5sums=('3ebe0b0bc1e8e6d412374bcb9f695c3c')
build() {
cd "$srcdir"/$pkgname-$pkgver
mkdir -p build
cd build
cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DWITH_Octave=OFF # disable octave, as it breaks build
make
}
package() {
cd "$srcdir"/$pkgname-$pkgver/build
make DESTDIR="$pkgdir/" install
cd "$pkgdir"/usr/bin
chmod 755 *
}
|