openimageio: update to 1.8.12.

This commit is contained in:
lemmi 2018-06-22 18:24:41 +02:00
parent cd57f6b253
commit a9434be38b
2 changed files with 6 additions and 7 deletions

View File

@ -2087,8 +2087,8 @@ libgom-1.0.so.0 gom-0.3.0_1
libetpan.so.20 libetpan-1.7.2_1
libxmp.so.4 libxmp-4.3.7_1
libKF5ThreadWeaver.so.5 threadweaver-5.26.0_1
libOpenImageIO_Util.so.1.7 openimageio-1.7.7_1
libOpenImageIO.so.1.7 openimageio-1.7.7_1
libOpenImageIO_Util.so.1.8 openimageio-1.8.12_1
libOpenImageIO.so.1.8 openimageio-1.8.12_1
libOpenColorIO.so.1 opencolorio-1.0.8_1
libyaml-cpp.so.0.5 yaml-cpp-0.5.2_1
libpaper.so.1 libpaper-1.1.24_1

View File

@ -1,6 +1,6 @@
# Template file for 'openimageio'
pkgname=openimageio
version=1.7.18
version=1.8.12
revision=1
wrksrc=oiio-Release-${version}
build_style=cmake
@ -14,8 +14,9 @@ short_desc="Library for reading and writing images"
maintainer="lemmi <lemmi@nerd2nerd.org>"
license="BSD"
homepage="https://sites.google.com/site/openimageio/home"
changelog="https://raw.githubusercontent.com/OpenImageIO/oiio/release/CHANGES.md"
distfiles="https://github.com/OpenImageIO/oiio/archive/Release-${version}.tar.gz"
checksum=8ef724ebd09720bdb16d7af2df4c0fed2385d5c56d4ec56d18bb248dc1f81c1e
checksum=93e807d7c77a5c4c12598cc7932aa08239bc4198e3e31dca0998a3e0ab163386
CXXFLAGS="-faligned-new"
case "$XBPS_TARGET_MACHINE" in
@ -25,9 +26,7 @@ esac
pre_build() {
local f
# 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" \;
case "$XBPS_TARGET_MACHINE" in
armv[56]*|mips*)
# Add libatomic to the targets