From 371efaa541a59f825556583d807cd76b92276c7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Mon, 7 Oct 2019 05:43:04 +0200 Subject: [PATCH] ykchorus: 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 --- recipes-musicians/ykchorus/ykchorus_git.bb | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/recipes-musicians/ykchorus/ykchorus_git.bb b/recipes-musicians/ykchorus/ykchorus_git.bb index a178270..394b7a9 100644 --- a/recipes-musicians/ykchorus/ykchorus_git.bb +++ b/recipes-musicians/ykchorus/ykchorus_git.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/SpotlightKid/ykchorus" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://LICENSE;md5=02ad2afd072e9ce4a370bedb49e2b075" -inherit pkgconfig gtk-icon-cache qemu-ext pack_audio_plugins +inherit pkgconfig gtk-icon-cache lv2-turtle-helper pack_audio_plugins DEPENDS += " \ liblo \ @@ -16,23 +16,11 @@ SRCREV = "a6b1027e327f5118bbe48ae01e9fa58e14f93479" PV = "0.2.2+git${SRCPV}" S = "${WORKDIR}/git" -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 \ - 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} LIBDIR=${libdir} install