community/openimageio to 1.8.17-4

This commit is contained in:
Kevin Mihelich 2019-03-19 18:34:42 +00:00
parent b4c1b31ed8
commit 4d2a21cd75

View file

@ -6,7 +6,7 @@
pkgname=openimageio
pkgver=1.8.17
pkgrel=3
pkgrel=4
pkgdesc="A library for reading and writing images, including classes, utilities, and applications"
arch=(x86_64)
url="http://www.openimageio.org/"
@ -28,11 +28,11 @@ build() {
[[ $CARCH == "arm" || $CARCH == "armv6h" ]] && LDFLAGS="-latomic $LDFLAGS"
cmake .. \
-DUSE_PYTHON3=ON \
-DUSE_PYTHON=ON \
-DPYTHON_VERSION=3.7 \
-DUSE_OPENSSL=ON \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DPYLIB3_INSTALL_DIR=lib/python3.7/site-packages \
-DOIIO_BUILD_TESTS=ON \
-DOIIO_BUILD_TOOLS=ON \
-DSTOP_ON_WARNING=OFF
@ -44,7 +44,5 @@ package() {
make DESTDIR="$pkgdir" install
# license
cd ..
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -Dm644 ../LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}