diff mbox series

[meta-oe,2/2] jack-example-tools: add new recipe

Message ID 20241118014459.2029441-2-david.sands3@gmail.com
State Accepted
Headers show
Series [meta-oe,1/2] jack: remove jack-utils | expand

Commit Message

David Sands Nov. 18, 2024, 1:44 a.m. UTC
This commit adds a package that provides jack-utils (along with jack example clients) that are broken out from the main jack repo since jack v1.9.22

Signed-off-by: David Sands <david.sands3@gmail.com>
---
 .../jack/jack-example-tools_4.bb              | 34 +++++++++++++++++++
 1 file changed, 34 insertions(+)
 create mode 100644 meta-oe/recipes-multimedia/jack/jack-example-tools_4.bb
diff mbox series

Patch

diff --git a/meta-oe/recipes-multimedia/jack/jack-example-tools_4.bb b/meta-oe/recipes-multimedia/jack/jack-example-tools_4.bb
new file mode 100644
index 000000000..a868a2969
--- /dev/null
+++ b/meta-oe/recipes-multimedia/jack/jack-example-tools_4.bb
@@ -0,0 +1,34 @@ 
+DESCRIPTION = "JACK example tools and clients"
+SECTION = "libs/multimedia"
+
+LICENSE = "GPL-2.0-or-later"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=4641e94ec96f98fabc56ff9cc48be14b"
+
+DEPENDS = "jack"
+
+SRC_URI = "git://github.com/jackaudio/jack-example-tools.git;branch=main;protocol=https"
+SRCREV = "33de8b4285fa5054af1b37fe0496c110604ed564"
+
+S = "${WORKDIR}/git"
+
+inherit meson pkgconfig
+
+PACKAGECONFIG ??= "alsa_in_out jack_rec"
+PACKAGECONFIG[alsa_in_out] = ",-Dalsa_in_out=disabled,alsa-lib"
+PACKAGECONFIG[jack_net] = ",-Djack_net=disabled"
+PACKAGECONFIG[jack_netsource] = ",-Djack_netsource=disabled,libopus"
+PACKAGECONFIG[jack_rec] = ",-Djack_rec=disabled"
+PACKAGECONFIG[opus_support] = ",-Dopus_support=disabled,libopus"
+PACKAGECONFIG[readline] = ",-Dreadline_support=disabled,readline"
+
+# ZALSA requires packages that are not available (libzita-alsa-pcmi and libzita-resampler)
+EXTRA_OECONF = "-Dzalsa=disabled"
+
+# jack recipe previously packaged jack-utils when these were part of the jack2 repository
+# keep using jack-utils package name to provide compatibility with old image recipes
+PACKAGES =+ "jack-utils"
+
+FILES:jack-utils = " \
+    ${bindir}/* \
+    ${libdir}/jack/*.so \
+"