summaryrefslogtreecommitdiffstats
path: root/extra
diff options
context:
space:
mode:
authorfanch <fanchyannmaria at orange dot fr>2010-06-12 19:22:30 +0200
committerfanch <fanchyannmaria at orange dot fr>2010-06-12 19:22:30 +0200
commit4222208eac7e2dbfed7ecf7063998fd3fe7e3d04 (patch)
tree5b68ee8298cd0af2408c481212ddaecc36f7b6e1 /extra
parent7d607e5fda9f21eff8fa7f4959fffb965791db2a (diff)
downloadnutyx-pakxe-4222208eac7e2dbfed7ecf7063998fd3fe7e3d04.tar.gz
nutyx-pakxe-4222208eac7e2dbfed7ecf7063998fd3fe7e3d04.tar.bz2
nutyx-pakxe-4222208eac7e2dbfed7ecf7063998fd3fe7e3d04.tar.xz
nutyx-pakxe-4222208eac7e2dbfed7ecf7063998fd3fe7e3d04.zip
ajout de fluidsynth#1.1.1-1
Diffstat (limited to 'extra')
-rw-r--r--extra/fluidsynth/.footprint40
-rw-r--r--extra/fluidsynth/.md5sum3
-rw-r--r--extra/fluidsynth/Pkgfile25
-rw-r--r--extra/fluidsynth/fluidsynth.conf3
-rw-r--r--extra/fluidsynth/fluidsynthd41
5 files changed, 112 insertions, 0 deletions
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