mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-14 12:28:14 +08:00
[faudio] new port (#37157)
This commit is contained in:
parent
6126c983b9
commit
82185909a4
33
ports/faudio/portfile.cmake
Normal file
33
ports/faudio/portfile.cmake
Normal file
@ -0,0 +1,33 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO FNA-XNA/faudio
|
||||
REF cfdc4db21a9c7d21a9132da5b213248a823fbe05 # This is 24.03 with 3 patches to fix minor build failures by @rkitover and @dg0yt
|
||||
SHA512 9f7ee882e9aa7cf80d976e2c016aa085222d21da2b0fac0e59f5a713e3a3dd41deb2dfc1a4698a3eff0b46bb122eca874fbd5b2747c243c53118bae3c5af9ef9
|
||||
HEAD_REF master
|
||||
PATCHES
|
||||
)
|
||||
|
||||
set(options "")
|
||||
if(VCPKG_TARGET_IS_WINDOWS)
|
||||
list(APPEND options -DPLATFORM_WIN32=TRUE)
|
||||
endif()
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
${options}
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
vcpkg_copy_pdbs()
|
||||
vcpkg_fixup_pkgconfig()
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" "${CURRENT_PACKAGES_DIR}/debug/share")
|
||||
|
||||
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/FAudio)
|
||||
|
||||
vcpkg_install_copyright(
|
||||
COMMENT "FAudio is licensed under the Zlib license."
|
||||
FILE_LIST
|
||||
"${SOURCE_PATH}/LICENSE"
|
||||
)
|
23
ports/faudio/vcpkg.json
Normal file
23
ports/faudio/vcpkg.json
Normal file
@ -0,0 +1,23 @@
|
||||
{
|
||||
"name": "faudio",
|
||||
"version-string": "24.03",
|
||||
"description": "FAudio - accuracy-focused XAudio reimplementation for open platforms",
|
||||
"homepage": "https://fna-xna.github.io/",
|
||||
"license": "Zlib",
|
||||
"supports": "!uwp",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "sdl2",
|
||||
"default-features": false,
|
||||
"platform": "!windows"
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
@ -2620,6 +2620,10 @@
|
||||
"baseline": "2.7.0",
|
||||
"port-version": 5
|
||||
},
|
||||
"faudio": {
|
||||
"baseline": "24.03",
|
||||
"port-version": 0
|
||||
},
|
||||
"fawdlstty-libfv": {
|
||||
"baseline": "0.0.8",
|
||||
"port-version": 0
|
||||
|
9
versions/f-/faudio.json
Normal file
9
versions/f-/faudio.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "214eea54c0348aa357a862b591d0872575e2ff0e",
|
||||
"version-string": "24.03",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user