Patchwork [WIP,20/66] fluidsynth: Add PACKAGECONFIG for sndfile, jack, pulseaudio, portaudio and readline

login
register
mail settings
Submitter Martin Jansa
Date Aug. 29, 2013, 3:51 p.m.
Message ID <4a38ee0b49ea2d883d73677a4fd7c1070fa5351c.1377791377.git.Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/56903/
State Accepted, archived
Commit 0229364a2f70ce958f7d50fb1f1a42385b19db8b
Headers show

Comments

Martin Jansa - Aug. 29, 2013, 3:51 p.m.
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth_1.1.1.bb | 7 +++++++
 1 file changed, 7 insertions(+)

Patch

diff --git a/meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth_1.1.1.bb b/meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth_1.1.1.bb
index 80b2de9..9f6c351 100644
--- a/meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth_1.1.1.bb
+++ b/meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth_1.1.1.bb
@@ -11,3 +11,10 @@  SRC_URI[md5sum] = "0db3da78028d255026230809c6e21b44"
 SRC_URI[sha256sum] = "55638cb04f39f4df76c081e22ca7feeea58ddd20ebf779a7db2d38b1ff374cd6"
 
 inherit autotools pkgconfig lib_package
+
+PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'pulseaudio', 'pulseaudio', '', d)}"
+PACKAGECONFIG[sndfile] = "--enable-libsndfile-support,--disable-libsndfile-support,libsndfile1"
+PACKAGECONFIG[jack] = "--enable-jack-support,--disable-jack-support,jack"
+PACKAGECONFIG[pulseaudio] = "--enable-pulse-support,--disable-pulse-support,pulseaudio"
+PACKAGECONFIG[portaudio] = "--enable-portaudio-support,--disable-portaudio-support,portaudio"
+PACKAGECONFIG[readline] = "--with-readline,--without-readline-support,readline"