early-access version 2853
This commit is contained in:
35
externals/vcpkg/ports/soundtouch/portfile.cmake
vendored
Executable file
35
externals/vcpkg/ports/soundtouch/portfile.cmake
vendored
Executable file
@@ -0,0 +1,35 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
GITHUB_HOST https://codeberg.org
|
||||
REPO soundtouch/soundtouch
|
||||
REF 2.3.1
|
||||
SHA512 c9d110b06cafb79968c94c4d206360b9ea9673d63eaf1470b097a39acf18b5b9cd53759f2656ff8963c6eee6a36fecdf1ea9aa7dc014fbf8bbee0dcfb8e4e438
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||||
FEATURES
|
||||
soundstretch SOUNDSTRETCH
|
||||
soundtouchdll SOUNDTOUCH_DLL
|
||||
)
|
||||
|
||||
if(SOUNDTOUCH_DLL)
|
||||
vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY)
|
||||
endif()
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS ${FEATURE_OPTIONS}
|
||||
)
|
||||
vcpkg_cmake_install()
|
||||
|
||||
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/SoundTouch)
|
||||
vcpkg_fixup_pkgconfig()
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
if(SOUNDSTRETCH)
|
||||
vcpkg_copy_tools(TOOL_NAMES soundstretch AUTO_CLEAN)
|
||||
endif()
|
||||
|
||||
file(INSTALL "${SOURCE_PATH}/COPYING.TXT" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
30
externals/vcpkg/ports/soundtouch/vcpkg.json
vendored
Executable file
30
externals/vcpkg/ports/soundtouch/vcpkg.json
vendored
Executable file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"name": "soundtouch",
|
||||
"version": "2.3.1",
|
||||
"port-version": 2,
|
||||
"description": "SoundTouch is an open-source audio processing library for changing the Tempo, Pitch and Playback Rates of audio streams or audio files.",
|
||||
"homepage": "https://www.surina.net/soundtouch",
|
||||
"supports": "!uwp",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "atlmfc",
|
||||
"platform": "windows"
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
],
|
||||
"features": {
|
||||
"soundstretch": {
|
||||
"description": "Build the soundstretch command line tool"
|
||||
},
|
||||
"soundtouchdll": {
|
||||
"description": "Build the SoundTouchDLL C wrapper dynamic library"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user