Merge pull request #5472 from lemmi/openimageio
openimageio: update to 1.7.10.
This commit is contained in:
commit
1b1409d006
|
@ -1,10 +1,11 @@
|
||||||
# Template file for 'openimageio'
|
# Template file for 'openimageio'
|
||||||
pkgname=openimageio
|
pkgname=openimageio
|
||||||
version=1.7.9
|
version=1.7.10
|
||||||
revision=2
|
revision=1
|
||||||
wrksrc=oiio-Release-${version}
|
wrksrc=oiio-Release-${version}
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-DUSE_OPENGL=0 -DUSE_QT=0 -DUSE_PYTHON=0 -DOIIO_BUILD_TESTS=0"
|
configure_args="-DUSE_OPENGL=0 -DUSE_QT=0 -DUSE_PYTHON=0 -DOIIO_BUILD_TESTS=0
|
||||||
|
-DCMAKE_SYSTEM_PROCESSOR=${XBPS_TARGET_MACHINE}"
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
i686*|x86_64*) configure_args+=" -DUSE_SIMD=sse2" ;;
|
i686*|x86_64*) configure_args+=" -DUSE_SIMD=sse2" ;;
|
||||||
esac
|
esac
|
||||||
|
@ -17,10 +18,11 @@ maintainer="lemmi <lemmi@nerd2nerd.org>"
|
||||||
license="BSD"
|
license="BSD"
|
||||||
homepage="https://sites.google.com/site/openimageio/home"
|
homepage="https://sites.google.com/site/openimageio/home"
|
||||||
distfiles="https://github.com/OpenImageIO/oiio/archive/Release-${version}.tar.gz"
|
distfiles="https://github.com/OpenImageIO/oiio/archive/Release-${version}.tar.gz"
|
||||||
checksum=c186f5662b6c1e75c89ae7d97e91b342adc8dfaf694402f9954f7f288e79457e
|
checksum=ec5c567b6b4078d17df22262b764ebb7c09ce5b69f0bc2095b51e56c7070f5b7
|
||||||
nocross=yes # -> ilmbase
|
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
|
# Replace -isystem with -I to avoid "#include_next <stdlib.h>" file not found
|
||||||
|
sed -i CMakeLists.txt -e "s;-isystem;-I;g"
|
||||||
find ${wrksrc} -type f -exec sed -i "{}" -e "s;<sys/poll\.h>;<poll.h>;g" \;
|
find ${wrksrc} -type f -exec sed -i "{}" -e "s;<sys/poll\.h>;<poll.h>;g" \;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue