aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
Diffstat (limited to 'testing')
-rw-r--r--testing/opencolorio/APKBUILD11
1 files changed, 9 insertions, 2 deletions
diff --git a/testing/opencolorio/APKBUILD b/testing/opencolorio/APKBUILD
index fa2187a59f..9a8e43e643 100644
--- a/testing/opencolorio/APKBUILD
+++ b/testing/opencolorio/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Mark Riedesel <mark@klowner.com>
pkgname=opencolorio
pkgver=1.0.9
-pkgrel=0
+pkgrel=1
pkgdesc="A color management framework for visual effects and animation"
url="http://opencolorio.org"
arch="all"
@@ -17,11 +17,17 @@ source="$pkgname-$pkgver.tar.gz::http://github.com/imageworks/OpenColorIO/archiv
builddir="$srcdir/OpenColorIO-$pkgver"
build() {
+ local pyver use_sse2
cd "$builddir"
- # Just to be sure we're using alpine dev packages
+ # Just to be sure we're using Alpine packages.
rm -f ext/lcms* ext/tinyxml* ext/yaml*
+ case "$CARCH" in
+ x86_64) use_sse2=TRUE ;;
+ *) use_sse2=FALSE ;;
+ esac
+
local pyver
for pyver in python3 python2; do
mkdir build-$pyver && cd build-$pyver
@@ -32,6 +38,7 @@ build() {
-DOCIO_BUILD_NUKE=OFF \
-DOCIO_BUILD_SHARED=ON \
-DOCIO_BUILD_STATIC=OFF \
+ -DOCIO_USE_SSE="$use_sse2" \
-DPYTHON=/usr/bin/$pyver \
-DUSE_EXTERNAL_YAML=TRUE \
-DUSE_EXTERNAL_TINYXML=TRUE \