Commit 07d0df42 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

contrib: add fluidsynth

In practice, this probably will not link properly even if the
pkg-config --static parameter is forced, except on Windows.
parent f25efcaf
9e8ca850d4dbf8404208ef6bb76d9d3775f574f10b2d0045aba23c989b893bcf6386d72dda593e0e4cdcb744f78b03859a2146edf8cce77c027416680ceb0ce1 fluidsynth-1.0.9.tar.gz
--- fluidsynth/src/Makefile.am 2007-11-11 21:06:28.000000000 +0100
+++ fluidsynth.old/src/Makefile.am 2009-07-08 17:48:53.000000000 +0200
@@ -39,7 +39,7 @@
config_win32.h fluid_jack.c
lib_LTLIBRARIES = libfluidsynth.la
-bin_PROGRAMS = fluidsynth
+bin_PROGRAMS =
libfluidsynth_la_SOURCES = \
$(fluid_alsa) \
--- fluidsynth/fluidsynth.pc.in 2007-08-18 23:55:32.000000000 +0200
+++ fluidsynth.new/fluidsynth.pc.in 2009-07-28 23:41:05.000000000 +0200
@@ -6,5 +6,5 @@
Name: FluidSynth
Description: Software SoundFont synth
Version: @VERSION@
-Libs: -L${libdir} -lfluidsynth
+Libs: -L${libdir} -lfluidsynth -ldsound -lwinmm
Cflags: -I${includedir}
# fluid
# DO NOT update, this will require glib
FLUID_VERSION := 1.0.9
#FLUID_URL := http://download.savannah.gnu.org/releases/fluid/fluidsynth-$(FLUID_VERSION).tar.gz
FLUID_URL := $(SF)/fluidsynth/older%20releases/fluidsynth-$(FLUID_VERSION).tar.gz
$(TARBALLS)/fluidsynth-$(FLUID_VERSION).tar.gz:
$(call download,$(FLUID_URL))
.sum-fluid: fluidsynth-$(FLUID_VERSION).tar.gz
fluidsynth: fluidsynth-$(FLUID_VERSION).tar.gz .sum-fluid
$(UNPACK)
$(APPLY) $(SRC)/fluid/fluid-no-bin.patch
ifdef HAVE_WIN32
$(APPLY) $(SRC)/fluid/fluid-static-win32.patch
endif
$(MOVE)
FLUIDCONF := $(HOSTCONF) \
--disable-alsa-support \
--disable-coreaudio \
--disable-coremidi \
--disable-dart \
--disable-jack-support \
--disable-ladcca \
--disable-lash \
--disable-midishare \
--disable-oss-support \
--disable-portaudio-support \
--disable-pulse-support \
--without-readline
.fluid: fluidsynth
$(RECONF)
cd $< && $(HOSTVARS) ./configure $(FLUIDCONF)
cd $< && $(MAKE) install
touch $@
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment