aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/bento4
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/bento4
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/bento4')
-rw-r--r--vcpkg/ports/bento4/portfile.cmake24
-rw-r--r--vcpkg/ports/bento4/vcpkg.json17
2 files changed, 41 insertions, 0 deletions
diff --git a/vcpkg/ports/bento4/portfile.cmake b/vcpkg/ports/bento4/portfile.cmake
new file mode 100644
index 0000000..c4b6355
--- /dev/null
+++ b/vcpkg/ports/bento4/portfile.cmake
@@ -0,0 +1,24 @@
+vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO axiomatic-systems/Bento4
+ REF "v${VERSION}"
+ SHA512 ad92c561a16a830ac63b0fbff98bd14f732dd2e38416de937191b14c750e632c793e5256b92361d3ff8867f9fd1cf727756ba78cd0122af1b79d62532d2ca427
+ HEAD_REF master
+)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+ OPTIONS
+ -DBUILD_APPS=OFF
+)
+
+vcpkg_cmake_install()
+vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/bento4)
+
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
+
+vcpkg_copy_pdbs()
+
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/Documents/LICENSE.txt")
diff --git a/vcpkg/ports/bento4/vcpkg.json b/vcpkg/ports/bento4/vcpkg.json
new file mode 100644
index 0000000..6d0b6f5
--- /dev/null
+++ b/vcpkg/ports/bento4/vcpkg.json
@@ -0,0 +1,17 @@
+{
+ "name": "bento4",
+ "version": "1.6.0-641",
+ "description": "Bento4 is a C++ class library and tools designed to read and write ISO-MP4 files. This format is defined in international specifications ISO/IEC 14496-12, 14496-14 and 14496-15.",
+ "homepage": "https://github.com/axiomatic-systems/Bento4",
+ "license": null,
+ "dependencies": [
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ }
+ ]
+}