From 5659b295384583c8b68ca6651155283de9d494e0 Mon Sep 17 00:00:00 2001 From: Be Date: Tue, 15 Feb 2022 12:55:02 -0600 Subject: [PATCH] [rubberband] add new port with version 2.0.2 --- ports/rubberband/portfile.cmake | 27 +++++++++++++++++++++++++++ ports/rubberband/vcpkg.json | 21 +++++++++++++++++++++ versions/baseline.json | 4 ++++ versions/r-/rubberband.json | 9 +++++++++ 4 files changed, 61 insertions(+) create mode 100644 ports/rubberband/portfile.cmake create mode 100644 ports/rubberband/vcpkg.json create mode 100644 versions/r-/rubberband.json diff --git a/ports/rubberband/portfile.cmake b/ports/rubberband/portfile.cmake new file mode 100644 index 00000000000000..ac1a47aa9cf810 --- /dev/null +++ b/ports/rubberband/portfile.cmake @@ -0,0 +1,27 @@ +vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS + FEATURES + cli CLI +) + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO breakfastquay/rubberband + REF v2.0.2 + SHA512 56e33f3a6f5755242e46f9cb224e372bea7a367756f08d3322c8951a40b3907f1a2957775de6f2584a093e6adf82ca91015119650d5a624afe39086a47843ddc + HEAD_REF default +) + +vcpkg_configure_meson(SOURCE_PATH "${SOURCE_PATH}") +vcpkg_install_meson() + +vcpkg_fixup_pkgconfig() +vcpkg_copy_pdbs() + +if(CLI) + vcpkg_copy_tools(TOOL_NAMES rubberband) +endif() + +file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin") diff --git a/ports/rubberband/vcpkg.json b/ports/rubberband/vcpkg.json new file mode 100644 index 00000000000000..6595eff1ae47bc --- /dev/null +++ b/ports/rubberband/vcpkg.json @@ -0,0 +1,21 @@ +{ + "name": "rubberband", + "version": "2.0.2", + "description": "Rubber Band Library is a high quality software library for audio time-stretching and pitch-shifting. It permits you to change the tempo and pitch of an audio stream or recording dynamically and independently of one another.", + "homepage": "http://breakfastquay.com/rubberband/", + "license": "GPL-2.0-or-later", + "features": { + "cli": { + "description": "Install CLI application", + "dependencies": [ + "libsamplerate" + ] + }, + "lv2": { + "description": "Build LV2 plugin", + "dependencies": [ + "lv2" + ] + } + } +} diff --git a/versions/baseline.json b/versions/baseline.json index 716c99c2070b4c..2fc9d4c05e0981 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -6176,6 +6176,10 @@ "baseline": "0.9.6", "port-version": 3 }, + "rubberband": { + "baseline": "2.0.2", + "port-version": 0 + }, "rxcpp": { "baseline": "4.1.0", "port-version": 2 diff --git a/versions/r-/rubberband.json b/versions/r-/rubberband.json new file mode 100644 index 00000000000000..99ccdec309eec6 --- /dev/null +++ b/versions/r-/rubberband.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "aa13b0466e86707206c28c03a7d4f1f3b7d159ce", + "version": "2.0.2", + "port-version": 0 + } + ] +}