From: Daniel Golle Date: Thu, 7 Nov 2024 20:20:50 +0000 (+0000) Subject: fluidsynth: add package X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b734716f1573cea4037e0ebda4af23b54f659095;p=feed%2Fpackages.git fluidsynth: add package Package Fluidsynth wavetable MIDI synth. Signed-off-by: Daniel Golle --- diff --git a/sound/fluidsynth/Makefile b/sound/fluidsynth/Makefile new file mode 100644 index 0000000000..a24cc1be92 --- /dev/null +++ b/sound/fluidsynth/Makefile @@ -0,0 +1,76 @@ +include $(TOPDIR)/rules.mk + +PKG_NAME:=fluidsynth +PKG_VERSION:=2.4.0 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=https://codeload.github.com/FluidSynth/fluidsynth/tar.gz/v$(PKG_VERSION)? +PKG_HASH:=fd4d216a3030abc56a339985ab0506328660cd77b2d71dd98c240c58c03d8f7f + +PKG_MAINTAINER:=Daniel Golle +PKG_LICENSE:=LGPL-2.1 +PKG_LICENSE_FILES:=LICENSE + +include $(INCLUDE_DIR)/package.mk +include $(INCLUDE_DIR)/cmake.mk + +CMAKE_INSTALL:=1 + +CMAKE_OPTIONS += \ + -Denable-coverage=off \ + -Denable-floats=off \ + -Denable-fpe-check=off \ + -Denable-portaudio=off \ + -Denable-profiling=off \ + -Denable-trap-on-fpe=off \ + -Denable-ubsan=off \ + -Denable-alsa=on \ + -Denable-aufile=off \ + -DBUILD_SHARED_LIBS=on \ + -Denable-dbus=off \ + -Denable-ipv6=off \ + -Denable-jack=off \ + -Denable-ladspa=off \ + -Denable-libinstpatch=off \ + -Denable-libsndfile=on \ + -Denable-midishare=off \ + -Denable-opensles=off \ + -Denable-oboe=off \ + -Denable-network=off \ + -Denable-oss=off \ + -Denable-dsound=off \ + -Denable-wasapi=off \ + -Denable-waveout=off \ + -Denable-winmidi=off \ + -Denable-sdl2=off \ + -Denable-pulseaudio=off \ + -Denable-pipewire=off \ + -Denable-readline=off \ + -Denable-threads=off \ + -Denable-openmp=off \ + -Denable-systemd=off \ + -Denable-coreaudio=off \ + -Denable-coremidi=off \ + -Denable-framework=off \ + -Denable-dart=off \ + -Denable-kai=off + +define Package/libfluidsynth + SECTION:=sound + CATEGORY:=Sound + TITLE:=A SoundFont Synthesizer + URL:=https://www.fluidsynth.org + DEPENDS:=+alsa-lib +glib2 +libsndfile +libstdcpp +endef + +define Package/libfluidsynth/description +FluidSynth is a cross-platform, real-time software synthesizer based on the Soundfont 2 specification. +endef + +define Package/libfluidsynth/install + $(INSTALL_DIR) $(1)/usr/lib + $(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so* $(1)/usr/lib/ +endef + +$(eval $(call BuildPackage,libfluidsynth))