diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2011-10-06 15:12:28 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2011-10-06 15:12:28 +0000 |
commit | e3cadf6c6a1b9fc0fe5b66ee01f08ff847923c01 (patch) | |
tree | 26896c7822228a33b10c5a0bb74f3400f1e29ba0 /media-sound/timidity++ | |
parent | export CFLAGS to EXTRACFLAGS wrt #385817 by Agostino Sarubbo (diff) | |
download | gentoo-2-e3cadf6c6a1b9fc0fe5b66ee01f08ff847923c01.tar.gz gentoo-2-e3cadf6c6a1b9fc0fe5b66ee01f08ff847923c01.tar.bz2 gentoo-2-e3cadf6c6a1b9fc0fe5b66ee01f08ff847923c01.zip |
Update s-s-d syntax wrt #373883 by Azamat H. Hackimov
(Portage version: 2.2.0_alpha61/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/timidity++')
-rw-r--r-- | media-sound/timidity++/ChangeLog | 6 | ||||
-rw-r--r-- | media-sound/timidity++/files/init.d.timidity.4 | 20 | ||||
-rw-r--r-- | media-sound/timidity++/timidity++-2.13.2-r14.ebuild | 4 |
3 files changed, 27 insertions, 3 deletions
diff --git a/media-sound/timidity++/ChangeLog b/media-sound/timidity++/ChangeLog index 3827636f07fb..1c8004f73625 100644 --- a/media-sound/timidity++/ChangeLog +++ b/media-sound/timidity++/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-sound/timidity++ # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/timidity++/ChangeLog,v 1.135 2011/10/06 15:04:43 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/timidity++/ChangeLog,v 1.136 2011/10/06 15:12:27 ssuominen Exp $ + + 06 Oct 2011; Samuli Suominen <ssuominen@gentoo.org> + timidity++-2.13.2-r14.ebuild, +files/init.d.timidity.4: + Update s-s-d syntax wrt #373883 by Azamat H. Hackimov *timidity++-2.13.2-r14 (06 Oct 2011) diff --git a/media-sound/timidity++/files/init.d.timidity.4 b/media-sound/timidity++/files/init.d.timidity.4 new file mode 100644 index 000000000000..e3dac7fc04d5 --- /dev/null +++ b/media-sound/timidity++/files/init.d.timidity.4 @@ -0,0 +1,20 @@ +#!/sbin/runscript + +depend() { + after alsasound esound +} + +start() { + ebegin "Starting TiMidity++ Virtual Midi Sequencer" + test -n "$TIMIDITY_PCM_NAME" && export TIMIDITY_PCM_NAME + start-stop-daemon --start --background --chdir /usr/share/timidity \ + --user timidity --group audio --make-pidfile --pidfile /var/run/timidity.pid \ + --exec /usr/bin/timidity -- -iA ${TIMIDITY_OPTS} + eend $? +} + +stop() { + ebegin "Stopping TiMidity++" + start-stop-daemon --stop --quiet --pidfile /var/run/timidity.pid + eend $? +} diff --git a/media-sound/timidity++/timidity++-2.13.2-r14.ebuild b/media-sound/timidity++/timidity++-2.13.2-r14.ebuild index d6f92174c13b..1fc7d6c8037b 100644 --- a/media-sound/timidity++/timidity++-2.13.2-r14.ebuild +++ b/media-sound/timidity++/timidity++-2.13.2-r14.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/timidity++/timidity++-2.13.2-r14.ebuild,v 1.1 2011/10/06 15:04:43 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/timidity++/timidity++-2.13.2-r14.ebuild,v 1.2 2011/10/06 15:12:27 ssuominen Exp $ EAPI=4 inherit autotools eutils elisp-common @@ -116,7 +116,7 @@ src_install() { # these are only for the ALSA sequencer mode if use alsa; then newconfd "${FILESDIR}"/conf.d.timidity.2 timidity - newinitd "${FILESDIR}"/init.d.timidity.3 timidity + newinitd "${FILESDIR}"/init.d.timidity.4 timidity fi insinto /etc |