opencolorio: update to 1.1.0
This commit is contained in:
parent
9345ff22db
commit
cd57f6b253
2 changed files with 34 additions and 4 deletions
30
srcpkgs/opencolorio/patches/disable_werror.patch
Normal file
30
srcpkgs/opencolorio/patches/disable_werror.patch
Normal file
|
@ -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.")
|
|
@ -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 <lemmi@nerd2nerd.org>"
|
||||
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"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue