diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/ebml | |
Diffstat (limited to 'vcpkg/ports/ebml')
| -rw-r--r-- | vcpkg/ports/ebml/portfile.cmake | 23 | ||||
| -rw-r--r-- | vcpkg/ports/ebml/vcpkg.json | 17 |
2 files changed, 40 insertions, 0 deletions
diff --git a/vcpkg/ports/ebml/portfile.cmake b/vcpkg/ports/ebml/portfile.cmake new file mode 100644 index 0000000..d3474e3 --- /dev/null +++ b/vcpkg/ports/ebml/portfile.cmake @@ -0,0 +1,23 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO Matroska-Org/libebml + REF "release-${VERSION}" + SHA512 284da9b7a1415585bbcfffc87101c63f1dd242bb09d88a731597127732a2f8064fd35e0a718fdcde464714b71e3f7dcc8285f291889629aba6997c38e0575dfb + HEAD_REF master +) + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" +) + +vcpkg_cmake_install() + +vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/EBML) + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") + +# Handle copyright +file(INSTALL "${SOURCE_PATH}/LICENSE.LGPL" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) + +vcpkg_copy_pdbs() +vcpkg_fixup_pkgconfig() diff --git a/vcpkg/ports/ebml/vcpkg.json b/vcpkg/ports/ebml/vcpkg.json new file mode 100644 index 0000000..2213414 --- /dev/null +++ b/vcpkg/ports/ebml/vcpkg.json @@ -0,0 +1,17 @@ +{ + "name": "ebml", + "version": "1.4.5", + "port-version": 1, + "description": "A C++ library to parse EBML files", + "homepage": "https://github.com/Matroska-Org/libebml", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} |