mirror of
https://github.com/schnitzeltony/meta-musicians.git
synced 2026-01-29 17:18:41 +01:00
64 lines
1.8 KiB
BlitzBasic
64 lines
1.8 KiB
BlitzBasic
SUMMARY = "A sound and music computing system"
|
|
LICENSE = "LGPLv2.1"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343"
|
|
|
|
inherit cmake gettext python-dir
|
|
|
|
# TBD: fltk is not propely detected
|
|
DEPENDS += " \
|
|
flex-native \
|
|
bison-native \
|
|
swig-native \
|
|
python \
|
|
alsa-lib \
|
|
libsndfile1 \
|
|
portaudio-v19 \
|
|
portmidi \
|
|
fluidsynth \
|
|
curl \
|
|
fltk \
|
|
liblo \
|
|
stk \
|
|
libvorbis \
|
|
libeigen \
|
|
libwebsockets \
|
|
"
|
|
|
|
SRC_URI = " \
|
|
git://github.com/csound/csound.git \
|
|
file://0001-Do-not-set-include-path-to-usr-local-include.patch \
|
|
file://0002-Do-not-use-try_run-for-portaudio.patch \
|
|
file://0003-strict-aliasing-errors.patch \
|
|
file://0004-Engine-csound_orc_semantics.c-Fix-build-with-gcc8.patch \
|
|
file://0005-InOut-pmidi.c-Fix-build-with-gcc8.patch \
|
|
file://0006-fixed-unsafe-use-of-strncpy.patch \
|
|
file://0007-util1-csd_util-cs.c-Fix-build-with-gcc8.patch \
|
|
file://0008-Fix-build-with-fluidsynth-version-2.0.0.patch \
|
|
"
|
|
SRCREV = "2905724262b516983e779ed8c589602da4bf3f7d"
|
|
S = "${WORKDIR}/git"
|
|
PV = "6.11.0"
|
|
|
|
# Where to get lua-version from?
|
|
LUA_VERSION = "5.3"
|
|
|
|
EXTRA_OECMAKE += " \
|
|
-DUSE_DOUBLE=OFF \
|
|
-DPYTHON_MODULE_INSTALL_DIR=${PYTHON_SITEPACKAGES_DIR} \
|
|
-DUSE_LIB64=${@bb.utils.contains("baselib", "lib64", "ON", "OFF",d)} \
|
|
"
|
|
|
|
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'pulseaudio', d)}"
|
|
PACKAGECONFIG[pulseaudio] = "-DUSE_PULSEAUDIO=ON,-DUSE_PULSEAUDIO=OFF,pulseaudio,pulseaudio-server"
|
|
PACKAGECONFIG[luajit] = "-DLUA_MODULE_INSTALL_DIR=${libdir}/lua/${LUA_VERSION},,luajit"
|
|
|
|
PACKAGES =+ " \
|
|
${PN}-python2 \
|
|
${PN}-luajit \
|
|
"
|
|
|
|
FILES_${PN}-python2 = "${PYTHON_SITEPACKAGES_DIR}"
|
|
RDEPENDS_${PN}-python2 += "python"
|
|
|
|
FILES_${PN}-luajit = "${libdir}/lua"
|