diff options
Diffstat (limited to 'meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth_2.5.3.bb')
| -rw-r--r-- | meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth_2.5.3.bb | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth_2.5.3.bb b/meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth_2.5.3.bb new file mode 100644 index 0000000000..4dbf4d1fc7 --- /dev/null +++ b/meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth_2.5.3.bb | |||
| @@ -0,0 +1,42 @@ | |||
| 1 | SUMMARY = "Fluidsynth is a software synthesizer" | ||
| 2 | HOMEPAGE = "http://www.fluidsynth.org/" | ||
| 3 | SECTION = "libs/multimedia" | ||
| 4 | LICENSE = "LGPL-2.1-only" | ||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=4bf661c1e3793e55c8d1051bc5e0ae21" | ||
| 6 | |||
| 7 | DEPENDS = "glib-2.0" | ||
| 8 | |||
| 9 | SRC_URI = " \ | ||
| 10 | git://github.com/FluidSynth/fluidsynth.git;name=fluidsynth;branch=master;protocol=https \ | ||
| 11 | git://github.com/kthohr/gcem.git;name=gcem;subdir=${S}/gcem;protocol=https;nobranch=1 \ | ||
| 12 | git://github.com/Signalsmith-Audio/basics.git;name=signalsmith-audio-basics;subdir=${S}/signalsmith-audio-basics;protocol=https;nobranch=1 \ | ||
| 13 | file://0003-Use-ARM-NEON-accelaration-for-float-multithreaded-se.patch \ | ||
| 14 | " | ||
| 15 | SRCREV_FORMAT = "fluidsynth" | ||
| 16 | SRCREV_fluidsynth = "6b8fabbd60f0df3b6e2f5b5df8478a1b43315acd" | ||
| 17 | SRCREV_gcem = "012ae73c6d0a2cb09ffe86475f5c6fba3926e200" | ||
| 18 | SRCREV_signalsmith-audio-basics = "012d2be17b0eb6839628f8c73687c4ccccc1bb01" | ||
| 19 | |||
| 20 | inherit cmake pkgconfig lib_package | ||
| 21 | |||
| 22 | EXTRA_OECMAKE = "-Denable-floats=ON -DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')} -DGCEM_INCLUDE_DIR=${S}/gcem/include" | ||
| 23 | |||
| 24 | do_install:append() { | ||
| 25 | sed -i -e 's|${STAGING_LIBDIR}|${libdir}|g' ${D}${libdir}/pkgconfig/fluidsynth.pc | ||
| 26 | sed -i -e 's|${STAGING_LIBDIR}|${libdir}|g' ${D}${libdir}/cmake/fluidsynth/FluidSynth-shared-targets.cmake | ||
| 27 | } | ||
| 28 | |||
| 29 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'pulseaudio pipewire systemd alsa dbus', d)}" | ||
| 30 | PACKAGECONFIG[alsa] = "-Denable-alsa=ON,-Denable-alsa=OFF,alsa-lib" | ||
| 31 | PACKAGECONFIG[dbus] = "-Denable-dbus=ON,-Denable-dbus=OFF,dbus" | ||
| 32 | PACKAGECONFIG[jack] = "-Denable-jack=ON,-Denable-jack=OFF,jack" | ||
| 33 | PACKAGECONFIG[oss] = "-Denable-oss=ON,-Denable-oss=OFF" | ||
| 34 | PACKAGECONFIG[pipewire] = "-Denable-pipewire=ON,-Denable-pipewire=OFF,pipewire" | ||
| 35 | PACKAGECONFIG[portaudio] = "-Denable-portaudio=ON,-Denable-portaudio=OFF,portaudio-v19" | ||
| 36 | PACKAGECONFIG[profiling] = "-Denable-profiling=ON,-Denable-profiling=OFF" | ||
| 37 | PACKAGECONFIG[pulseaudio] = "-Denable-pulseaudio=ON,-Denable-pulseaudio=OFF,pulseaudio" | ||
| 38 | PACKAGECONFIG[readline] = "-Denable-readline=ON,-Denable-readline=OFF,readline" | ||
| 39 | PACKAGECONFIG[sdl] = "-Denable-sdl3=ON,-Denable-sdl3=OFF,libsdl3" | ||
| 40 | PACKAGECONFIG[sndfile] = "-Denable-libsndfile=ON,-Denable-libsndfile=OFF,libsndfile1" | ||
| 41 | PACKAGECONFIG[systemd] = "-Denable-systemd=ON,-Denable-systemd=OFF,systemd" | ||
| 42 | |||
