Latest aur PKGBUILD update cooked building pipewire due to removed client-rt
upstream config files.
First noticed builds failing due to a client-rt
config file not found error during build (added traces to the _pick function):
+ local _p=libs _f _d
+ shift
+ for _f in "$@"
+ _d=/tmp/tmp.VJcUkGmcIl/pipewire-git/src/libs/usr/share/pipewire/client-rt.conf
++ dirname /tmp/tmp.VJcUkGmcIl/pipewire-git/src/libs/usr/share/pipewire/client-rt.conf
+ mkdir -p /tmp/tmp.VJcUkGmcIl/pipewire-git/src/libs/usr/share/pipewire
+ mv usr/share/pipewire/client-rt.conf /tmp/tmp.VJcUkGmcIl/pipewire-git/src/libs/usr/share/pipewire/client-rt.conf
mv: cannot stat 'usr/share/pipewire/client-rt.conf': No such file or directory
++ error_function package_pipewire-git
Commit that removed the following files: https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/24bcacc61#a0a86475b116a93b8913918a0e8c0031a7a9faa8
- src/daemon/client-rt.conf.in
- src/daemon/client-rt.conf.avail/20-upmix.conf.in
- src/daemon/client-rt.conf.avail/meson.build
To fix the build error, I removed client-rt.conf
and client-rt.conf.avail/20-upmix.conf
from the package_pipewire-git()
function in PKGBUILD
:
diff --git a/PKGBUILD b/PKGBUILD
index 11600de..12bdee4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -117,6 +117,7 @@ check() {
}
_pick() {
+ set -x
local _p="${1}" _f _d; shift
for _f; do
_d="${srcdir}/${_p}/${_f#${pkgdir}/}"
@@ -124,6 +125,7 @@ _pick() {
mv "${_f}" "${_d}"
rmdir -p --ignore-fail-on-non-empty "$(dirname "${_f}")"
done
+ set +x
}
package_pipewire-git() {
@@ -191,8 +193,6 @@ package_pipewire-git() {
_pick libs "usr/lib/pkgconfig/libspa-${_spa_ver}.pc"
_pick libs usr/share/pipewire/client.conf
_pick libs usr/share/pipewire/client.conf.avail/20-upmix.conf
- _pick libs usr/share/pipewire/client-rt.conf
- _pick libs usr/share/pipewire/client-rt.conf.avail/20-upmix.conf
_pick libs usr/share/man/man5/pipewire-client.conf.5
_pick libs usr/share/man/man7/libpipewire-module-metadata.7
_pick libs usr/share/man/man7/libpipewire-module-client-node.7
Pinned Comments