jack: add a PACKAGECONFIG for opus - disabled by default

It was broken before  libopus/--enable-custom-modes patch anyway and netjack2
is an enhanced feature not necessary by default.

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Andreas Müller 2017-01-19 08:53:31 +01:00 committed by Martin Jansa
parent 65bb47c88d
commit 55493cb33b

View File

@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = " \
file://common/jack/jack.h;beginline=1;endline=19;md5=6b736ed6b810592b135480a5e853392e \ file://common/jack/jack.h;beginline=1;endline=19;md5=6b736ed6b810592b135480a5e853392e \
" "
DEPENDS = "libsamplerate0 libsndfile1 libopus readline" DEPENDS = "libsamplerate0 libsndfile1 readline"
SRC_URI = "git://github.com/jackaudio/jack2.git" SRC_URI = "git://github.com/jackaudio/jack2.git"
SRCREV = "0279a2d65a36d1378f5bab56d95bf9e99cc8cefb" SRCREV = "0279a2d65a36d1378f5bab56d95bf9e99cc8cefb"
@ -23,6 +23,7 @@ inherit waf pkgconfig
PACKAGECONFIG ??= "alsa" PACKAGECONFIG ??= "alsa"
PACKAGECONFIG[alsa] = "--alsa=yes,--alsa=no,alsa-lib" PACKAGECONFIG[alsa] = "--alsa=yes,--alsa=no,alsa-lib"
PACKAGECONFIG[opus] = "--opus=yes,--opus=no,libopus"
# portaudio is for windows builds only # portaudio is for windows builds only
EXTRA_OECONF = "--portaudio=no" EXTRA_OECONF = "--portaudio=no"