summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Perrot <thomas.perrot@bootlin.com>2025-03-27 16:16:19 +0100
committerKhem Raj <raj.khem@gmail.com>2025-03-27 17:05:46 -0700
commit3b448edbf32cb484c99a84f0fa7be1134d970734 (patch)
treeeda91016c8155631b1c3e9299578b5f97005cfb9
parenta95982edd2261dccd70900e39293fb9418af7cb7 (diff)
downloadmeta-openembedded-3b448edbf32cb484c99a84f0fa7be1134d970734.tar.gz
jack: apply some improvements
- Remove the do_install append because jack_control no longer builds when the dbus pkgconfig is disabled. - Add python3-core to the runtime dependencies when D-Bus is enabled, because jack_control requires /usr/bin/python3. - Use PACKAGE_BEFORE_PN to enable additional packages. - Remove the HTML documentation because it no longer builds. Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-multimedia/jack/jack_1.9.22.bb14
1 files changed, 3 insertions, 11 deletions
diff --git a/meta-oe/recipes-multimedia/jack/jack_1.9.22.bb b/meta-oe/recipes-multimedia/jack/jack_1.9.22.bb
index d46391d08f..d4e6447aad 100644
--- a/meta-oe/recipes-multimedia/jack/jack_1.9.22.bb
+++ b/meta-oe/recipes-multimedia/jack/jack_1.9.22.bb
@@ -31,28 +31,20 @@ inherit waf pkgconfig
31PACKAGECONFIG ??= "alsa" 31PACKAGECONFIG ??= "alsa"
32PACKAGECONFIG[alsa] = "--alsa=yes,--alsa=no,alsa-lib" 32PACKAGECONFIG[alsa] = "--alsa=yes,--alsa=no,alsa-lib"
33# --dbus only stops building jackd -> add --classic 33# --dbus only stops building jackd -> add --classic
34PACKAGECONFIG[dbus] = "--dbus --classic,,dbus" 34PACKAGECONFIG[dbus] = "--dbus --classic,,dbus,python3-core"
35PACKAGECONFIG[opus] = "--opus=yes,--opus=no,libopus" 35PACKAGECONFIG[opus] = "--opus=yes,--opus=no,libopus"
36 36
37# portaudio is for windows builds only 37# portaudio is for windows builds only
38EXTRA_OECONF = "--portaudio=no" 38EXTRA_OECONF = "--portaudio=no"
39 39
40do_install:append() { 40PACKAGE_BEFORE_PN = "libjack jack-server"
41 if ! ${@bb.utils.contains('PACKAGECONFIG', 'dbus', True, False, d)}; then
42 rm -f ${D}${bindir}/jack_control
43 fi
44}
45
46PACKAGES =+ "libjack jack-server"
47 41
48RDEPENDS:jack-dev:remove = "${PN} (= ${EXTENDPKGV})" 42RDEPENDS:jack-dev:remove = "${PN} (= ${EXTENDPKGV})"
49 43
50FILES:libjack = "${libdir}/*.so.* ${libdir}/jack/*.so" 44FILES:libjack = "${libdir}/*.so.* ${libdir}/jack/*.so"
45
51FILES:jack-server = " \ 46FILES:jack-server = " \
52 ${datadir}/dbus-1/services \ 47 ${datadir}/dbus-1/services \
53 ${bindir}/jackdbus \ 48 ${bindir}/jackdbus \
54 ${bindir}/jackd \ 49 ${bindir}/jackd \
55" 50"
56
57FILES:${PN}-doc += " ${datadir}/jack-audio-connection-kit/reference/html/*"
58