[stftpitchshift] New port (#24529)

* Add stftpitchshift port

* Fix shared library build on Windows

* Run vcpkg x-add-version stftpitchshift

* Update version database

* Just increase the version counter to hopefully fix the vcpkg problem I simply don't understand... 😡

* Now update both sha and version...

* Update version database

* Fix version database.

* Add quotes and modernize cmake helpers.

Co-authored-by: Billy Robert O'Neal <bion@microsoft.com>
This commit is contained in:
Jürgen Hock 2022-05-05 03:33:35 +02:00 committed by GitHub
parent 4a9ce78d94
commit 86a51af126
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,19 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO jurihock/stftPitchShift
HEAD_REF main
REF e25def2f6aad9db865aded9f0550fd1c7925188f
SHA512 a7e9343ede83eb7d37a231e3db80659f8fa7c61c70811618c75a817fcc94902f5fa4582f81e4473a0e137f12c2eaf17025a057a7ef7c4b348451454e39b3fa2f
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DVCPKG=ON
)
vcpkg_cmake_install()
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/stftpitchshift" RENAME copyright)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")

View File

@ -0,0 +1,11 @@
{
"name": "stftpitchshift",
"version": "1.3.2",
"description": "STFT based multi pitch shifting with optional formant preservation.",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
}
]
}

View File

@ -6780,6 +6780,10 @@
"baseline": "2020-09-14",
"port-version": 2
},
"stftpitchshift": {
"baseline": "1.3.2",
"port-version": 0
},
"stlab": {
"baseline": "1.6.2",
"port-version": 1

View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "1f4a495416b6e2e3a830c8ba72eb5cf9034c68cc",
"version": "1.3.2",
"port-version": 0
}
]
}