63 lines
1.8 KiB
BlitzBasic
63 lines
1.8 KiB
BlitzBasic
SUMMARY = "High quality open source audio plugins for musicians"
|
|
HOMEPAGE = "http://calf-studio-gear.org/"
|
|
LICENSE = "GPL-2.0-only & LGPL-2.1-only"
|
|
LIC_FILES_CHKSUM = " \
|
|
file://COPYING;md5=dcf3c825659e82539645da41a7908589 \
|
|
file://COPYING.GPL;md5=94d55d512a9ba36caa9b7df079bae19f \
|
|
"
|
|
|
|
SRC_URI = " \
|
|
git://github.com/calf-studio-gear/calf.git;branch=master;protocol=https \
|
|
file://0001-Do-store-calfmakerdf-commandline-for-later-use-in-qe.patch \
|
|
file://0002-fluidsynth-Activate-synth.dynamic-sample-loading-for.patch \
|
|
"
|
|
SRCREV = "41a2b7fb029cf0099fc05b7a9c569208034018de"
|
|
S = "${WORKDIR}/git"
|
|
PV = "0.90.3"
|
|
|
|
inherit autotools-brokensep pkgconfig gtk-icon-cache bash-completion qemu-ext-musicians
|
|
|
|
DEPENDS += " \
|
|
gtk+ \
|
|
jack \
|
|
fluidsynth \
|
|
liblo \
|
|
ladspa-sdk \
|
|
lv2 \
|
|
"
|
|
|
|
EXTRA_OECONF += " \
|
|
--with-lv2-dir=${libdir}/lv2 \
|
|
--enable-experimental \
|
|
"
|
|
|
|
do_configure:prepend() {
|
|
sed -i 's:%QEMUCOMMAND%:${WORKDIR}/QemuCommands:g' `find ${S} -name Makefile.am`
|
|
}
|
|
|
|
QEMU_EXTRA_LIBDIR = "${D}${libdir}/calf"
|
|
|
|
do_install:prepend() {
|
|
# These are installed by calfmakerdf but that's moved to end of installation
|
|
install -d ${D}${libdir}/lv2
|
|
install -d ${D}${datadir}/calf
|
|
}
|
|
|
|
do_install:append() {
|
|
# build ttl-files must be done in quemu (lv2-ttl-generator-data loads
|
|
# so-files and calls functions to create ttl-files)
|
|
cat ${WORKDIR}/QemuCommands | while read calfmakerdf_param; do
|
|
${@qemu_run_binary_local(d, '${STAGING_DIR_TARGET}', '${D}${bindir}/calfmakerdf')} ${calfmakerdf_param}
|
|
done
|
|
|
|
chown -R root:root ${D}${libdir}/lv2
|
|
chown root:root ${D}${datadir}/calf/*.xml
|
|
|
|
# job is done - not needed on target
|
|
rm ${D}${bindir}/calfmakerdf
|
|
|
|
}
|
|
|
|
FILES:${PN} += "${libdir}/lv2"
|
|
INSANE_SKIP:${PN} = "dev-so"
|