diff --git a/community/opencolorio/APKBUILD b/community/opencolorio/APKBUILD index 6a9bacc74efcc3b6325c6922892a7477be925d5d..3fd9c68942a57cf6f385a5cc96eb315e1d261212 100644 --- a/community/opencolorio/APKBUILD +++ b/community/opencolorio/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Leon Marz <main@lmarz.org> pkgname=opencolorio pkgver=2.2.1 -pkgrel=4 +pkgrel=5 pkgdesc="Color management framework for visual effects and animation" url="https://opencolorio.org/" arch="all" @@ -24,6 +24,7 @@ makedepends="cmake subpackages="py3-$pkgname:py3 $pkgname-dev $pkgname-tools" source="$pkgname-$pkgver.tar.gz::https://github.com/AcademySoftwareFoundation/OpenColorIO/archive/v$pkgver.tar.gz 0002-fix-strtol.patch + yaml-cpp-0.8.0.patch " builddir="$srcdir/OpenColorIO-$pkgver" @@ -79,4 +80,5 @@ py3() { sha512sums=" d5f3a4b5bd661af7336c015d07e0feccb286464a08239a3c259a97217001161e7571f5137475fc2f4d1b9af6381bbfa03c0b60f41de282f114307961b8d84fc9 opencolorio-2.2.1.tar.gz eb4602890ba202c20ccbf8524a0b4d4afb834330056f019f5841db2c2c5374e3c3b667a2bed6c722a2aa66da5817e49cbbbe1a75d26e869d2c17f8f09b319b25 0002-fix-strtol.patch +7b396a5155840efb745505332ff5d0bc63945a472aaa386e1e53b6bf015a20ea6fe80a4930119a98c1003b1d352aa905d5de4adc4016b37e00db7cd2d0087561 yaml-cpp-0.8.0.patch " diff --git a/community/opencolorio/yaml-cpp-0.8.0.patch b/community/opencolorio/yaml-cpp-0.8.0.patch new file mode 100644 index 0000000000000000000000000000000000000000..941ba16693a585acfb7bf6f4c20dd3cc20e5b23d --- /dev/null +++ b/community/opencolorio/yaml-cpp-0.8.0.patch @@ -0,0 +1,27 @@ +--- a/share/cmake/modules/Findyaml-cpp.cmake ++++ b/share/cmake/modules/Findyaml-cpp.cmake +@@ -39,11 +39,11 @@ + + if(NOT DEFINED yaml-cpp_ROOT) + # Search for yaml-cpp-config.cmake +- find_package(yaml-cpp ${yaml-cpp_FIND_VERSION} CONFIG QUIET) ++ find_package(yaml-cpp::yaml-cpp ${yaml-cpp_FIND_VERSION} CONFIG QUIET) + endif() + + if(yaml-cpp_FOUND) +- get_target_property(yaml-cpp_LIBRARY yaml-cpp LOCATION) ++ get_target_property(yaml-cpp_LIBRARY yaml-cpp::yaml-cpp LOCATION) + else() + + # As yaml-cpp-config.cmake search fails, search an installed library +--- a/src/cmake/Config.cmake.in ++++ b/src/cmake/Config.cmake.in +@@ -46,7 +46,7 @@ + find_dependency(pystring @pystring_VERSION@) + endif() + +- if (NOT yaml-cpp) ++ if (NOT yaml-cpp::yaml-cpp) + find_dependency(yaml-cpp @yaml-cpp_VERSION@) + endif() +