Merge pull request #2139 from pullmoll/oiio

openimageio: unbreak musl
This commit is contained in:
Juan RP 2015-07-31 07:42:11 +02:00
commit 45b8a0f037
1 changed files with 4 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'openimageio'
pkgname=openimageio
version=1.5.17
revision=1
revision=2
wrksrc=oiio-Release-${version}
build_style=cmake
configure_args="-DUSE_OPENGL=0 -DUSE_QT=0 -DUSE_PYTHON=0 -DOIIO_BUILD_TESTS=0"
@ -20,6 +20,9 @@ distfiles="https://github.com/OpenImageIO/oiio/archive/Release-${version}.tar.gz
checksum=497c60bba9525b913935f0af771126338f07c2f78bd84e96fd19df38b6574706
nocross=yes # -> ilmbase
pre_build() {
find ${wrksrc} -type f -exec sed -i "{}" -e "s;<sys/poll\.h>;<poll.h>;g" \;
}
openimageio-devel_package() {
depends="${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"