zam-plugins: use lv2-turtle-helper

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
This commit is contained in:
Andreas Müller
2019-10-06 22:42:42 +02:00
parent 740b2452c4
commit 07967992cc

View File

@@ -16,7 +16,7 @@ DEPENDS += " \
zita-convolver \
"
inherit pkgconfig lv2-postinst-helper distro_features_check pack_audio_plugins
inherit pkgconfig lv2-turtle-helper distro_features_check pack_audio_plugins
REQUIRED_DISTRO_FEATURE = "x11"
@@ -32,18 +32,6 @@ EXTRA_OEMAKE += " \
SKIP_STRIPPING=true \
"
do_configure_prepend() {
# reconfigure?
if [ ! -f ${LV2-TURTLE-BUILD-DATA} ] ; then
# We cannot run lv2-ttl-generator in cross environment so
# manipulate generate-ttl.sh to save lib info in ${LV2-TURTLE-BUILD-DATA}
sed -i 's|"$GEN" "./$FILE"|echo "dummy-first-col `realpath "./$FILE"`" >> ${LV2-TURTLE-BUILD-DATA}|g' ${S}/dpf/utils/generate-ttl.sh
else
rm -f ${LV2-TURTLE-BUILD-DATA}
fi
}
do_install() {
${MAKE} DESTDIR=${D} PREFIX= LIBDIR=${libdir} BINDIR=${bindir} install
}