mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 18:31:15 +08:00
[libnice-gst] meson dep & copy pdb only if it exists (#37251)
This commit is contained in:
parent
908701aea9
commit
363e5e8cc1
@ -64,10 +64,11 @@ if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
|
||||
file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/debug/plugins/gstreamer")
|
||||
file(RENAME "${CURRENT_PACKAGES_DIR}/debug/lib/gstreamer-1.0/${CMAKE_SHARED_LIBRARY_PREFIX}gstnice${CMAKE_SHARED_LIBRARY_SUFFIX}"
|
||||
"${CURRENT_PACKAGES_DIR}/debug/plugins/gstreamer/${CMAKE_SHARED_LIBRARY_PREFIX}gstnice${CMAKE_SHARED_LIBRARY_SUFFIX}")
|
||||
if(VCPKG_TARGET_IS_WINDOWS)
|
||||
if(VCPKG_TARGET_IS_WINDOWS AND EXISTS "${CURRENT_PACKAGES_DIR}/debug/lib/gstreamer-1.0/gstnice.pdb")
|
||||
file(RENAME "${CURRENT_PACKAGES_DIR}/debug/lib/gstreamer-1.0/gstnice.pdb"
|
||||
"${CURRENT_PACKAGES_DIR}/debug/plugins/gstreamer/gstnice.pdb")
|
||||
else()
|
||||
endif()
|
||||
if(NOT VCPKG_TARGET_IS_WINDOWS)
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/lib")
|
||||
endif()
|
||||
|
||||
@ -77,10 +78,11 @@ if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
|
||||
file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/plugins/gstreamer")
|
||||
file(RENAME "${CURRENT_PACKAGES_DIR}/lib/gstreamer-1.0/${CMAKE_SHARED_LIBRARY_PREFIX}gstnice${CMAKE_SHARED_LIBRARY_SUFFIX}"
|
||||
"${CURRENT_PACKAGES_DIR}/plugins/gstreamer/${CMAKE_SHARED_LIBRARY_PREFIX}gstnice${CMAKE_SHARED_LIBRARY_SUFFIX}")
|
||||
if(VCPKG_TARGET_IS_WINDOWS)
|
||||
if(VCPKG_TARGET_IS_WINDOWS AND EXISTS "${CURRENT_PACKAGES_DIR}/lib/gstreamer-1.0/gstnice.pdb")
|
||||
file(RENAME "${CURRENT_PACKAGES_DIR}/lib/gstreamer-1.0/gstnice.pdb"
|
||||
"${CURRENT_PACKAGES_DIR}/plugins/gstreamer/gstnice.pdb")
|
||||
else()
|
||||
endif()
|
||||
if(NOT VCPKG_TARGET_IS_WINDOWS)
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib")
|
||||
endif()
|
||||
|
||||
|
@ -1,13 +1,17 @@
|
||||
{
|
||||
"name": "libnice-gst",
|
||||
"version": "0.1.21",
|
||||
"port-version": 3,
|
||||
"port-version": 4,
|
||||
"description": "Gstreamer Libnice plugins.",
|
||||
"homepage": "https://nice.freedesktop.org",
|
||||
"license": "LGPL-2.1-only AND MPL-1.1",
|
||||
"supports": "!xbox",
|
||||
"dependencies": [
|
||||
"gstreamer",
|
||||
"libnice"
|
||||
"libnice",
|
||||
{
|
||||
"name": "vcpkg-tool-meson",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -4658,7 +4658,7 @@
|
||||
},
|
||||
"libnice-gst": {
|
||||
"baseline": "0.1.21",
|
||||
"port-version": 3
|
||||
"port-version": 4
|
||||
},
|
||||
"libnick": {
|
||||
"baseline": "2024.3.0",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "3717f8377e0dbac46191136366973c45a623850f",
|
||||
"version": "0.1.21",
|
||||
"port-version": 4
|
||||
},
|
||||
{
|
||||
"git-tree": "0454363efa550f5437e9bafac810b425ad2cef12",
|
||||
"version": "0.1.21",
|
||||
|
Loading…
x
Reference in New Issue
Block a user