From e6a0dfda110fb3d6370fb9704c9bcb63ea71c9d0 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sun, 28 Feb 2016 18:54:30 -0500 Subject: [PATCH] Add packages for fluidsynth. --- pkgdef/SDL2_mixer.sh | 7 +++++++ pkgdef/fluidsynth.sh | 5 +++++ pkgdef/gettext.sh | 4 ++++ pkgdef/glib.sh | 5 +++++ pkgdef/libffi.sh | 4 ++++ 5 files changed, 25 insertions(+) create mode 100644 pkgdef/fluidsynth.sh create mode 100644 pkgdef/gettext.sh create mode 100644 pkgdef/glib.sh create mode 100644 pkgdef/libffi.sh diff --git a/pkgdef/SDL2_mixer.sh b/pkgdef/SDL2_mixer.sh index fdb7482..9f20837 100644 --- a/pkgdef/SDL2_mixer.sh +++ b/pkgdef/SDL2_mixer.sh @@ -17,4 +17,11 @@ if ! chocpkg installed libogg; then config_options+=" --disable-music-ogg" fi +# FluidSynth, if we have it. +if chocpkg installed fluidsynth; then + config_options+=" --enable-music-midi-fluidsynth" +else + config_options+=" --disable-music-midi-fluidsynth" +fi + build_autotools $config_options diff --git a/pkgdef/fluidsynth.sh b/pkgdef/fluidsynth.sh new file mode 100644 index 0000000..a1815da --- /dev/null +++ b/pkgdef/fluidsynth.sh @@ -0,0 +1,5 @@ +description "Real-time sound font software synthesizer" +check_pkgconfig fluidsynth +fetch_download http://www.chocolate-doom.org/depends/fluidsynth-1.1.6.tar.gz +dependencies glib +build_autotools diff --git a/pkgdef/gettext.sh b/pkgdef/gettext.sh new file mode 100644 index 0000000..ac67f1d --- /dev/null +++ b/pkgdef/gettext.sh @@ -0,0 +1,4 @@ +description "gettext localization library" +check_tool gettext +fetch_download https://ftp.gnu.org/pub/gnu/gettext/gettext-0.19.7.tar.gz +build_autotools --disable-java diff --git a/pkgdef/glib.sh b/pkgdef/glib.sh new file mode 100644 index 0000000..b0a6036 --- /dev/null +++ b/pkgdef/glib.sh @@ -0,0 +1,5 @@ +description "GNOME glib core utility library" +check_pkgconfig glib +fetch_download http://www.chocolate-doom.org/depends/glib-2.47.6.tar.gz +dependencies libffi gettext zlib +build_autotools --with-pcre=internal diff --git a/pkgdef/libffi.sh b/pkgdef/libffi.sh new file mode 100644 index 0000000..a32867d --- /dev/null +++ b/pkgdef/libffi.sh @@ -0,0 +1,4 @@ +description "Foreign function interface library" +check_pkgconfig libffi +fetch_download https://www.mirrorservice.org/sites/sourceware.org/pub/libffi/libffi-3.2.tar.gz +build_autotools