[arch-commits] Commit in fluidsynth/repos (10 files)
Ray Rashif
schiv at archlinux.org
Mon Sep 1 14:04:37 UTC 2014
Date: Monday, September 1, 2014 @ 16:04:37
Author: schiv
Revision: 220867
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
fluidsynth/repos/testing-i686/
fluidsynth/repos/testing-i686/PKGBUILD
(from rev 220866, fluidsynth/trunk/PKGBUILD)
fluidsynth/repos/testing-i686/fluidsynth.conf
(from rev 220866, fluidsynth/trunk/fluidsynth.conf)
fluidsynth/repos/testing-i686/fluidsynth.install
(from rev 220866, fluidsynth/trunk/fluidsynth.install)
fluidsynth/repos/testing-i686/fluidsynth.systemd
(from rev 220866, fluidsynth/trunk/fluidsynth.systemd)
fluidsynth/repos/testing-x86_64/
fluidsynth/repos/testing-x86_64/PKGBUILD
(from rev 220866, fluidsynth/trunk/PKGBUILD)
fluidsynth/repos/testing-x86_64/fluidsynth.conf
(from rev 220866, fluidsynth/trunk/fluidsynth.conf)
fluidsynth/repos/testing-x86_64/fluidsynth.install
(from rev 220866, fluidsynth/trunk/fluidsynth.install)
fluidsynth/repos/testing-x86_64/fluidsynth.systemd
(from rev 220866, fluidsynth/trunk/fluidsynth.systemd)
-----------------------------------+
testing-i686/PKGBUILD | 46 ++++++++++++++++++++++++++++++++++++
testing-i686/fluidsynth.conf | 8 ++++++
testing-i686/fluidsynth.install | 11 ++++++++
testing-i686/fluidsynth.systemd | 10 +++++++
testing-x86_64/PKGBUILD | 46 ++++++++++++++++++++++++++++++++++++
testing-x86_64/fluidsynth.conf | 8 ++++++
testing-x86_64/fluidsynth.install | 11 ++++++++
testing-x86_64/fluidsynth.systemd | 10 +++++++
8 files changed, 150 insertions(+)
Copied: fluidsynth/repos/testing-i686/PKGBUILD (from rev 220866, fluidsynth/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2014-09-01 14:04:37 UTC (rev 220867)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Ray Rashif <schiv at archlinux.org>
+# Contributor: damir <damir at archlinux.org>
+
+pkgname=fluidsynth
+pkgver=1.1.6
+pkgrel=4
+pkgdesc="A real-time software synthesizer based on the SoundFont 2 specifications"
+arch=('i686' 'x86_64')
+url="http://www.fluidsynth.org/"
+depends=('jack' 'libpulse')
+makedepends=('cmake' 'ladspa' 'doxygen')
+optdepends=('pulseaudio: PulseAudio sound support')
+license=('LGPL')
+backup=("etc/conf.d/$pkgname")
+install=$pkgname.install
+source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
+ 'fluidsynth.systemd'
+ 'fluidsynth.conf')
+md5sums=('ae5aca6de824b4173667cbd3a310b263'
+ 'ba5e2c71a98d593339e1460c60b0951c'
+ '2167e6a7e38ed29399d77179072548f2')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ cmake . -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -Denable-ladspa=ON \
+ -DLIB_SUFFIX=""
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+
+ install -Dm644 "$srcdir/$pkgname.systemd" \
+ "$pkgdir/usr/lib/systemd/system/$pkgname.service"
+
+ install -Dm644 "$srcdir/$pkgname.conf" \
+ "$pkgdir/etc/conf.d/$pkgname"
+}
+
+# vim:set ts=2 sw=2 et:
Copied: fluidsynth/repos/testing-i686/fluidsynth.conf (from rev 220866, fluidsynth/trunk/fluidsynth.conf)
===================================================================
--- testing-i686/fluidsynth.conf (rev 0)
+++ testing-i686/fluidsynth.conf 2014-09-01 14:04:37 UTC (rev 220867)
@@ -0,0 +1,8 @@
+# Mandatory parameters (uncomment and edit)
+#SOUND_FONT=/path/to/a/soundfont
+#AUDIO_DRIVER=alsa|jack|pulseaudio
+# see 'fluidsynth -a help'
+
+# Optional parameters (may be helpful)
+#OTHER_OPTS='-m alsa_seq -r 48000'
+# man fluidsynth, please
Copied: fluidsynth/repos/testing-i686/fluidsynth.install (from rev 220866, fluidsynth/trunk/fluidsynth.install)
===================================================================
--- testing-i686/fluidsynth.install (rev 0)
+++ testing-i686/fluidsynth.install 2014-09-01 14:04:37 UTC (rev 220867)
@@ -0,0 +1,11 @@
+post_install() {
+ echo
+ echo " > FluidSynth comes with a daemon. Start/enable it with systemd."
+ echo " > Before that, you need a soundfont and some preconfiguration:"
+ echo " /etc/conf.d/fluidsynth"
+ echo
+ echo " > PulseAudio output when running as a daemon is known to be"
+ echo " > problematic. See the following bulletin board post:"
+ echo " https://bbs.archlinux.org/viewtopic.php?id=135092"
+ echo
+}
Copied: fluidsynth/repos/testing-i686/fluidsynth.systemd (from rev 220866, fluidsynth/trunk/fluidsynth.systemd)
===================================================================
--- testing-i686/fluidsynth.systemd (rev 0)
+++ testing-i686/fluidsynth.systemd 2014-09-01 14:04:37 UTC (rev 220867)
@@ -0,0 +1,10 @@
+[Unit]
+Description=FluidSynth Daemon
+After=sound.target
+
+[Service]
+ExecStart=/usr/bin/fluidsynth -is -a $AUDIO_DRIVER $OTHER_OPTS $SOUND_FONT
+EnvironmentFile=/etc/conf.d/fluidsynth
+
+[Install]
+WantedBy=multi-user.target
Copied: fluidsynth/repos/testing-x86_64/PKGBUILD (from rev 220866, fluidsynth/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2014-09-01 14:04:37 UTC (rev 220867)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Ray Rashif <schiv at archlinux.org>
+# Contributor: damir <damir at archlinux.org>
+
+pkgname=fluidsynth
+pkgver=1.1.6
+pkgrel=4
+pkgdesc="A real-time software synthesizer based on the SoundFont 2 specifications"
+arch=('i686' 'x86_64')
+url="http://www.fluidsynth.org/"
+depends=('jack' 'libpulse')
+makedepends=('cmake' 'ladspa' 'doxygen')
+optdepends=('pulseaudio: PulseAudio sound support')
+license=('LGPL')
+backup=("etc/conf.d/$pkgname")
+install=$pkgname.install
+source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
+ 'fluidsynth.systemd'
+ 'fluidsynth.conf')
+md5sums=('ae5aca6de824b4173667cbd3a310b263'
+ 'ba5e2c71a98d593339e1460c60b0951c'
+ '2167e6a7e38ed29399d77179072548f2')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ cmake . -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -Denable-ladspa=ON \
+ -DLIB_SUFFIX=""
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+
+ install -Dm644 "$srcdir/$pkgname.systemd" \
+ "$pkgdir/usr/lib/systemd/system/$pkgname.service"
+
+ install -Dm644 "$srcdir/$pkgname.conf" \
+ "$pkgdir/etc/conf.d/$pkgname"
+}
+
+# vim:set ts=2 sw=2 et:
Copied: fluidsynth/repos/testing-x86_64/fluidsynth.conf (from rev 220866, fluidsynth/trunk/fluidsynth.conf)
===================================================================
--- testing-x86_64/fluidsynth.conf (rev 0)
+++ testing-x86_64/fluidsynth.conf 2014-09-01 14:04:37 UTC (rev 220867)
@@ -0,0 +1,8 @@
+# Mandatory parameters (uncomment and edit)
+#SOUND_FONT=/path/to/a/soundfont
+#AUDIO_DRIVER=alsa|jack|pulseaudio
+# see 'fluidsynth -a help'
+
+# Optional parameters (may be helpful)
+#OTHER_OPTS='-m alsa_seq -r 48000'
+# man fluidsynth, please
Copied: fluidsynth/repos/testing-x86_64/fluidsynth.install (from rev 220866, fluidsynth/trunk/fluidsynth.install)
===================================================================
--- testing-x86_64/fluidsynth.install (rev 0)
+++ testing-x86_64/fluidsynth.install 2014-09-01 14:04:37 UTC (rev 220867)
@@ -0,0 +1,11 @@
+post_install() {
+ echo
+ echo " > FluidSynth comes with a daemon. Start/enable it with systemd."
+ echo " > Before that, you need a soundfont and some preconfiguration:"
+ echo " /etc/conf.d/fluidsynth"
+ echo
+ echo " > PulseAudio output when running as a daemon is known to be"
+ echo " > problematic. See the following bulletin board post:"
+ echo " https://bbs.archlinux.org/viewtopic.php?id=135092"
+ echo
+}
Copied: fluidsynth/repos/testing-x86_64/fluidsynth.systemd (from rev 220866, fluidsynth/trunk/fluidsynth.systemd)
===================================================================
--- testing-x86_64/fluidsynth.systemd (rev 0)
+++ testing-x86_64/fluidsynth.systemd 2014-09-01 14:04:37 UTC (rev 220867)
@@ -0,0 +1,10 @@
+[Unit]
+Description=FluidSynth Daemon
+After=sound.target
+
+[Service]
+ExecStart=/usr/bin/fluidsynth -is -a $AUDIO_DRIVER $OTHER_OPTS $SOUND_FONT
+EnvironmentFile=/etc/conf.d/fluidsynth
+
+[Install]
+WantedBy=multi-user.target
More information about the arch-commits
mailing list