Skip to contentSkip to conversation

jack: remove jack-utils

PATCH New David Sands 1 participant 2 messages Nov 18, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 jack: remove jack-utils

This commit removes jack-utils from the jack recipe as it has been broken out into it's own repo from jack v1.9.22 onwards.

---
 meta-oe/recipes-multimedia/jack/jack_1.9.22.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
meta-oe/recipes-multimedia/jack/jack_1.9.22.bb +1 -2
index bb844e4ff..d46391d08 100644
@@ -43,7 +43,7 @@ do_install:append() {
 	fi
 }
 
-PACKAGES =+ "libjack jack-server jack-utils"
+PACKAGES =+ "libjack jack-server"
 
 RDEPENDS:jack-dev:remove = "${PN} (= ${EXTENDPKGV})"
 
@@ -53,7 +53,6 @@ FILES:jack-server = " \
     ${bindir}/jackdbus \
     ${bindir}/jackd \
 "
-FILES:jack-utils = "${bindir}/*"
 
 FILES:${PN}-doc += " ${datadir}/jack-audio-connection-kit/reference/html/*"
 
Signature · 1 line
2.43.0
#1 lore raw

PATCH 2/2 jack-example-tools: add new recipe

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

---
 .../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
meta-oe/recipes-multimedia/jack/jack-example-tools_4.bb new file +34 -0
new file mode 100644
index 000000000..a868a2969
@@ -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 \
+"
Signature · 1 line
2.43.0