Commit d6110118 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Finish compilation of FluidSynth on Windows.

NEVER TESTED.
parent 1ca3578e
...@@ -2425,7 +2425,6 @@ DISTCLEAN_PKG += ncurses-$(NCURSES_VERSION).tar.gz ...@@ -2425,7 +2425,6 @@ DISTCLEAN_PKG += ncurses-$(NCURSES_VERSION).tar.gz
fluidsynth-$(FLUID_VERSION).tar.gz: fluidsynth-$(FLUID_VERSION).tar.gz:
$(WGET) $(FLUID_URL) $(WGET) $(FLUID_URL)
fluidsynth: fluidsynth-$(FLUID_VERSION).tar.gz fluidsynth: fluidsynth-$(FLUID_VERSION).tar.gz
$(EXTRACT_GZ) $(EXTRACT_GZ)
ifdef HAVE_WIN32 ifdef HAVE_WIN32
......
...@@ -9,3 +9,12 @@ ...@@ -9,3 +9,12 @@
libfluidsynth_la_SOURCES = \ libfluidsynth_la_SOURCES = \
$(fluid_alsa) \ $(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}
...@@ -28,6 +28,11 @@ ...@@ -28,6 +28,11 @@
#include <vlc_aout.h> #include <vlc_aout.h>
#include <vlc_codec.h> #include <vlc_codec.h>
/* On Win32, we link statically */
#ifdef WIN32
# define FLUIDSYNTH_NOT_A_DLL
#endif
#include <fluidsynth.h> #include <fluidsynth.h>
#define SOUNDFONT_TEXT N_("Sound fonts (required)") #define SOUNDFONT_TEXT N_("Sound fonts (required)")
......
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