aboutsummaryrefslogtreecommitdiff
path: root/package/jack2
diff options
context:
space:
mode:
authorGravatar Bernd Kuhls <bernd.kuhls@t-online.de>2016-02-21 10:50:17 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-02-21 12:45:15 +0100
commit055cf588427b40533da74d16df1830e483c5618e (patch)
tree47ed697c2d530d053d45f9b96272031b4e4f6005 /package/jack2
parent2658f92566625f86e2fdcfc2fb1508d28d6390bd (diff)
downloadbuildroot-055cf588427b40533da74d16df1830e483c5618e.tar.gz
buildroot-055cf588427b40533da74d16df1830e483c5618e.tar.bz2
package/jack2: add optional support for opus
When opus was compiled before, jack2 will use it as optional dependency: $ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/bin/jackd | grep NEEDED 0x0000000000000001 (NEEDED) Shared library: [libjackserver.so.0] 0x0000000000000001 (NEEDED) Shared library: [libpthread.so.1] 0x0000000000000001 (NEEDED) Shared library: [libopus.so.0] [...] Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/jack2')
-rw-r--r--package/jack2/jack2.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/jack2/jack2.mk b/package/jack2/jack2.mk
index 73328d3fd4..e0188610d7 100644
--- a/package/jack2/jack2.mk
+++ b/package/jack2/jack2.mk
@@ -10,6 +10,10 @@ JACK2_LICENSE = GPLv2+ (jack server), LGPLv2.1+ (jack library)
JACK2_DEPENDENCIES = libsamplerate libsndfile alsa-lib host-python
JACK2_INSTALL_STAGING = YES
+ifeq ($(BR2_PACKAGE_OPUS),y)
+JACK2_DEPENDENCIES += opus
+endif
+
define JACK2_CONFIGURE_CMDS
(cd $(@D); \
$(TARGET_CONFIGURE_OPTS) \