From 4222208eac7e2dbfed7ecf7063998fd3fe7e3d04 Mon Sep 17 00:00:00 2001 From: fanch Date: Sat, 12 Jun 2010 19:22:30 +0200 Subject: ajout de fluidsynth#1.1.1-1 --- extra/fluidsynth/.footprint | 40 +++++++++++++++++++++++++++++++++++++++ extra/fluidsynth/.md5sum | 3 +++ extra/fluidsynth/Pkgfile | 25 ++++++++++++++++++++++++ extra/fluidsynth/fluidsynth.conf | 3 +++ extra/fluidsynth/fluidsynthd | 41 ++++++++++++++++++++++++++++++++++++++++ 5 files changed, 112 insertions(+) create mode 100644 extra/fluidsynth/.footprint create mode 100644 extra/fluidsynth/.md5sum create mode 100644 extra/fluidsynth/Pkgfile create mode 100644 extra/fluidsynth/fluidsynth.conf create mode 100644 extra/fluidsynth/fluidsynthd (limited to 'extra') diff --git a/extra/fluidsynth/.footprint b/extra/fluidsynth/.footprint new file mode 100644 index 000000000..bc1a87181 --- /dev/null +++ b/extra/fluidsynth/.footprint @@ -0,0 +1,40 @@ +drwxr-xr-x root/root etc/ +drwxr-xr-x root/root etc/conf.d/ +-rw-r--r-- root/root etc/conf.d/fluidsynth +drwxr-xr-x root/root etc/rc.d/ +-rwxr-xr-x root/root etc/rc.d/fluidsynth +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/fluidsynth +drwxr-xr-x root/root usr/include/ +-rw-r--r-- root/root usr/include/fluidsynth.h +drwxr-xr-x root/root usr/include/fluidsynth/ +-rw-r--r-- root/root usr/include/fluidsynth/audio.h +-rw-r--r-- root/root usr/include/fluidsynth/event.h +-rw-r--r-- root/root usr/include/fluidsynth/gen.h +-rw-r--r-- root/root usr/include/fluidsynth/log.h +-rw-r--r-- root/root usr/include/fluidsynth/midi.h +-rw-r--r-- root/root usr/include/fluidsynth/misc.h +-rw-r--r-- root/root usr/include/fluidsynth/mod.h +-rw-r--r-- root/root usr/include/fluidsynth/ramsfont.h +-rw-r--r-- root/root usr/include/fluidsynth/seq.h +-rw-r--r-- root/root usr/include/fluidsynth/seqbind.h +-rw-r--r-- root/root usr/include/fluidsynth/settings.h +-rw-r--r-- root/root usr/include/fluidsynth/sfont.h +-rw-r--r-- root/root usr/include/fluidsynth/shell.h +-rw-r--r-- root/root usr/include/fluidsynth/synth.h +-rw-r--r-- root/root usr/include/fluidsynth/types.h +-rw-r--r-- root/root usr/include/fluidsynth/version.h +-rw-r--r-- root/root usr/include/fluidsynth/voice.h +drwxr-xr-x root/root usr/lib/ +-rw-r--r-- root/root usr/lib/libfluidsynth.a +-rwxr-xr-x root/root usr/lib/libfluidsynth.la +lrwxrwxrwx root/root usr/lib/libfluidsynth.so -> libfluidsynth.so.1.3.0 +lrwxrwxrwx root/root usr/lib/libfluidsynth.so.1 -> libfluidsynth.so.1.3.0 +-rwxr-xr-x root/root usr/lib/libfluidsynth.so.1.3.0 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/fluidsynth.pc +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-rw-r--r-- root/root usr/share/man/man1/fluidsynth.1.gz diff --git a/extra/fluidsynth/.md5sum b/extra/fluidsynth/.md5sum new file mode 100644 index 000000000..48929f085 --- /dev/null +++ b/extra/fluidsynth/.md5sum @@ -0,0 +1,3 @@ +0db3da78028d255026230809c6e21b44 fluidsynth-1.1.1.tar.gz +79e2f769ccc25cdb2f39db25021e7171 fluidsynth.conf +1dbe2d2b558785f8f4745a1b3982c413 fluidsynthd diff --git a/extra/fluidsynth/Pkgfile b/extra/fluidsynth/Pkgfile new file mode 100644 index 000000000..d66dcbf69 --- /dev/null +++ b/extra/fluidsynth/Pkgfile @@ -0,0 +1,25 @@ + +# Description: un synthétiseur basé sur "SoundFont" +# URL:http://www.fluidsynth.org/ +# Maintainer: NuTyX core team +# Packager: fanch +# Depends on: glib, jack, ladspa + +name=fluidsynth +version=1.1.1 +release=1 +source=(http://savannah.nongnu.org/download/fluid/$name-$version.tar.gz + fluidsynth.conf fluidsynthd) + + +build() { + cd $SRC/$name-$version + ./configure --prefix=/usr \ + --enable-ladspa + make + make prefix=$PKG/usr install + install -Dm644 $SRC/fluidsynth.conf \ + $PKG/etc/conf.d/fluidsynth + install -Dm755 $SRC/fluidsynthd \ + $PKG/etc/rc.d/fluidsynth +} diff --git a/extra/fluidsynth/fluidsynth.conf b/extra/fluidsynth/fluidsynth.conf new file mode 100644 index 000000000..42e20df8a --- /dev/null +++ b/extra/fluidsynth/fluidsynth.conf @@ -0,0 +1,3 @@ + +FSYNTH_OPTS="-a alsa -m alsa_seq -r 48000" +FSYNTH_SOUNDFONT="" \ No newline at end of file diff --git a/extra/fluidsynth/fluidsynthd b/extra/fluidsynth/fluidsynthd new file mode 100644 index 000000000..3cd306eed --- /dev/null +++ b/extra/fluidsynth/fluidsynthd @@ -0,0 +1,41 @@ + +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions + +[ -f /etc/conf.d/fluidsynth ] && . /etc/conf.d/fluidsynth + +PID=`pidof -o %PPID /usr/bin/fluidsynth` +case "$1" in + start) + stat_busy "Starting Fluidsynth soundfont synthesizer" + [ -z "$PID" ] && /usr/bin/fluidsynth -is $FSYNTH_OPTS $FSYNTH_SOUNDFONT > /dev/null 2>&1 & + if [ $? -gt 0 ]; then + stat_fail + else + echo $PID > /var/run/fluidsynth.pid + add_daemon fluidsynth + stat_done + fi + ;; + stop) + stat_busy "Stopping Fluidsynth soundfont synthesizer" + [ ! -z "$PID" ] && kill $PID &> /dev/null 2>&1 + if [ $? -gt 0 ]; then + stat_fail + else + rm /var/run/fluidsynth.pid + rm_daemon fluidsynth + stat_done + fi + ;; + restart) + $0 stop + sleep 1 + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac +exit 0 -- cgit v1.2.3-70-g09d2