From 93f26272929bbe48a017f0708cbc2b2578aef7a7 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 22 Oct 2011 11:13:04 +0200 Subject: [PATCH] New package: fluidsynth-1.1.5. --- srcpkgs/fluidsynth-devel | 1 + srcpkgs/fluidsynth/depends | 2 ++ srcpkgs/fluidsynth/fluidsynth-devel.template | 14 +++++++++ srcpkgs/fluidsynth/libfluidsynth.template | 19 ++++++++++++ srcpkgs/fluidsynth/template | 31 ++++++++++++++++++++ srcpkgs/libfluidsynth | 1 + xbps-src/common/mapping_shlib_binpkg.txt | 1 + 7 files changed, 69 insertions(+) create mode 120000 srcpkgs/fluidsynth-devel create mode 100644 srcpkgs/fluidsynth/depends create mode 100644 srcpkgs/fluidsynth/fluidsynth-devel.template create mode 100644 srcpkgs/fluidsynth/libfluidsynth.template create mode 100644 srcpkgs/fluidsynth/template create mode 120000 srcpkgs/libfluidsynth diff --git a/srcpkgs/fluidsynth-devel b/srcpkgs/fluidsynth-devel new file mode 120000 index 00000000000..26487583859 --- /dev/null +++ b/srcpkgs/fluidsynth-devel @@ -0,0 +1 @@ +fluidsynth \ No newline at end of file diff --git a/srcpkgs/fluidsynth/depends b/srcpkgs/fluidsynth/depends new file mode 100644 index 00000000000..0fabab29823 --- /dev/null +++ b/srcpkgs/fluidsynth/depends @@ -0,0 +1,2 @@ +abi_depends=">=1.1.5" +api_depends="${abi_depends}" diff --git a/srcpkgs/fluidsynth/fluidsynth-devel.template b/srcpkgs/fluidsynth/fluidsynth-devel.template new file mode 100644 index 00000000000..cacb36b9ca9 --- /dev/null +++ b/srcpkgs/fluidsynth/fluidsynth-devel.template @@ -0,0 +1,14 @@ +# Template file for 'fluidsynth-devel'. +# +short_desc="${short_desc} - Development files" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run libfluidsynth + +do_install() +{ + vmove usr/include usr + vmove usr/lib/pkgconfig usr/lib +} diff --git a/srcpkgs/fluidsynth/libfluidsynth.template b/srcpkgs/fluidsynth/libfluidsynth.template new file mode 100644 index 00000000000..dc5778aaeff --- /dev/null +++ b/srcpkgs/fluidsynth/libfluidsynth.template @@ -0,0 +1,19 @@ +# Template file for 'libfluidsynth'. +# +short_desc="${short_desc} - Runtime library" +long_desc="${long_desc} + + This package contains the fluidsynth runtime lib(s)." + +Add_dependency run glibc +Add_dependency run glib +Add_dependency run libjack +Add_dependency run alsa-lib +Add_dependency run libpulseaudio +Add_dependency run libsndfile +Add_dependency run dbus-libs + +do_install() +{ + vmove "usr/lib/*.so*" usr/lib +} diff --git a/srcpkgs/fluidsynth/template b/srcpkgs/fluidsynth/template new file mode 100644 index 00000000000..94757ce7f94 --- /dev/null +++ b/srcpkgs/fluidsynth/template @@ -0,0 +1,31 @@ +# Template file for 'fluidsynth' +pkgname=fluidsynth +version=1.1.5 +homepage="http://www.fluidsynth.org/" +distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" +build_style=configure +configure_script=cmake +configure_args="-DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DLIB_SUFFIX= ." +short_desc="Real-time software synthesizer based on the SoundFont 2 specifications" +maintainer="Juan RP " +license="LGPL-2.1" +checksum=b8160ba8c48211644e94496e51f24494192c711dbb779bbd167940f3ec50aa1f +long_desc=" + 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" + +subpackages="lib$pkgname $pkgname-devel" + +Add_dependency run glibc +Add_dependency run libfluidsynth + +Add_dependency build cmake +Add_dependency build glib-devel +Add_dependency build jack-devel +Add_dependency build pulseaudio-devel +Add_dependency build dbus-devel diff --git a/srcpkgs/libfluidsynth b/srcpkgs/libfluidsynth new file mode 120000 index 00000000000..26487583859 --- /dev/null +++ b/srcpkgs/libfluidsynth @@ -0,0 +1 @@ +fluidsynth \ No newline at end of file diff --git a/xbps-src/common/mapping_shlib_binpkg.txt b/xbps-src/common/mapping_shlib_binpkg.txt index 2d03910b92a..b422ab4caf8 100644 --- a/xbps-src/common/mapping_shlib_binpkg.txt +++ b/xbps-src/common/mapping_shlib_binpkg.txt @@ -907,3 +907,4 @@ libfftw3l_threads.so.3 libfftw fftw-devel libfftw3l.so.3 libfftw fftw-devel libfftw3f_threads.so.3 libfftw fftw-devel libfftw3f.so.3 libfftw fftw-devel +libfluidsynth.so.1 libfluidsynth fluidsynth-devel