diff options
| author | Phoebe <20694052+PhoebeHui@users.noreply.github.com> | 2020-01-23 04:03:36 +0800 |
|---|---|---|
| committer | Victor Romero <romerosanchezv@gmail.com> | 2020-01-22 12:03:36 -0800 |
| commit | 1db01a862d10fe842c2fb1e45b33bed26d88ef0c (patch) | |
| tree | 876a9ab71baf2707853cc2754ad1b02f557a1ec0 | |
| parent | 9642b948d3fea28344758b16d344d9e4b896acd0 (diff) | |
| download | vcpkg-1db01a862d10fe842c2fb1e45b33bed26d88ef0c.tar.gz vcpkg-1db01a862d10fe842c2fb1e45b33bed26d88ef0c.zip | |
[opencolorio] fix lcms dependency (#9755)
| -rw-r--r-- | ports/opencolorio/0001-lcms-dependency-search.patch | 2 | ||||
| -rw-r--r-- | ports/opencolorio/CONTROL | 2 | ||||
| -rw-r--r-- | ports/opencolorio/portfile.cmake | 6 |
3 files changed, 3 insertions, 7 deletions
diff --git a/ports/opencolorio/0001-lcms-dependency-search.patch b/ports/opencolorio/0001-lcms-dependency-search.patch index 27edc73f1..597609a6e 100644 --- a/ports/opencolorio/0001-lcms-dependency-search.patch +++ b/ports/opencolorio/0001-lcms-dependency-search.patch @@ -17,7 +17,7 @@ index d31b4e3..778b631 100644 + + find_library(LCMS_LIBRARIES + LIBRARY_NAMES -+ lcms2 ++ lcms + HINTS + ${LCMS_LIBRARY_DIRS} + ) diff --git a/ports/opencolorio/CONTROL b/ports/opencolorio/CONTROL index cd429c7c8..9d57a22e3 100644 --- a/ports/opencolorio/CONTROL +++ b/ports/opencolorio/CONTROL @@ -1,5 +1,5 @@ Source: opencolorio -Version: 1.1.1-1 +Version: 1.1.1-2 Homepage: https://opencolorio.org/ Description: OpenColorIO (OCIO) is a complete color management solution geared towards motion picture production with an emphasis on visual effects and computer animation. OCIO provides a straightforward and consistent user experience across all supporting applications while allowing for sophisticated back-end configuration options suitable for high-end production usage. OCIO is compatible with the Academy Color Encoding Specification (ACES) and is LUT-format agnostic, supporting many popular formats. Build-Depends: glew[core], freeglut[core], lcms[core], yaml-cpp[core], tinyxml[core] diff --git a/ports/opencolorio/portfile.cmake b/ports/opencolorio/portfile.cmake index d87a45987..1d9ee2d7e 100644 --- a/ports/opencolorio/portfile.cmake +++ b/ports/opencolorio/portfile.cmake @@ -1,5 +1,3 @@ -include(vcpkg_common_definitions) - if(VCPKG_LIBRARY_LINKAGE STREQUAL static) set(_BUILD_SHARED OFF) set(_BUILD_STATIC ON) @@ -95,6 +93,4 @@ file(REMOVE ${CURRENT_PACKAGES_DIR}/debug/OpenColorIOConfig.cmake ) -# Handle copyright -file(COPY ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}) -file(RENAME ${CURRENT_PACKAGES_DIR}/share/${PORT}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright) +file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) |
