diff options
author | Peter Bergin <peter@berginkonsult.se> | 2022-02-11 16:36:26 +0100 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-02-11 09:12:32 -0800 |
commit | b79c5e24c6c7198a109d430b3d29750f7b5262b0 (patch) | |
tree | d11121fe80082e1eee3724b544ae5496f08aff03 /meta-multimedia | |
parent | 7f85c4ba98c9fc804c36c22bac872fc5962104ec (diff) | |
download | meta-openembedded-b79c5e24c6c7198a109d430b3d29750f7b5262b0.tar.gz |
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 687483235b5542401245711cb610ec327b33c403
Signed-off-by: Peter Bergin <peter@berginkonsult.se>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-multimedia')
-rw-r--r-- | meta-multimedia/recipes-multimedia/pipewire/pipewire_0.3.45.bb | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/meta-multimedia/recipes-multimedia/pipewire/pipewire_0.3.45.bb b/meta-multimedia/recipes-multimedia/pipewire/pipewire_0.3.45.bb index 31798e47cb..6ba3124846 100644 --- a/meta-multimedia/recipes-multimedia/pipewire/pipewire_0.3.45.bb +++ b/meta-multimedia/recipes-multimedia/pipewire/pipewire_0.3.45.bb | |||
@@ -114,12 +114,13 @@ remove_unused_installed_files() { | |||
114 | # jack.conf is used by pipewire-jack (not the JACK SPA plugin). | 114 | # jack.conf is used by pipewire-jack (not the JACK SPA plugin). |
115 | # Remove it if pipewire-jack is not built to avoid creating the | 115 | # Remove it if pipewire-jack is not built to avoid creating the |
116 | # pipewire-jack package. | 116 | # pipewire-jack package. |
117 | # minimal.conf is an example of how to minimally configure the | ||
118 | # daemon and is not meant to be used for production. | ||
119 | if ${@bb.utils.contains('PACKAGECONFIG', 'pipewire-jack', 'false', 'true', d)}; then | 117 | if ${@bb.utils.contains('PACKAGECONFIG', 'pipewire-jack', 'false', 'true', d)}; then |
120 | rm -f "${D}${datadir}/pipewire/jack.conf" | 118 | rm -f "${D}${datadir}/pipewire/jack.conf" |
121 | rm -f "${D}${datadir}/pipewire/minimal.conf" | ||
122 | fi | 119 | fi |
120 | |||
121 | # minimal.conf is an example of how to minimally configure the | ||
122 | # daemon and is not meant to be used for production. | ||
123 | rm -f "${D}${datadir}/pipewire/minimal.conf" | ||
123 | } | 124 | } |
124 | 125 | ||
125 | do_install[postfuncs] += "remove_unused_installed_files" | 126 | do_install[postfuncs] += "remove_unused_installed_files" |
@@ -284,6 +285,7 @@ FILES:${PN}-alsa = "\ | |||
284 | # JACK drop-in libraries to redirect audio to pipewire. | 285 | # JACK drop-in libraries to redirect audio to pipewire. |
285 | CONFFILES:${PN}-jack = "${datadir}/pipewire/jack.conf" | 286 | CONFFILES:${PN}-jack = "${datadir}/pipewire/jack.conf" |
286 | FILES:${PN}-jack = "\ | 287 | FILES:${PN}-jack = "\ |
288 | ${bindir}/pw-jack \ | ||
287 | ${datadir}/pipewire/jack.conf \ | 289 | ${datadir}/pipewire/jack.conf \ |
288 | ${libdir}/${PW_MODULE_SUBDIR}/jack/libjack*.so.* \ | 290 | ${libdir}/${PW_MODULE_SUBDIR}/jack/libjack*.so.* \ |
289 | " | 291 | " |