vcpkg/ports/stftpitchshift/portfile.cmake
Jürgen Hock 0e26d200d9
[stftpitchshift] Update to 1.4.1 (#24599)
* 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.

* Update stftpitchshift to v.1.4.1

* Update version database like suggested by bot

* Update ports/stftpitchshift/portfile.cmake

Funny suggestion, to use some kind of hidden ${PORT} variable just in one place and still the port name string otherwise...

Co-authored-by: Cheney Wang <38240633+Cheney-W@users.noreply.github.com>

* Update version database

* Consequently use ${PORT} everywhere...

and not just in one place like suggested by Cheney-W

* Update stftpitchshift.json

* Cheney-W: Thie sentence could be removed, PACKAGE_NAME defaults to ${PORT}.

* Update stftpitchshift.json

Co-authored-by: Billy Robert O'Neal <bion@microsoft.com>
Co-authored-by: Cheney Wang <38240633+Cheney-W@users.noreply.github.com>
2022-05-10 11:35:54 -07:00

30 lines
629 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO jurihock/stftPitchShift
HEAD_REF main
REF v1.4.1
SHA512 69e68af5baeb1bbeae440d2b2dc7a510a72b8b49cd9b23e0934eb8070d31c9a2e98759ea6d609f81caa3c57e1615cc50028dd13a9d04e82725a41da79175a868
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DVCPKG=ON
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(
CONFIG_PATH "lib/cmake/${PORT}"
)
file(
INSTALL "${SOURCE_PATH}/LICENSE"
DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}"
RENAME copyright
)
file(
REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include"
)