Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[rubberband] Update to 3.1.1 #27114

Merged
merged 1 commit into from
Nov 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions ports/rubberband/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO breakfastquay/rubberband
REF v2.0.2
SHA512 56e33f3a6f5755242e46f9cb224e372bea7a367756f08d3322c8951a40b3907f1a2957775de6f2584a093e6adf82ca91015119650d5a624afe39086a47843ddc
REF v3.1.1
SHA512 aef4de02b6fe250ab43d627d30720dab8aea3587b428ce76fe339d0b1f0e50da6ba7fa7c76f61306704dd2cfc24241f3d4108b6c155c3d12624eac859672f86c
HEAD_REF default
)

Expand All @@ -22,22 +22,22 @@ vcpkg_fixup_pkgconfig()
vcpkg_copy_pdbs()

if(EXISTS "${CURRENT_PACKAGES_DIR}/bin/rubberband-program${VCPKG_TARGET_EXECUTABLE_SUFFIX}")
# Rubberband uses a different executable name when compiled with msvc
# Rubberband uses a different executable name when compiled with msvc
# Just looking for that file is faster than detecting msvc builds
set(RUBBERBAND_PROGRAM_NAME rubberband-program)
set(RUBBERBAND_PROGRAM_NAMES rubberband-program rubberband-program-r3)
else()
set(RUBBERBAND_PROGRAM_NAME rubberband)
endif()
set(RUBBERBAND_PROGRAM_NAMES rubberband rubberband-r3)
endif()

# Features cli and lv2 are build whenever suficient dependencies are installed,
# Remove them when not enabled.
# Remove them when not enabled.
if("cli" IN_LIST FEATURES)
vcpkg_copy_tools(TOOL_NAMES "${RUBBERBAND_PROGRAM_NAME}" AUTO_CLEAN)
vcpkg_copy_tools(TOOL_NAMES ${RUBBERBAND_PROGRAM_NAMES} AUTO_CLEAN)
else()
vcpkg_clean_executables_in_bin(FILE_NAMES "${RUBBERBAND_PROGRAM_NAME}")
vcpkg_clean_executables_in_bin(FILE_NAMES ${RUBBERBAND_PROGRAM_NAMES})
endif()

# lv2 feature is not supported yet because vcpkg can't isntall to
# lv2 feature is not supported yet because vcpkg can't isntall to
# %APPDATA%\LV2 or %COMMONPROGRAMFILES%\LV2 but also complains about dlls in "${CURRENT_PACKAGES_DIR}/lib/lv2"
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib/lv2" "${CURRENT_PACKAGES_DIR}/debug/lib/lv2")

Expand Down
2 changes: 1 addition & 1 deletion ports/rubberband/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rubberband",
"version": "2.0.2",
"version": "3.1.1",
"description": "A high quality software library for audio time-stretching and pitch-shifting.",
"homepage": "https://www.breakfastquay.com/rubberband/",
"license": "GPL-2.0-or-later",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -6565,7 +6565,7 @@
"port-version": 4
},
"rubberband": {
"baseline": "2.0.2",
"baseline": "3.1.1",
"port-version": 0
},
"rxcpp": {
Expand Down
5 changes: 5 additions & 0 deletions versions/r-/rubberband.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "ce88046ebe45fa738789a3bf6dd843392bcb6fd2",
"version": "3.1.1",
"port-version": 0
},
{
"git-tree": "75aeab834246d0e2ba7de5f07901e5d7131397f7",
"version": "2.0.2",
Expand Down