blob: 1eeeaea76320858a6b32d044bdf4c88014f80141 (
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
|
# Description: Computer vision library
# URL: https://ukoethe.github.io/vigra/
# Maintainer: Erich Eckner, crux at eckner dot net
# Depends on: openexr zlib libpng libjpeg-turbo libtiff
name=vigra
version=1.11.1
release=3
source=("https://github.com/ukoethe/${name}/releases/download/Version-${version//./-}/${name}-${version}-src.tar.gz" vigra-openexr3.patch)
build() {
cd "${SRC}"/${name}-${version}
patch -p1 -i ../vigra-openexr3.patch
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DPYTHON_EXECUTABLE=/usr/bin/python \
-DWITH_OPENEXR=true \
-DWITH_VIGRANUMPY=1 \
-DDOCINSTALL=share/doc
make
make DESTDIR="${PKG}" install
rm -rf "${PKG}/usr/share/doc"
rmdir "${PKG}/usr/share"
}
|