mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-01 01:09:00 +08:00
[opencolorio] Install OpenColorIOConfig.cmake and change version scheme to semver (#15764)
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
This commit is contained in:
parent
4ed2cfd1a3
commit
e9650349fb
@ -4194,7 +4194,7 @@
|
||||
},
|
||||
"opencolorio": {
|
||||
"baseline": "1.1.1",
|
||||
"port-version": 4
|
||||
"port-version": 5
|
||||
},
|
||||
"opencolorio-tools": {
|
||||
"baseline": "1.1.1",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "c011ef89b247b0bc54a08016fe23793defd398a5",
|
||||
"version-semver": "1.1.1",
|
||||
"port-version": 5
|
||||
},
|
||||
{
|
||||
"git-tree": "6f60ef16979a651554f0b59663f4180229b5c662",
|
||||
"version-string": "1.1.1",
|
||||
|
@ -1,6 +0,0 @@
|
||||
Source: opencolorio
|
||||
Version: 1.1.1
|
||||
Port-Version: 4
|
||||
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]
|
@ -51,14 +51,23 @@ vcpkg_fixup_cmake_targets(CONFIG_PATH "cmake")
|
||||
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
# Clean redundant files
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
|
||||
file(READ "${CURRENT_PACKAGES_DIR}/OpenColorIOConfig.cmake" _contents)
|
||||
string(REPLACE
|
||||
[=[get_filename_component(OpenColorIO_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)]=]
|
||||
[=[get_filename_component(OpenColorIO_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
||||
get_filename_component(OpenColorIO_DIR "${OpenColorIO_DIR}" PATH)
|
||||
get_filename_component(OpenColorIO_DIR "${OpenColorIO_DIR}" PATH)]=]
|
||||
_contents
|
||||
"${_contents}")
|
||||
string(REPLACE "/cmake/OpenColorIO.cmake" "/share/opencolorio/OpenColorIO.cmake" _contents "${_contents}")
|
||||
file(WRITE "${CURRENT_PACKAGES_DIR}/share/opencolorio/OpenColorIOConfig.cmake" "${_contents}")
|
||||
|
||||
# CMake Configs leftovers
|
||||
file(REMOVE
|
||||
${CURRENT_PACKAGES_DIR}/OpenColorIOConfig.cmake
|
||||
# Clean redundant files
|
||||
file(REMOVE_RECURSE
|
||||
${CURRENT_PACKAGES_DIR}/debug/include
|
||||
${CURRENT_PACKAGES_DIR}/debug/share
|
||||
${CURRENT_PACKAGES_DIR}/debug/OpenColorIOConfig.cmake
|
||||
${CURRENT_PACKAGES_DIR}/OpenColorIOConfig.cmake
|
||||
)
|
||||
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
29
ports/opencolorio/vcpkg.json
Normal file
29
ports/opencolorio/vcpkg.json
Normal file
@ -0,0 +1,29 @@
|
||||
{
|
||||
"name": "opencolorio",
|
||||
"version-semver": "1.1.1",
|
||||
"port-version": 5,
|
||||
"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.",
|
||||
"homepage": "https://opencolorio.org/",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "freeglut",
|
||||
"default-features": false
|
||||
},
|
||||
{
|
||||
"name": "glew",
|
||||
"default-features": false
|
||||
},
|
||||
{
|
||||
"name": "lcms",
|
||||
"default-features": false
|
||||
},
|
||||
{
|
||||
"name": "tinyxml",
|
||||
"default-features": false
|
||||
},
|
||||
{
|
||||
"name": "yaml-cpp",
|
||||
"default-features": false
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user