aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBe <be@mixxx.org>2021-08-05 16:26:28 -0700
committerGitHub <noreply@github.com>2021-08-05 16:26:28 -0700
commit1a51d8b043d96345851249fb8d8509f9ab3a12fe (patch)
tree03dbe754234f3a2964041def72f0ba7c61bbf18f
parent0fd101a2c5c6a5b47cef35e172be0ae32dd241d4 (diff)
downloadvcpkg-1a51d8b043d96345851249fb8d8509f9ab3a12fe.tar.gz
vcpkg-1a51d8b043d96345851249fb8d8509f9ab3a12fe.zip
[portsmf] add new port with version 236 (#18982)
-rw-r--r--ports/portsmf/portfile.cmake19
-rw-r--r--ports/portsmf/vcpkg.json18
-rw-r--r--versions/baseline.json4
-rw-r--r--versions/p-/portsmf.json9
4 files changed, 50 insertions, 0 deletions
diff --git a/ports/portsmf/portfile.cmake b/ports/portsmf/portfile.cmake
new file mode 100644
index 000000000..f16dd9eed
--- /dev/null
+++ b/ports/portsmf/portfile.cmake
@@ -0,0 +1,19 @@
+vcpkg_fail_port_install(ON_TARGET "UWP")
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO tenacityteam/portsmf
+ REF 236
+ SHA512 ede5ca770cab37822eebda7876c4fce7e786a11e15b3e173704863de97ea621b284439ebe7a14fdeadd0dc315f963c8da467ebbb7c246ebf80f5b120c35aa027
+ HEAD_REF main
+)
+
+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()
+
+file(INSTALL "${SOURCE_PATH}/license.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
diff --git a/ports/portsmf/vcpkg.json b/ports/portsmf/vcpkg.json
new file mode 100644
index 000000000..3da8c402d
--- /dev/null
+++ b/ports/portsmf/vcpkg.json
@@ -0,0 +1,18 @@
+{
+ "name": "portsmf",
+ "version": "0.236",
+ "description": "Portsmf is 'Port Standard MIDI File', a cross-platform, C++ library for reading and writing Standard MIDI Files.",
+ "homepage": "https://github.com/tenacityteam/portsmf",
+ "license": "MIT",
+ "supports": "!uwp",
+ "dependencies": [
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ }
+ ]
+}
diff --git a/versions/baseline.json b/versions/baseline.json
index 072feac14..43a09d52d 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -5036,6 +5036,10 @@
"baseline": "0.234",
"port-version": 0
},
+ "portsmf": {
+ "baseline": "0.236",
+ "port-version": 0
+ },
"ppconsul": {
"baseline": "0.5-1",
"port-version": 0
diff --git a/versions/p-/portsmf.json b/versions/p-/portsmf.json
new file mode 100644
index 000000000..a42e04f3a
--- /dev/null
+++ b/versions/p-/portsmf.json
@@ -0,0 +1,9 @@
+{
+ "versions": [
+ {
+ "git-tree": "4d9de0a9782866958a9aafdfa6cde176c0867dfc",
+ "version": "0.236",
+ "port-version": 0
+ }
+ ]
+}