mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-06-07 18:30:11 +08:00
[pipewire] no absolute paths (#25841)
This commit is contained in:
parent
678c0ea99b
commit
c81b29af96
@ -81,3 +81,13 @@ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
|
||||
endif()
|
||||
|
||||
# remove absolute paths
|
||||
file(GLOB config_files "${CURRENT_PACKAGES_DIR}/share/${PORT}/*.conf")
|
||||
foreach(file ${config_files})
|
||||
vcpkg_replace_string("${file}" "in ${CURRENT_PACKAGES_DIR}/etc/pipewire for system-wide changes\n# or" "")
|
||||
cmake_path(GET file FILENAME filename)
|
||||
vcpkg_replace_string("${file}" "# ${CURRENT_PACKAGES_DIR}/etc/pipewire/${filename}.d/ for system-wide changes or in" "")
|
||||
endforeach()
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/share/pipewire/pipewire.conf" "${CURRENT_PACKAGES_DIR}/bin" "")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/share/pipewire/minimal.conf" "${CURRENT_PACKAGES_DIR}/bin" "")
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "pipewire",
|
||||
"version": "0.3.52",
|
||||
"port-version": 1,
|
||||
"description": "Low-latency audio/video router and processor. This port only builds the client library, not the server.",
|
||||
"homepage": "https://pipewire.org",
|
||||
"license": "MIT",
|
||||
|
@ -5494,7 +5494,7 @@
|
||||
},
|
||||
"pipewire": {
|
||||
"baseline": "0.3.52",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"pistache": {
|
||||
"baseline": "2021-03-31",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "c3fc407ec59160e15daff40a26eb60515840763e",
|
||||
"version": "0.3.52",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "4ec746fd8458f073339bf953335742b2abb0ac53",
|
||||
"version": "0.3.52",
|
||||
|
Loading…
Reference in New Issue
Block a user