aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/matroska
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/matroska
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/matroska')
-rw-r--r--vcpkg/ports/matroska/portfile.cmake23
-rw-r--r--vcpkg/ports/matroska/vcpkg.json21
2 files changed, 44 insertions, 0 deletions
diff --git a/vcpkg/ports/matroska/portfile.cmake b/vcpkg/ports/matroska/portfile.cmake
new file mode 100644
index 0000000..c726b1f
--- /dev/null
+++ b/vcpkg/ports/matroska/portfile.cmake
@@ -0,0 +1,23 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO Matroska-Org/libmatroska
+ REF release-1.7.1
+ SHA512 abb4fb4b527266944b1a59516866462498675c5e71bb679758894dff6156169d7132dddaa2e2ef6187a6dbce4a4aa377eeb75dd869268fd44933c769b34be5b9
+ HEAD_REF master
+)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+)
+
+vcpkg_cmake_install()
+
+vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/Matroska)
+
+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/matroska/vcpkg.json b/vcpkg/ports/matroska/vcpkg.json
new file mode 100644
index 0000000..69d37a2
--- /dev/null
+++ b/vcpkg/ports/matroska/vcpkg.json
@@ -0,0 +1,21 @@
+{
+ "name": "matroska",
+ "version": "1.7.1",
+ "port-version": 3,
+ "description": "a C++ library to parse Matroska files (.mkv and .mka)",
+ "homepage": "https://github.com/Matroska-Org/libmatroska",
+ "dependencies": [
+ {
+ "name": "ebml",
+ "version>=": "1.4.4"
+ },
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ }
+ ]
+}