mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
community/openimageio to 1.8.17-4
This commit is contained in:
parent
b4c1b31ed8
commit
4d2a21cd75
1 changed files with 4 additions and 6 deletions
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue