diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2004-02-10 09:48:52 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2004-02-10 09:48:52 +0000 |
commit | 493ca200232e5bd410056451e8d67b3105ab96af (patch) | |
tree | 0ba8b248c0acea94166a7aeeddca0ef60a49c9f3 /media-sound/timidity++/timidity++-2.12.0-r3.ebuild | |
parent | x86 stable (diff) | |
download | historical-493ca200232e5bd410056451e8d67b3105ab96af.tar.gz historical-493ca200232e5bd410056451e8d67b3105ab96af.tar.bz2 historical-493ca200232e5bd410056451e8d67b3105ab96af.zip |
Added timidity init script for alsa virtual sequencer to close bug #21258. Bump -r3 into stable for x86.
Diffstat (limited to 'media-sound/timidity++/timidity++-2.12.0-r3.ebuild')
-rw-r--r-- | media-sound/timidity++/timidity++-2.12.0-r3.ebuild | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/media-sound/timidity++/timidity++-2.12.0-r3.ebuild b/media-sound/timidity++/timidity++-2.12.0-r3.ebuild index 27c57e5c0bef..2fecd361ebc9 100644 --- a/media-sound/timidity++/timidity++-2.12.0-r3.ebuild +++ b/media-sound/timidity++/timidity++-2.12.0-r3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/timidity++/timidity++-2.12.0-r3.ebuild,v 1.8 2004/02/01 13:32:34 ferringb Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/timidity++/timidity++-2.12.0-r3.ebuild,v 1.9 2004/02/10 09:48:52 eradicator Exp $ MY_P=TiMidity++-${PV}-pre1 S=${WORKDIR}/${MY_P} @@ -10,7 +10,7 @@ SRC_URI="http://www.goice.co.jp/member/mo/timidity/dist/${MY_P}.tar.bz2" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~x86 ~ppc ~amd64 ~sparc" +KEYWORDS="x86 ~ppc ~amd64 ~sparc" IUSE="oss nas esd motif X gtk oggvorbis tcltk slang alsa" inherit gnuconfig @@ -88,6 +88,14 @@ src_install () { doins ${FILESDIR}/timidity.cfg dodoc AUTHORS COPYING ChangeLog* INSTALL* dodoc NEWS README* + + if use alsa; then + insinto /etc/conf.d + newins ${FILESDIR}/conf.d.timidity timidity + + exeinto /etc/init.d + newexe ${FILESDIR}/init.d.timidity timidity + fi } pkg_postinst () { @@ -97,4 +105,9 @@ pkg_postinst () { einfo "file must to copied into /usr/share/timidity/" einfo "and edited to match your configuration." einfo "" + if use alsa; then + einfo "An init script for the alsa timidity sequencer has been installed." + einfo "If you wish to use the timidity virtual sequencer, edit /etc/conf.d/timidity" + einfo "and run 'rc-update add timidity <runlevel> && /etc/init.d/timidity start'" + fi } |