diff --git a/ports/pipewire/portfile.cmake b/ports/pipewire/portfile.cmake index 11214f58372..df9531df7fe 100644 --- a/ports/pipewire/portfile.cmake +++ b/ports/pipewire/portfile.cmake @@ -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" "") diff --git a/ports/pipewire/vcpkg.json b/ports/pipewire/vcpkg.json index a45c9c806ae..1a759218dd2 100644 --- a/ports/pipewire/vcpkg.json +++ b/ports/pipewire/vcpkg.json @@ -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", diff --git a/versions/baseline.json b/versions/baseline.json index c85f5429199..82138e8490f 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -5494,7 +5494,7 @@ }, "pipewire": { "baseline": "0.3.52", - "port-version": 0 + "port-version": 1 }, "pistache": { "baseline": "2021-03-31", diff --git a/versions/p-/pipewire.json b/versions/p-/pipewire.json index 08c3f08d288..1ac99b14f43 100644 --- a/versions/p-/pipewire.json +++ b/versions/p-/pipewire.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "c3fc407ec59160e15daff40a26eb60515840763e", + "version": "0.3.52", + "port-version": 1 + }, { "git-tree": "4ec746fd8458f073339bf953335742b2abb0ac53", "version": "0.3.52",