65 lines
1.8 KiB
BlitzBasic
65 lines
1.8 KiB
BlitzBasic
SUMMARY = "High quality open source audio plugins for musicians"
|
|
HOMEPAGE = "http://calf-studio-gear.org/"
|
|
LICENSE = "GPLv2 & LGPLv2.1"
|
|
LIC_FILES_CHKSUM = " \
|
|
file://COPYING;md5=dcf3c825659e82539645da41a7908589 \
|
|
file://COPYING.GPL;md5=94d55d512a9ba36caa9b7df079bae19f \
|
|
"
|
|
|
|
SRC_URI = " \
|
|
git://github.com/calf-studio-gear/calf.git \
|
|
file://0001-Do-store-calfmakerdf-commandline-for-later-use-in-qe.patch \
|
|
file://0002-fluidsynth-Activate-synth.dynamic-sample-loading-for.patch \
|
|
file://0003-Fix-detection-of-LV2-for-latest-git.patch \
|
|
file://0004-Find-headers-for-all-versions-of-LV2.patch \
|
|
"
|
|
SRCREV = "e5c08dc2483c444d18d24a37c395274002320f5c"
|
|
S = "${WORKDIR}/git"
|
|
PV = "0.90.1"
|
|
|
|
inherit autotools-brokensep pkgconfig gtk-icon-cache bash-completion qemu-ext
|
|
|
|
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"
|