From 6273122f0eb77b9f7f22df36ac0ded2963ddebea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Wed, 25 Oct 2017 21:40:24 +0200 Subject: [PATCH] fluidplug: share sf2-files in common folder so that others can find them better MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Andreas Müller --- .../recipes-multimedia/fluidsynth/fluidplug_0.0.0.bb | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/recipes-misc/recipes-multimedia/fluidsynth/fluidplug_0.0.0.bb b/recipes-misc/recipes-multimedia/fluidsynth/fluidplug_0.0.0.bb index 3bf9f238..ceeeccc2 100644 --- a/recipes-misc/recipes-multimedia/fluidsynth/fluidplug_0.0.0.bb +++ b/recipes-misc/recipes-multimedia/fluidsynth/fluidplug_0.0.0.bb @@ -24,6 +24,16 @@ do_compile_prepend() { do_install() { oe_runmake DESTDIR=${D} PREFIX=${prefix} install + install -d ${D}${datadir}/sf2 + cd ${S} + for file in `find -name '*.lv2'`; do + file=`basename $file` + sf2name=`echo $file | sed -e 's#lv2#sf2##'` + ln -sf ${libdir}/lv2/$file/FluidPlug.sf2 ${D}${datadir}/sf2/$sf2name + done } -FILES_${PN} += "${libdir}/lv2" +FILES_${PN} += " \ + ${datadir}/sf2 \ + ${libdir}/lv2 \ +"