[arch-commits] Commit in timidity++/repos (10 files)
Eric Bélanger
eric at archlinux.org
Sat Aug 18 06:55:19 UTC 2012
Date: Saturday, August 18, 2012 @ 02:55:18
Author: eric
Revision: 165408
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
timidity++/repos/testing-i686/
timidity++/repos/testing-i686/PKGBUILD
(from rev 165407, timidity++/trunk/PKGBUILD)
timidity++/repos/testing-i686/timidity++.sh
(from rev 165407, timidity++/trunk/timidity++.sh)
timidity++/repos/testing-i686/timidity.cfg
(from rev 165407, timidity++/trunk/timidity.cfg)
timidity++/repos/testing-i686/timidity.service
(from rev 165407, timidity++/trunk/timidity.service)
timidity++/repos/testing-x86_64/
timidity++/repos/testing-x86_64/PKGBUILD
(from rev 165407, timidity++/trunk/PKGBUILD)
timidity++/repos/testing-x86_64/timidity++.sh
(from rev 165407, timidity++/trunk/timidity++.sh)
timidity++/repos/testing-x86_64/timidity.cfg
(from rev 165407, timidity++/trunk/timidity.cfg)
timidity++/repos/testing-x86_64/timidity.service
(from rev 165407, timidity++/trunk/timidity.service)
---------------------------------+
testing-i686/PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
testing-i686/timidity++.sh | 38 ++++++++++++++++++++++++++++++++++++++
testing-i686/timidity.cfg | 29 +++++++++++++++++++++++++++++
testing-i686/timidity.service | 10 ++++++++++
testing-x86_64/PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
testing-x86_64/timidity++.sh | 38 ++++++++++++++++++++++++++++++++++++++
testing-x86_64/timidity.cfg | 29 +++++++++++++++++++++++++++++
testing-x86_64/timidity.service | 10 ++++++++++
8 files changed, 230 insertions(+)
Copied: timidity++/repos/testing-i686/PKGBUILD (from rev 165407, timidity++/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2012-08-18 06:55:18 UTC (rev 165408)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=timidity++
+pkgver=2.14.0
+pkgrel=2
+pkgdesc="A MIDI to WAVE converter and player"
+arch=('i686' 'x86_64')
+url="http://timidity.sourceforge.net"
+license=('GPL')
+depends=('libao' 'libvorbis' 'jack' 'ncurses')
+makedepends=('xaw3d>=1.6' 'gtk2' 'tk' 'libxaw')
+optdepends=('gtk2: for using the GTK+ interface' 'tk: for using the Tk interface' \
+ 'xaw3d: for using the Xaw interface')
+backup=('etc/timidity++/timidity.cfg')
+source=(http://downloads.sourceforge.net/timidity/TiMidity++-${pkgver}.tar.xz \
+ timidity.cfg timidity++.sh timidity.service)
+sha1sums=('15ec27f1ea3e718a8d61603521fc16df5c0dd24b'
+ '660b3afbb720d26e8f008034cee66dd8da082d6e'
+ '9f3e732a7ca1e97119a76df62ecf154df04d4f77'
+ '391cdfbddefe59c121b1aa80a67e347ed703bf5f')
+
+build() {
+ cd "${srcdir}/TiMidity++-${pkgver}"
+ ./configure --prefix=/usr --mandir=/usr/share/man --with-default-path=/etc/timidity++/ \
+ --enable-server --enable-alsaseq --enable-spectrogram --enable-network --enable-xft \
+ --enable-audio=alsa,oss,ao,vorbis,flac,jack \
+ --enable-dynamic=ncurses,tcltk,vt100,xaw,gtk
+ make
+}
+
+package() {
+ cd "${srcdir}/TiMidity++-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ install -D -m644 ../timidity.cfg "${pkgdir}/etc/timidity++/timidity.cfg"
+ install -D -m755 ../timidity++.sh "${pkgdir}/etc/rc.d/timidity++"
+ install -D -m644 ../timidity.service "${pkgdir}/usr/lib/systemd/system/timidity.service"
+}
Copied: timidity++/repos/testing-i686/timidity++.sh (from rev 165407, timidity++/trunk/timidity++.sh)
===================================================================
--- testing-i686/timidity++.sh (rev 0)
+++ testing-i686/timidity++.sh 2012-08-18 06:55:18 UTC (rev 165408)
@@ -0,0 +1,38 @@
+#!/bin/bash
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+
+PID=`pidof -o %PPID /usr/bin/timidity`
+case "$1" in
+ start)
+ stat_busy "Starting Timidity++ ALSA Daemon"
+ [ -z "$PID" ] && /usr/bin/timidity -iAD > /dev/null
+ if [ $? -gt 0 ]; then
+ stat_fail
+ else
+ echo $PID > /var/run/timidity.pid
+ add_daemon timidity++
+ stat_done
+ fi
+ ;;
+ stop)
+ stat_busy "Stopping Timidity++ ALSA Daemon"
+ [ ! -z "$PID" ] && kill $PID &> /dev/null
+ if [ $? -gt 0 ]; then
+ stat_fail
+ else
+ rm /var/run/timidity.pid
+ rm_daemon timidity++
+ stat_done
+ fi
+ ;;
+ restart)
+ $0 stop
+ sleep 1
+ $0 start
+ ;;
+ *)
+ echo "usage: $0 {start|stop|restart}"
+esac
+exit 0
Copied: timidity++/repos/testing-i686/timidity.cfg (from rev 165407, timidity++/trunk/timidity.cfg)
===================================================================
--- testing-i686/timidity.cfg (rev 0)
+++ testing-i686/timidity.cfg 2012-08-18 06:55:18 UTC (rev 165408)
@@ -0,0 +1,29 @@
+# details on this file and other examples see here:
+# http://www.onicos.com/staff/iz/timidity/dist/cfg/sndfont.cfg
+# http://www.onicos.com/staff/iz/timidity/dist/cfg/
+#----------------------------------------------------------------
+# SoundFont extension configuration
+#
+# soundfont <filename> [order={0|1}] [remove]
+# <filename> is the path of SoundFont file.
+# order: 0(preload) or 1(load after GUS).
+# remove: disable specified soundfont.
+#
+# font exclude <tonebank> [<preset> [<keynote>]]
+# font order {0|1} <tonebank> [<preset> [<keynote>]]
+# <tonebank>: 0-127
+#
+# font exclude 128 [<drumset> [<key>]]
+# font order {0|1} 128 [<drumset> [<key>]]
+#----------------------------------------------------------------
+
+# change the next line to point to a soundfont you have
+# soundfonts can be found e.g. here: http://www.hammersound.net/
+# soundfont /usr/share/soundfonts/DX7Piano.SF2
+
+# you can do manipulations of the soundfont you load like this:
+# e.g. removing drumset 99
+# font exclude 128 99
+
+# load drum samples after GUS patches
+# font order 1 128
Copied: timidity++/repos/testing-i686/timidity.service (from rev 165407, timidity++/trunk/timidity.service)
===================================================================
--- testing-i686/timidity.service (rev 0)
+++ testing-i686/timidity.service 2012-08-18 06:55:18 UTC (rev 165408)
@@ -0,0 +1,10 @@
+[Unit]
+Description=TiMidity++ Daemon
+After=sound.target
+
+[Service]
+ExecStart=/usr/bin/timidity -iAD
+Type=forking
+
+[Install]
+WantedBy=multi-user.target
Copied: timidity++/repos/testing-x86_64/PKGBUILD (from rev 165407, timidity++/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2012-08-18 06:55:18 UTC (rev 165408)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=timidity++
+pkgver=2.14.0
+pkgrel=2
+pkgdesc="A MIDI to WAVE converter and player"
+arch=('i686' 'x86_64')
+url="http://timidity.sourceforge.net"
+license=('GPL')
+depends=('libao' 'libvorbis' 'jack' 'ncurses')
+makedepends=('xaw3d>=1.6' 'gtk2' 'tk' 'libxaw')
+optdepends=('gtk2: for using the GTK+ interface' 'tk: for using the Tk interface' \
+ 'xaw3d: for using the Xaw interface')
+backup=('etc/timidity++/timidity.cfg')
+source=(http://downloads.sourceforge.net/timidity/TiMidity++-${pkgver}.tar.xz \
+ timidity.cfg timidity++.sh timidity.service)
+sha1sums=('15ec27f1ea3e718a8d61603521fc16df5c0dd24b'
+ '660b3afbb720d26e8f008034cee66dd8da082d6e'
+ '9f3e732a7ca1e97119a76df62ecf154df04d4f77'
+ '391cdfbddefe59c121b1aa80a67e347ed703bf5f')
+
+build() {
+ cd "${srcdir}/TiMidity++-${pkgver}"
+ ./configure --prefix=/usr --mandir=/usr/share/man --with-default-path=/etc/timidity++/ \
+ --enable-server --enable-alsaseq --enable-spectrogram --enable-network --enable-xft \
+ --enable-audio=alsa,oss,ao,vorbis,flac,jack \
+ --enable-dynamic=ncurses,tcltk,vt100,xaw,gtk
+ make
+}
+
+package() {
+ cd "${srcdir}/TiMidity++-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ install -D -m644 ../timidity.cfg "${pkgdir}/etc/timidity++/timidity.cfg"
+ install -D -m755 ../timidity++.sh "${pkgdir}/etc/rc.d/timidity++"
+ install -D -m644 ../timidity.service "${pkgdir}/usr/lib/systemd/system/timidity.service"
+}
Copied: timidity++/repos/testing-x86_64/timidity++.sh (from rev 165407, timidity++/trunk/timidity++.sh)
===================================================================
--- testing-x86_64/timidity++.sh (rev 0)
+++ testing-x86_64/timidity++.sh 2012-08-18 06:55:18 UTC (rev 165408)
@@ -0,0 +1,38 @@
+#!/bin/bash
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+
+PID=`pidof -o %PPID /usr/bin/timidity`
+case "$1" in
+ start)
+ stat_busy "Starting Timidity++ ALSA Daemon"
+ [ -z "$PID" ] && /usr/bin/timidity -iAD > /dev/null
+ if [ $? -gt 0 ]; then
+ stat_fail
+ else
+ echo $PID > /var/run/timidity.pid
+ add_daemon timidity++
+ stat_done
+ fi
+ ;;
+ stop)
+ stat_busy "Stopping Timidity++ ALSA Daemon"
+ [ ! -z "$PID" ] && kill $PID &> /dev/null
+ if [ $? -gt 0 ]; then
+ stat_fail
+ else
+ rm /var/run/timidity.pid
+ rm_daemon timidity++
+ stat_done
+ fi
+ ;;
+ restart)
+ $0 stop
+ sleep 1
+ $0 start
+ ;;
+ *)
+ echo "usage: $0 {start|stop|restart}"
+esac
+exit 0
Copied: timidity++/repos/testing-x86_64/timidity.cfg (from rev 165407, timidity++/trunk/timidity.cfg)
===================================================================
--- testing-x86_64/timidity.cfg (rev 0)
+++ testing-x86_64/timidity.cfg 2012-08-18 06:55:18 UTC (rev 165408)
@@ -0,0 +1,29 @@
+# details on this file and other examples see here:
+# http://www.onicos.com/staff/iz/timidity/dist/cfg/sndfont.cfg
+# http://www.onicos.com/staff/iz/timidity/dist/cfg/
+#----------------------------------------------------------------
+# SoundFont extension configuration
+#
+# soundfont <filename> [order={0|1}] [remove]
+# <filename> is the path of SoundFont file.
+# order: 0(preload) or 1(load after GUS).
+# remove: disable specified soundfont.
+#
+# font exclude <tonebank> [<preset> [<keynote>]]
+# font order {0|1} <tonebank> [<preset> [<keynote>]]
+# <tonebank>: 0-127
+#
+# font exclude 128 [<drumset> [<key>]]
+# font order {0|1} 128 [<drumset> [<key>]]
+#----------------------------------------------------------------
+
+# change the next line to point to a soundfont you have
+# soundfonts can be found e.g. here: http://www.hammersound.net/
+# soundfont /usr/share/soundfonts/DX7Piano.SF2
+
+# you can do manipulations of the soundfont you load like this:
+# e.g. removing drumset 99
+# font exclude 128 99
+
+# load drum samples after GUS patches
+# font order 1 128
Copied: timidity++/repos/testing-x86_64/timidity.service (from rev 165407, timidity++/trunk/timidity.service)
===================================================================
--- testing-x86_64/timidity.service (rev 0)
+++ testing-x86_64/timidity.service 2012-08-18 06:55:18 UTC (rev 165408)
@@ -0,0 +1,10 @@
+[Unit]
+Description=TiMidity++ Daemon
+After=sound.target
+
+[Service]
+ExecStart=/usr/bin/timidity -iAD
+Type=forking
+
+[Install]
+WantedBy=multi-user.target
More information about the arch-commits
mailing list