aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/portsmf
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/portsmf
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/portsmf')
-rw-r--r--vcpkg/ports/portsmf/portfile.cmake20
-rw-r--r--vcpkg/ports/portsmf/vcpkg.json18
2 files changed, 38 insertions, 0 deletions
diff --git a/vcpkg/ports/portsmf/portfile.cmake b/vcpkg/ports/portsmf/portfile.cmake
new file mode 100644
index 0000000..2684ee4
--- /dev/null
+++ b/vcpkg/ports/portsmf/portfile.cmake
@@ -0,0 +1,20 @@
+vcpkg_download_distfile(ARCHIVE
+ URLS "https://codeberg.org/tenacityteam/portsmf/archive/${VERSION}.tar.gz"
+ FILENAME "${VERSION}.tar.gz"
+ SHA512 522ef6e92de6497c66d6b9adf2b6b4e419024d26fac421096718b024ea0e183d322d3f0cd9fc357e0ba983371cf313d7a0b93b8b24aff5c9cb1ab61c915725ff
+)
+vcpkg_extract_source_archive(
+ SOURCE_PATH
+ ARCHIVE "${ARCHIVE}"
+
+)
+
+vcpkg_cmake_configure(SOURCE_PATH "${SOURCE_PATH}")
+vcpkg_cmake_install()
+
+vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/PortSMF)
+vcpkg_fixup_pkgconfig()
+vcpkg_copy_pdbs()
+
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/license.txt")
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
diff --git a/vcpkg/ports/portsmf/vcpkg.json b/vcpkg/ports/portsmf/vcpkg.json
new file mode 100644
index 0000000..2f96f30
--- /dev/null
+++ b/vcpkg/ports/portsmf/vcpkg.json
@@ -0,0 +1,18 @@
+{
+ "name": "portsmf",
+ "version": "239",
+ "description": "Portsmf is 'Port Standard MIDI File', a cross-platform, C++ library for reading and writing Standard MIDI Files.",
+ "homepage": "https://codeberg.org/tenacityteam/portsmf",
+ "license": "MIT",
+ "supports": "!uwp",
+ "dependencies": [
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ }
+ ]
+}