mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-15 02:57:56 +08:00
[faad2] only support windows (#21438)
This commit is contained in:
parent
024922992e
commit
1edc79c2b2
@ -1,4 +1,3 @@
|
||||
vcpkg_fail_port_install(MESSAGE "${PORT} currently only supports Windows platform." ON_TARGET "Linux" "OSX")
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO knik0/faad2
|
||||
@ -11,23 +10,22 @@ vcpkg_from_github(
|
||||
0003-Initialize-pointers.patch # https://github.com/knik0/faad2/pull/44
|
||||
)
|
||||
|
||||
file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
|
||||
file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}")
|
||||
|
||||
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||||
FEATURES
|
||||
build-decoder FAAD_BUILD_BINARIES
|
||||
)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS ${FEATURE_OPTIONS}
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
vcpkg_cmake_install()
|
||||
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
file(INSTALL ${SOURCE_PATH}/include DESTINATION ${CURRENT_PACKAGES_DIR})
|
||||
file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
||||
file(INSTALL "${SOURCE_PATH}/include" DESTINATION "${CURRENT_PACKAGES_DIR}")
|
||||
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
|
@ -1,9 +1,16 @@
|
||||
{
|
||||
"name": "faad2",
|
||||
"version-string": "2.9.1",
|
||||
"port-version": 3,
|
||||
"version": "2.9.1",
|
||||
"port-version": 4,
|
||||
"description": "Freeware Advanced Audio (AAC) Decoder",
|
||||
"homepage": "https://sourceforge.net/projects/faac/",
|
||||
"supports": "windows",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
}
|
||||
],
|
||||
"features": {
|
||||
"build-decoder": {
|
||||
"description": "Build the embedded decoder executable"
|
||||
|
@ -271,8 +271,6 @@ enet:x64-uwp=fail
|
||||
epsilon:arm-uwp=fail
|
||||
epsilon:x64-uwp=fail
|
||||
epsilon:x64-windows-static=fail
|
||||
faad2:x64-linux=fail
|
||||
faad2:x64-osx=fail
|
||||
fann:x64-windows-static=fail
|
||||
fastrtps:arm-uwp=fail
|
||||
fastrtps:x64-uwp=fail
|
||||
|
@ -2062,7 +2062,7 @@
|
||||
},
|
||||
"faad2": {
|
||||
"baseline": "2.9.1",
|
||||
"port-version": 3
|
||||
"port-version": 4
|
||||
},
|
||||
"fadbad": {
|
||||
"baseline": "2.1.0",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "a1ec8e5247412b2ba6584c63307f88fe91d12251",
|
||||
"version": "2.9.1",
|
||||
"port-version": 4
|
||||
},
|
||||
{
|
||||
"git-tree": "b931758d2574476cbd463ac773b192746e2dc80d",
|
||||
"version-string": "2.9.1",
|
||||
|
Loading…
x
Reference in New Issue
Block a user