# Copyright 2009-2011 Pierre Lejeune # Distributed under the terms of the GNU General Public License v2 # GCEM_REVISION in cmake_admin/FindGCEM.cmake GCEM_REV="012ae73c6d0a2cb09ffe86475f5c6fba3926e200" require github [ user=FluidSynth tag=v${PV} ] cmake SUMMARY="FluidSynth is a real-time software synthesizer based on the SoundFont 2 specifications" DESCRIPTION=" FluidSynth is a real-time software synthesizer based on the SoundFont 2 specifications. Features * Cross platform support (Linux, Mac OSX and Windows to name a few) * SoundFont 2 support * Realtime effect modulation using SoundFont 2.01 modulators * Shared library which can be used in other programs * Built in command line shell * Playback of MIDI files " DOWNLOADS+=" https://github.com/kthohr/gcem/archive/${GCEM_REV}.tar.gz -> gcem-${GCEM_REV}.tar.gz " LICENCES="LGPL-2.1" SLOT="0" PLATFORMS="~amd64 ~x86" MYOPTIONS=" alsa dbus jack ladspa libsndfile [[ description = [ Adds support for libsndfile ] ]] pipewire portaudio pulseaudio readline " # tests fail to run, last checked: 2.3.4 RESTRICT="test" DEPENDENCIES=" build: virtual/pkg-config build+run: alsa? ( sys-sound/alsa-lib[>=0.9.1] ) dbus? ( sys-apps/dbus[>=1.11.12] ) jack? ( media-sound/jack-audio-connection-kit ) ladspa? ( media-libs/ladspa-sdk ) libsndfile? ( media-libs/libsndfile[>=1.0.0] ) pipewire? ( media/pipewire[>=0.3] ) portaudio? ( media-libs/portaudio[>=19] ) pulseaudio? ( media-sound/pulseaudio[>=2.0] ) readline? ( sys-libs/readline:= ) " CMAKE_SRC_CONFIGURE_PARAMS=( -DBUILD_SHARED_LIBS:BOOL=TRUE -DGCEM_INCLUDE_DIR:PATH="${WORKBASE}"/gcem-${GCEM_REV}/include -Denable-aufile:BOOL=TRUE -Denable-coverage:BOOL=FALSE -Denable-dsound:BOOL=FALSE -Denable-floats:BOOL=FALSE -Denable-fpe-check:BOOL=FALSE -Denable-ipv6:BOOL=TRUE -Denable-libinstpatch:BOOL=FALSE -Denable-midishare:BOOL=TRUE -Denable-native-dls:BOOL=TRUE -Denable-network:BOOL=TRUE -Denable-oboe:BOOL=FALSE -Denable-openmp:BOOL=FALSE -Denable-opensles:BOOL=FALSE -Denable-oss:BOOL=FALSE -Denable-profiling:BOOL=FALSE -Denable-sdl3:BOOL=FALSE -Denable-systemd:BOOL=FALSE -Denable-threads:BOOL=TRUE -Denable-trap-on-fpe:BOOL=FALSE -Denable-ubsan:BOOL=FALSE -Denable-wasapi:BOOL=FALSE -Denable-waveout:BOOL=FALSE -Denable-winmidi:BOOL=FALSE -Dosal:STRING=cpp11 ) CMAKE_SRC_CONFIGURE_OPTIONS=( 'alsa enable-alsa' 'dbus enable-dbus' 'jack enable-jack' 'ladspa enable-ladspa' 'libsndfile enable-libsndfile' 'pipewire enable-pipewire' 'portaudio enable-portaudio' 'pulseaudio enable-pulseaudio' 'readline enable-readline' )