diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2004-03-14 00:26:54 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2004-03-14 00:26:54 +0000 |
commit | bedaced8ba5399b67361258b6bde951f1205698a (patch) | |
tree | 7c004624afd6d1f0c405b7fc730302e7134c9a94 /media-sound | |
parent | Added ~mips keyword. (diff) | |
download | historical-bedaced8ba5399b67361258b6bde951f1205698a.tar.gz historical-bedaced8ba5399b67361258b6bde951f1205698a.tar.bz2 historical-bedaced8ba5399b67361258b6bde951f1205698a.zip |
Added init script. Closes bug #43374.
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/alsa-utils/Manifest | 24 | ||||
-rw-r--r-- | media-sound/speechd/ChangeLog | 8 | ||||
-rw-r--r-- | media-sound/speechd/Manifest | 5 | ||||
-rw-r--r-- | media-sound/speechd/files/digest-speechd-0.56-r1 | 1 | ||||
-rw-r--r-- | media-sound/speechd/files/speechd.rc | 20 | ||||
-rw-r--r-- | media-sound/speechd/speechd-0.56-r1.ebuild | 57 |
6 files changed, 101 insertions, 14 deletions
diff --git a/media-sound/alsa-utils/Manifest b/media-sound/alsa-utils/Manifest index bb04490a4090..97ef7678be5f 100644 --- a/media-sound/alsa-utils/Manifest +++ b/media-sound/alsa-utils/Manifest @@ -1,24 +1,24 @@ -MD5 7a24d8c6d2d3f9d5e6608c57a498513a ChangeLog 7998 -MD5 8086ad08b8a589e4eb46c1f0dffb308b alsa-utils-0.5.10-r8.ebuild 973 -MD5 228feb68f019961e1248c98183dec466 alsa-utils-0.9.0_rc2.ebuild 923 MD5 8213cd5df50ead11fe4b21add33cedcb alsa-utils-0.9.2.ebuild 909 -MD5 ab06a171a7f51d57cab271f309fbb8b0 alsa-utils-0.9.5.ebuild 901 -MD5 ff781e61df4fc5f2434eac0feb4b90fb alsa-utils-0.9.8.ebuild 1777 -MD5 283c68637695d79e83ee93e86becaf81 alsa-utils-1.0.0_rc2.ebuild 1871 +MD5 228feb68f019961e1248c98183dec466 alsa-utils-0.9.0_rc2.ebuild 923 MD5 bff9fa14c49f51594a82b2c32737e3c8 alsa-utils-1.0.1.ebuild 1866 -MD5 159eed0ec79edd8ccc4bef842c5af20c alsa-utils-1.0.2.ebuild 1861 +MD5 283c68637695d79e83ee93e86becaf81 alsa-utils-1.0.0_rc2.ebuild 1871 MD5 710a86324a5e6760da4a472d40247215 alsa-utils-1.0.3.ebuild 1861 +MD5 ff781e61df4fc5f2434eac0feb4b90fb alsa-utils-0.9.8.ebuild 1777 +MD5 8086ad08b8a589e4eb46c1f0dffb308b alsa-utils-0.5.10-r8.ebuild 973 +MD5 ab06a171a7f51d57cab271f309fbb8b0 alsa-utils-0.9.5.ebuild 901 +MD5 61c95e33db9574573ee4028b24c2863c ChangeLog 8101 MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158 -MD5 dcc66ee6a9db24006a4158e2be0da3f2 files/alsa-0.5.10 392 +MD5 92226757cdd5b19b938527089207f044 alsa-utils-1.0.2.ebuild 1868 MD5 f8aff370f9c369682ac793f5b3f4886e files/alsa-modules.conf-rc 1158 -MD5 f20045fc395596290d5a6d807ba311fc files/alsa-utils-0.5.10-aplay-destdir.diff 626 -MD5 61dcd73b658c151c79478a3876766e21 files/alsasound 5316 -MD5 a82c4c173c1d617bae9967438c659bac files/digest-alsa-utils-0.5.10-r8 70 MD5 59a93bf64737644e4001cbb6ad5387b4 files/digest-alsa-utils-0.9.0_rc2 71 MD5 55414f65ffecf5f44fa35295dae8bf19 files/digest-alsa-utils-0.9.2 69 MD5 07ad906b0309f5e8061f7a6c99985532 files/digest-alsa-utils-0.9.5 69 MD5 c393c831cb8bcda375cd4690e85b3495 files/digest-alsa-utils-0.9.8 69 -MD5 ad803523008747726c87b9c505517f4c files/digest-alsa-utils-1.0.0_rc2 72 MD5 e8a6136416d4dfb16cc6a313dab77aa1 files/digest-alsa-utils-1.0.1 69 MD5 937332cbdb9fab58e9e43a58a3f965de files/digest-alsa-utils-1.0.2 69 MD5 fb1ac340c0b5d2f19099ee4c89100919 files/digest-alsa-utils-1.0.3 69 +MD5 ad803523008747726c87b9c505517f4c files/digest-alsa-utils-1.0.0_rc2 72 +MD5 f20045fc395596290d5a6d807ba311fc files/alsa-utils-0.5.10-aplay-destdir.diff 626 +MD5 dcc66ee6a9db24006a4158e2be0da3f2 files/alsa-0.5.10 392 +MD5 a82c4c173c1d617bae9967438c659bac files/digest-alsa-utils-0.5.10-r8 70 +MD5 61dcd73b658c151c79478a3876766e21 files/alsasound 5316 diff --git a/media-sound/speechd/ChangeLog b/media-sound/speechd/ChangeLog index 4d3b4548acae..253f0a32c8f6 100644 --- a/media-sound/speechd/ChangeLog +++ b/media-sound/speechd/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-sound/speechd # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/speechd/ChangeLog,v 1.5 2004/02/19 04:02:22 augustus Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/speechd/ChangeLog,v 1.6 2004/03/14 00:26:54 eradicator Exp $ + +*speechd-0.56-r1 (13 Mar 2004) + + 13 Mar 2004; Jeremy Huddleston <eradicator@gentoo.org> + speechd-0.56-r1.ebuild, files/speechd.rc: + Added init script. Closes bug #43374. 18 Feb 2004; <augustus@gentoo.org> speechd-0.56.ebuild: Added amd64 to keywords. Works great with festival. Made stable as it's the diff --git a/media-sound/speechd/Manifest b/media-sound/speechd/Manifest index ea208dda3d7e..a690f8eb294f 100644 --- a/media-sound/speechd/Manifest +++ b/media-sound/speechd/Manifest @@ -1,4 +1,7 @@ MD5 c7ff26273453eb3c3d4174f8eb5ec79f speechd-0.56.ebuild 1321 -MD5 2340c95bdbfbae5ef68e8398fe466e40 ChangeLog 664 +MD5 1490c79ef8c2bc052ad12a9f533e194d speechd-0.56-r1.ebuild 1497 +MD5 3176c5f9a1867a696729c62007996b70 ChangeLog 841 MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158 +MD5 bc0a2d35e9d4d817f657a8aad30d3a14 files/digest-speechd-0.56-r1 63 MD5 bc0a2d35e9d4d817f657a8aad30d3a14 files/digest-speechd-0.56 63 +MD5 9c4a8caa8b2ba817b8edc88d591cf000 files/speechd.rc 506 diff --git a/media-sound/speechd/files/digest-speechd-0.56-r1 b/media-sound/speechd/files/digest-speechd-0.56-r1 new file mode 100644 index 000000000000..e56f75958e9f --- /dev/null +++ b/media-sound/speechd/files/digest-speechd-0.56-r1 @@ -0,0 +1 @@ +MD5 e74f55f84427c56c9e04961535798b4b speechd-0.56.tar.gz 23815 diff --git a/media-sound/speechd/files/speechd.rc b/media-sound/speechd/files/speechd.rc new file mode 100644 index 000000000000..2862304ffbe7 --- /dev/null +++ b/media-sound/speechd/files/speechd.rc @@ -0,0 +1,20 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/speechd/files/speechd.rc,v 1.1 2004/03/14 00:26:54 eradicator Exp $ + +depend() { + need festival +} + +start() { + ebegin "Starting speechd" + start-stop-daemon --start --quiet --exec /usr/bin/speechd -- -Q + eend $? +} + +stop() { + ebegin "Stopping speechd" + start-stop-daemon --stop --quiet --pidfile /var/run/speechd.pid + eend $? +} diff --git a/media-sound/speechd/speechd-0.56-r1.ebuild b/media-sound/speechd/speechd-0.56-r1.ebuild new file mode 100644 index 000000000000..70c69154e009 --- /dev/null +++ b/media-sound/speechd/speechd-0.56-r1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/speechd/speechd-0.56-r1.ebuild,v 1.1 2004/03/14 00:26:54 eradicator Exp $ + +S=${WORKDIR}/${PN} +DESCRIPTION="Implements /dev/speech (any text written to /dev/speech will be spoken aloud)" +HOMEPAGE="http://www.speechio.org/" +SRC_URI="http://www.speechio.org/dl/${P}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~amd64" +IUSE="esd" + +DEPEND="dev-lang/perl" + +RDEPEND="${DEPEND} + esd? ( media-sound/esound ) + >=media-sound/festival-1.4.3-r1" + +src_compile() { + emake || die +} + +src_install () { + dobin ${S}/bin/speechd ${S}/bin/catspeech + use esd && dosed 's,#\($use_esd\),\1,g' /usr/bin/speechd + insinto /etc + doins speechd.sub speechdrc + exeinto /etc/init.d + newexe ${FILESDIR}/speechd.rc speechd + doman ${S}/man/man1/*.1 + dodoc README AUTHORS CHANGELOG COPYING TODO speechio.faq +} + +pkg_postinst () { + enewgroup speech + + einfo "Execute ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config" + einfo "to build the neccessary FIFO on /dev/speech." +} + +pkg_config () { + mkfifo --mode=0660 /dev/speech + chown root:speech /dev/speech + + einfo "FIFO has been created on /dev/speech" + einfo "" + einfo "In order for non-root users to take advantage of /dev/speech" + einfo "they must be added to the 'speech' group." +} + +# This would get executed on an upgrade... +#pkg_postrm () { +# einfo "Removing FIFO at /dev/speech ..." +# rm -f /dev/speech +#} |