From 64630508b8fe13842efdf49fde7c3daf0ea88192 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Sun, 6 Oct 2019 22:54:37 +0200 Subject: [PATCH] wolf-shaper: use lv2-turtle-helper and cleanup recipe MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Andreas Müller --- .../wolf-shaper/wolf-shaper_git.bb | 21 ++++--------------- 1 file changed, 4 insertions(+), 17 deletions(-) diff --git a/recipes-musicians/wolf-shaper/wolf-shaper_git.bb b/recipes-musicians/wolf-shaper/wolf-shaper_git.bb index 729ac20..d02647b 100644 --- a/recipes-musicians/wolf-shaper/wolf-shaper_git.bb +++ b/recipes-musicians/wolf-shaper/wolf-shaper_git.bb @@ -9,35 +9,22 @@ DEPENDS = " \ lv2 \ " -inherit pkgconfig qemu-ext pack_audio_plugins +inherit pkgconfig lv2-turtle-helper pack_audio_plugins SRC_URI = "gitsm://github.com/pdesaulniers/wolf-shaper.git" SRCREV = "d0b46c9ece642488efed3cd255df22516966b334" S = "${WORKDIR}/git" PV = "0.1.7" -export PREFIX="${prefix}" - -do_compile() { - rm -f ${WORKDIR}/lv2_ttl_generator-data - # manipulate scripts to keep lv2_ttl_generator-calls in script for qemu - sed -i 's|"$GEN" "./$FILE"|echo `pwd`/$FILE >> ${WORKDIR}/lv2_ttl_generator-data|g' ${S}/dpf/utils/generate-ttl.sh - +EXTRA_OEMAKE += " \ + PREFIX=${prefix} \ NOOPT=true \ SKIP_STRIPPING=true \ BUILD_VST2=true \ BUILD_LV2=true \ BUILD_DSSI=true \ BUILD_JACK=true \ - oe_runmake - - # build ttl-files must be done in quemu - for sofile in `cat ${WORKDIR}/lv2_ttl_generator-data`; do - cd `dirname ${sofile}` - echo "QEMU lv2_ttl_generator for ${sofile}..." - ${@qemu_run_binary_local(d, '${STAGING_DIR_TARGET}', '${S}/dpf/utils/lv2_ttl_generator')} ${sofile} || echo "ERROR: for QEMU lv2_ttl_generator for ${sofile}!" - done -} +" do_install() { oe_runmake DESTDIR=${D} PREFIX=${prefix} install