[imath] Add new port (#20968)

* Add new port imath 3.1.3

* Update CI baseline

* Fix file name casing

* Update git-tree hash

Co-authored-by: chausner <chausner@users.noreply.github.com>
This commit is contained in:
chausner 2021-10-28 08:01:45 +02:00 committed by GitHub
parent f2608141c5
commit f1f7f13ca7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 52 additions and 0 deletions

View File

@ -0,0 +1,23 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO AcademySoftwareFoundation/Imath
REF v3.1.3
SHA512 a11f5e736bc49098d735c7903f186c15b03efbec082a8cf2e6635546368035cec0d36c7ae64bfd01bd8eeffb2dd247b8dab19e440a3e1fe33008edacc1268f75
HEAD_REF master
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DIMATH_INSTALL_SYM_LINK=OFF
-DBUILD_TESTING=OFF
)
vcpkg_cmake_install()
vcpkg_copy_pdbs()
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/Imath)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(INSTALL "${SOURCE_PATH}/LICENSE.md" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)

16
ports/imath/vcpkg.json Normal file
View File

@ -0,0 +1,16 @@
{
"name": "imath",
"version": "3.1.3",
"description": "Imath is a C++ and Python library of 2D and 3D vector, matrix, and math operations for computer graphics.",
"homepage": "https://github.com/AcademySoftwareFoundation/Imath",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@ -2808,6 +2808,10 @@
"baseline": "2.3.0",
"port-version": 1
},
"imath": {
"baseline": "3.1.3",
"port-version": 0
},
"imgui": {
"baseline": "1.85",
"port-version": 0

9
versions/i-/imath.json Normal file
View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "a244498f54d1b743d54d9d4a89d5ea556346a22e",
"version": "3.1.3",
"port-version": 0
}
]
}