aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorprspkt <prspkt@protonmail.com>2019-06-13 00:49:44 +0300
committerprspkt <prspkt@protonmail.com>2019-06-13 01:00:09 +0300
commit46ef748267a14f14f4a183e71b1b4cc381c06fd2 (patch)
treea6f9236bb0e0fdca0860175939517b49a4db66d1
parent78250fe7db11d5dc992d715700d6b979ebae598e (diff)
downloadaports-46ef748267a14f14f4a183e71b1b4cc381c06fd2.tar.bz2
aports-46ef748267a14f14f4a183e71b1b4cc381c06fd2.tar.xz
testing/opencolorio: clarify license, modernize
* Do not treat warnings as errors.
-rw-r--r--testing/opencolorio/APKBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/testing/opencolorio/APKBUILD b/testing/opencolorio/APKBUILD
index 66f2fb97a9..d85e126048 100644
--- a/testing/opencolorio/APKBUILD
+++ b/testing/opencolorio/APKBUILD
@@ -2,16 +2,15 @@
# Maintainer: Mark Riedesel <mark@klowner.com>
pkgname=opencolorio
pkgver=1.1.0
-pkgrel=0
+pkgrel=1
pkgdesc="A color management framework for visual effects and animation"
-url="http://opencolorio.org"
+url="https://opencolorio.org"
arch="all"
-license="BSD"
-depends=""
+license="BSD-3-Clause AND GPL-2.0-or-later"
makedepends="boost-dev cmake freeglut-dev glew-dev lcms2-dev python2-dev
python3-dev tinyxml-dev yaml-cpp-dev"
subpackages="py2-$pkgname:py2 py3-$pkgname:py3 $pkgname-dev $pkgname-tools"
-source="$pkgname-$pkgver.tar.gz::http://github.com/imageworks/OpenColorIO/archive/v$pkgver.tar.gz
+source="$pkgname-$pkgver.tar.gz::https://github.com/imageworks/OpenColorIO/archive/v$pkgver.tar.gz
OpenColorIO-gcc.patch
ocio-1.1.0-yamlcpp060.patch
"
@@ -44,6 +43,7 @@ build() {
-DUSE_EXTERNAL_YAML=TRUE \
-DUSE_EXTERNAL_TINYXML=TRUE \
-DUSE_EXTERNAL_LCMS=TRUE \
+ -DCMAKE_CXX_FLAGS="$CXXFLAGS -Wno-error=cast-function-type" \
|| return 1
make || return 1
cd ..