pack_audio_plugins: add class for auto packing of audio plugins and use it
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
This commit is contained in:
8
classes/pack_audio_plugins.bbclass
Normal file
8
classes/pack_audio_plugins.bbclass
Normal file
@@ -0,0 +1,8 @@
|
||||
# Auto package audio plugins
|
||||
|
||||
PACKAGES =+ "${PN}-dssi ${PN}-ladspa ${PN}-lv2 ${PN}-vst"
|
||||
|
||||
FILES_${PN}-dssi = "${libdir}/dssi"
|
||||
FILES_${PN}-ladspa = "${libdir}/ladspa"
|
||||
FILES_${PN}-lv2 = "${libdir}/lv2"
|
||||
FILES_${PN}-vst = "${libdir}/vst"
|
||||
@@ -1,5 +1,7 @@
|
||||
require ${BPN}.inc
|
||||
|
||||
inherit distro_features_check pack_audio_plugins
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "x11"
|
||||
|
||||
DEPENDS += " \
|
||||
@@ -46,8 +48,5 @@ do_install() {
|
||||
|
||||
FILES_${PN} += "${libdir}/lsp-plugins-jack-core-${PV}.so"
|
||||
|
||||
PACKAGES =+ "${PN}-standalone ${PN}-ladspa ${PN}-lv2 ${PN}-vst"
|
||||
PACKAGES =+ "${PN}-standalone"
|
||||
FILES_${PN}-standalone = "${bindir}"
|
||||
FILES_${PN}-ladspa = "${libdir}/ladspa"
|
||||
FILES_${PN}-lv2 = "${libdir}/lv2"
|
||||
FILES_${PN}-vst = "${libdir}/vst"
|
||||
|
||||
@@ -9,7 +9,7 @@ DEPENDS = " \
|
||||
lv2 \
|
||||
"
|
||||
|
||||
inherit autotools-brokensep pkgconfig qemu-ext
|
||||
inherit autotools-brokensep pkgconfig qemu-ext pack_audio_plugins
|
||||
|
||||
SRC_URI = "gitsm://github.com/pdesaulniers/wolf-shaper.git"
|
||||
SRCREV = "d0b46c9ece642488efed3cd255df22516966b334"
|
||||
@@ -38,8 +38,3 @@ do_compile() {
|
||||
${@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
|
||||
}
|
||||
|
||||
PACKAGES =+ "${PN}-dssi ${PN}-lv2 ${PN}-vst"
|
||||
FILES_${PN}-dssi = "${libdir}/dssi"
|
||||
FILES_${PN}-lv2 = "${libdir}/lv2"
|
||||
FILES_${PN}-vst = "${libdir}/vst"
|
||||
|
||||
@@ -11,7 +11,7 @@ DEPENDS += " \
|
||||
ladspa-sdk \
|
||||
"
|
||||
|
||||
inherit pkgconfig qemu-ext distro_features_check
|
||||
inherit pkgconfig qemu-ext distro_features_check pack_audio_plugins
|
||||
|
||||
REQUIRED_DISTRO_FEATURE = "x11"
|
||||
|
||||
@@ -45,8 +45,5 @@ do_install() {
|
||||
${MAKE} DESTDIR=${D} PREFIX=${prefix} install
|
||||
}
|
||||
|
||||
PACKAGES =+ "${PN}-standalone ${PN}-ladspa ${PN}-lv2 ${PN}-vst"
|
||||
PACKAGES =+ "${PN}-standalone"
|
||||
FILES_${PN}-standalone = "${bindir}"
|
||||
FILES_${PN}-ladspa = "${libdir}/ladspa"
|
||||
FILES_${PN}-lv2 = "${libdir}/lv2"
|
||||
FILES_${PN}-vst = "${libdir}/vst"
|
||||
|
||||
Reference in New Issue
Block a user