From cd57f6b253134d4cd61eb71ddb627ac07894be54 Mon Sep 17 00:00:00 2001 From: lemmi Date: Fri, 22 Jun 2018 18:24:20 +0200 Subject: [PATCH] opencolorio: update to 1.1.0 --- .../opencolorio/patches/disable_werror.patch | 30 +++++++++++++++++++ srcpkgs/opencolorio/template | 8 ++--- 2 files changed, 34 insertions(+), 4 deletions(-) create mode 100644 srcpkgs/opencolorio/patches/disable_werror.patch diff --git a/srcpkgs/opencolorio/patches/disable_werror.patch b/srcpkgs/opencolorio/patches/disable_werror.patch new file mode 100644 index 00000000000..ca802c1e5af --- /dev/null +++ b/srcpkgs/opencolorio/patches/disable_werror.patch @@ -0,0 +1,30 @@ +diff --git src/core/CMakeLists.txt src/core/CMakeLists.txt +index 1eb691b..cff9bd8 100644 +--- src/core/CMakeLists.txt ++++ src/core/CMakeLists.txt +@@ -23,8 +23,6 @@ if(WIN32) + if("${CMAKE_BUILD_TYPE}" STREQUAL "Release") + set(EXTERNAL_COMPILE_FLAGS "${EXTERNAL_COMPILE_FLAGS} /WX") + endif() +-else() +- set(EXTERNAL_COMPILE_FLAGS "${EXTERNAL_COMPILE_FLAGS} -Werror") + endif() + + # SHARED +diff --git src/pyglue/CMakeLists.txt src/pyglue/CMakeLists.txt +index a90ca1c..b1f0361 100644 +--- src/pyglue/CMakeLists.txt ++++ src/pyglue/CMakeLists.txt +@@ -20,12 +20,6 @@ if(WIN32) + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4275") + endif() + +-# Process all warnings as errors +-# Unfortunately Windows still has a warning +-if(UNIX) +- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror") +-endif() +- + find_package(PythonLibs) + if(NOT PYTHONLIBS_FOUND) + message(FATAL "Python libraries were not found, exiting.") diff --git a/srcpkgs/opencolorio/template b/srcpkgs/opencolorio/template index f27d0a611eb..a4f959783dd 100644 --- a/srcpkgs/opencolorio/template +++ b/srcpkgs/opencolorio/template @@ -1,6 +1,6 @@ # Template file for 'opencolorio' pkgname=opencolorio -version=1.0.9 +version=1.1.0 revision=1 wrksrc=OpenColorIO-${version} build_style=cmake @@ -9,14 +9,15 @@ case "$XBPS_TARGET_MACHINE" in i686*|x86_64*) ;; *) configure_args+=" -DOCIO_USE_SSE=OFF" ;; esac -hostmakedepends="pkg-config" +hostmakedepends="pkg-config git" makedepends="tinyxml-devel lcms2-devel" short_desc="A complete color management solution" maintainer="lemmi " license="openimageio" homepage="http://opencolorio.org" +changelog="https://raw.githubusercontent.com/imageworks/OpenColorIO/master/ChangeLog" distfiles="https://github.com/imageworks/OpenColorIO/archive/v${version}.tar.gz" -checksum=27c81e691c15753cd2b560c2ca4bd5679a60c2350eedd43c99d44ca25d65ea7f +checksum=228589879e1f11e455a555304007748a8904057088319ebbf172d9384b93c079 post_install() { vlicense LICENSE @@ -29,6 +30,5 @@ opencolorio-devel_package() { vmove usr/lib/pkgconfig vmove usr/include vmove "usr/lib/*.so" - vmove "usr/lib/*.a" } }