[pipewire] no absolute paths (#25841)

This commit is contained in:
autoantwort 2022-07-19 18:56:27 +02:00 committed by GitHub
parent 678c0ea99b
commit c81b29af96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 17 additions and 1 deletions

View File

@ -81,3 +81,13 @@ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static") if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin") file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
endif() 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" "")

View File

@ -1,6 +1,7 @@
{ {
"name": "pipewire", "name": "pipewire",
"version": "0.3.52", "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.", "description": "Low-latency audio/video router and processor. This port only builds the client library, not the server.",
"homepage": "https://pipewire.org", "homepage": "https://pipewire.org",
"license": "MIT", "license": "MIT",

View File

@ -5494,7 +5494,7 @@
}, },
"pipewire": { "pipewire": {
"baseline": "0.3.52", "baseline": "0.3.52",
"port-version": 0 "port-version": 1
}, },
"pistache": { "pistache": {
"baseline": "2021-03-31", "baseline": "2021-03-31",

View File

@ -1,5 +1,10 @@
{ {
"versions": [ "versions": [
{
"git-tree": "c3fc407ec59160e15daff40a26eb60515840763e",
"version": "0.3.52",
"port-version": 1
},
{ {
"git-tree": "4ec746fd8458f073339bf953335742b2abb0ac53", "git-tree": "4ec746fd8458f073339bf953335742b2abb0ac53",
"version": "0.3.52", "version": "0.3.52",