mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-04 16:10:10 +00:00
pipewire: fix build error when pipewire-jack is used
If PACKAGECONFIG contains pipewire-jack the following error was seen:
ERROR: pipewire-0.3.45-r0 do_package: QA Issue: pipewire: Files/directories were installed but not shipped in any package:
/usr/bin/pw-jack
/usr/share/pipewire/minimal.conf
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
pipewire: 2 installed and not shipped files. [installed-vs-shipped]
File /usr/bin/pw-jack is added to pipewire-jack package.
The removal of minimal.conf was conditional to not configuring 'pipewire-jack'.
Can not see any reason to make it conditional on that specific option and make
it always removed to avoid packaging error.
Errors introduced in 687483235b
Signed-off-by: Peter Bergin <peter@berginkonsult.se>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
7f85c4ba98
commit
b79c5e24c6
|
|
@ -114,12 +114,13 @@ remove_unused_installed_files() {
|
|||
# jack.conf is used by pipewire-jack (not the JACK SPA plugin).
|
||||
# Remove it if pipewire-jack is not built to avoid creating the
|
||||
# pipewire-jack package.
|
||||
# minimal.conf is an example of how to minimally configure the
|
||||
# daemon and is not meant to be used for production.
|
||||
if ${@bb.utils.contains('PACKAGECONFIG', 'pipewire-jack', 'false', 'true', d)}; then
|
||||
rm -f "${D}${datadir}/pipewire/jack.conf"
|
||||
rm -f "${D}${datadir}/pipewire/minimal.conf"
|
||||
fi
|
||||
|
||||
# minimal.conf is an example of how to minimally configure the
|
||||
# daemon and is not meant to be used for production.
|
||||
rm -f "${D}${datadir}/pipewire/minimal.conf"
|
||||
}
|
||||
|
||||
do_install[postfuncs] += "remove_unused_installed_files"
|
||||
|
|
@ -284,6 +285,7 @@ FILES:${PN}-alsa = "\
|
|||
# JACK drop-in libraries to redirect audio to pipewire.
|
||||
CONFFILES:${PN}-jack = "${datadir}/pipewire/jack.conf"
|
||||
FILES:${PN}-jack = "\
|
||||
${bindir}/pw-jack \
|
||||
${datadir}/pipewire/jack.conf \
|
||||
${libdir}/${PW_MODULE_SUBDIR}/jack/libjack*.so.* \
|
||||
"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user