Add java herd to metadata.xml so that we can do changes as our eclasses evolve and...
authorPetteri Räty <betelgeuse@gentoo.org>
Tue, 10 Apr 2007 19:28:02 +0000 (19:28 +0000)
committerPetteri Räty <betelgeuse@gentoo.org>
Tue, 10 Apr 2007 19:28:02 +0000 (19:28 +0000)
Package-Manager: portage-2.1.2.3

app-accessibility/gnome-speech/ChangeLog
app-accessibility/gnome-speech/Manifest
app-accessibility/gnome-speech/files/digest-gnome-speech-0.4.10-r1 [new file with mode: 0644]
app-accessibility/gnome-speech/gnome-speech-0.4.10-r1.ebuild [new file with mode: 0644]
app-accessibility/gnome-speech/metadata.xml

index 26a86d4f37a29495639246946162ec1e01b5e84f..c79881ba6e01284e255807cf7bab7be66c5eedf4 100644 (file)
@@ -1,6 +1,13 @@
 # ChangeLog for app-accessibility/gnome-speech
 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-accessibility/gnome-speech/ChangeLog,v 1.82 2007/04/08 13:37:58 remi Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-accessibility/gnome-speech/ChangeLog,v 1.83 2007/04/10 19:28:02 betelgeuse Exp $
+
+*gnome-speech-0.4.10-r1 (10 Apr 2007)
+
+  10 Apr 2007; Petteri Räty <betelgeuse@gentoo.org> metadata.xml,
+  +gnome-speech-0.4.10-r1.ebuild:
+  Add java herd to metadata.xml so that we can do changes as our eclasses
+  evolve and migrate to generation 2.
 
 *gnome-speech-0.4.10 (08 Apr 2007)
 
index 0cd31701af4aeacfb4504cca519c3ae9e1a61ef2..3655b453f3d8bab2f62638ce010997433d85c204 100644 (file)
@@ -1,3 +1,6 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
 DIST gnome-speech-0.4.0.tar.bz2 307108 RMD160 35c69c26364601f92ab445315ba26711a60584ed SHA1 c46fb5928098852875fcfa57c08f1f87287c4550 SHA256 793dfc13fdb3ab010c4f891a6766569f49507d76410f5a111177c234672bdfcf
 DIST gnome-speech-0.4.10.tar.bz2 322150 RMD160 279caf3164d4f4a880512b50aea057b486f62d0f SHA1 98dcdab4799b21e009ea80eb4485b7c7c4a6fac5 SHA256 779ed5795a4eba37718a18de8e05076cb6ddc5a6fc0f8c168e5d906c1d1367ec
 DIST gnome-speech-0.4.4.tar.bz2 309806 RMD160 c3efb407ca06149c67f6b4eb04d38c018b31ecc3 SHA1 9c46dadfa765891481e442aaa74994f29c7e5679 SHA256 318ebf3a3f4bd05d534202839ce779f1c823f26305b625703b9615c803d74e6c
@@ -7,6 +10,10 @@ EBUILD gnome-speech-0.4.0.ebuild 1945 RMD160 1af96ebeca8deaadc3ae3e0c66fac81f5cb
 MD5 3d67de2a3b5221fec4c08fc3f63c88fe gnome-speech-0.4.0.ebuild 1945
 RMD160 1af96ebeca8deaadc3ae3e0c66fac81f5cb144b6 gnome-speech-0.4.0.ebuild 1945
 SHA256 70498cd223ef910e43912fa8190fd38431ab658d9117af09581def936707980c gnome-speech-0.4.0.ebuild 1945
+EBUILD gnome-speech-0.4.10-r1.ebuild 2023 RMD160 ada5a0e7d4e4dad68f8f3124042f5e10686fd232 SHA1 5951422264baa58e3ce42551e691fdd90a2f0545 SHA256 cb710061652b1c24e6b924dec2fdafe79b93df8a040a2b9aa28ce02611ab350c
+MD5 4c8b91a305727766a7f16f1e53884dbf gnome-speech-0.4.10-r1.ebuild 2023
+RMD160 ada5a0e7d4e4dad68f8f3124042f5e10686fd232 gnome-speech-0.4.10-r1.ebuild 2023
+SHA256 cb710061652b1c24e6b924dec2fdafe79b93df8a040a2b9aa28ce02611ab350c gnome-speech-0.4.10-r1.ebuild 2023
 EBUILD gnome-speech-0.4.10.ebuild 1999 RMD160 a6b33e3a3b98c5946f1b6bcc499102395e265e17 SHA1 011ff815896666d88d87d3662307ee4b24ddbd77 SHA256 49050a8c864dafe7234e3653311ca9735493bb3490d0d6e1200586919b930604
 MD5 ec40abc3c8d3c7ea25e4b4599be75e6a gnome-speech-0.4.10.ebuild 1999
 RMD160 a6b33e3a3b98c5946f1b6bcc499102395e265e17 gnome-speech-0.4.10.ebuild 1999
@@ -23,20 +30,23 @@ EBUILD gnome-speech-0.4.9.ebuild 1998 RMD160 29be4f34db6d2f689df65c6302a8a1fc629
 MD5 6bbc703ccf201c05a7c5d5966ca9e2b3 gnome-speech-0.4.9.ebuild 1998
 RMD160 29be4f34db6d2f689df65c6302a8a1fc629e7f3a gnome-speech-0.4.9.ebuild 1998
 SHA256 f5617d687031456c2377b4cc911ef7c7c27b9e129b9ab25dbdb5ca36573bdda3 gnome-speech-0.4.9.ebuild 1998
-MISC ChangeLog 12022 RMD160 9665ba1f521bbd2ce7720ad04b77d054aa6a0f3d SHA1 08442b3ba783d830ab591deaed059b6c740136b1 SHA256 9175339d779a32d4d5257ee74e887be8ac2f944dfafc737e29723cdd8e647e0c
-MD5 8e1bfbfc3e9d1991fb01cad77a0d1f72 ChangeLog 12022
-RMD160 9665ba1f521bbd2ce7720ad04b77d054aa6a0f3d ChangeLog 12022
-SHA256 9175339d779a32d4d5257ee74e887be8ac2f944dfafc737e29723cdd8e647e0c ChangeLog 12022
-MISC metadata.xml 172 RMD160 6901d426a49e26089e240a7a4f990204e08c15a1 SHA1 2a33de77ba2f0f4fdedeed148abdad125b78f996 SHA256 f14db6f3dc189eb3e4a3478d7c1bead86fe077d0c756b8426b64f7fc0d42d228
-MD5 5253659a4a0e45baa9f1788dcb705895 metadata.xml 172
-RMD160 6901d426a49e26089e240a7a4f990204e08c15a1 metadata.xml 172
-SHA256 f14db6f3dc189eb3e4a3478d7c1bead86fe077d0c756b8426b64f7fc0d42d228 metadata.xml 172
+MISC ChangeLog 12281 RMD160 dddbbd2ff1c0c76d0346aedd17148d06c95ea6f5 SHA1 1a00da8e74448f0ad5a432c5e427c76a867a4cc6 SHA256 83714255d6dc3908cf720ca5dc4f82260ecb5b0804efcd42e1a377f3fb4fdf8a
+MD5 dcde0cf73cb51848c487bfaf86837fc3 ChangeLog 12281
+RMD160 dddbbd2ff1c0c76d0346aedd17148d06c95ea6f5 ChangeLog 12281
+SHA256 83714255d6dc3908cf720ca5dc4f82260ecb5b0804efcd42e1a377f3fb4fdf8a ChangeLog 12281
+MISC metadata.xml 192 RMD160 98f696faa3b26ed7ddd7aadd47617dfbb6258c86 SHA1 c2562866ab17c3fcb564c7d9c3efb16b8140cfe8 SHA256 f9e1f3bc277c8d6083790462312f938b6f5189910a5e1719785343067796e1ec
+MD5 0cbaca6d8a9544b8fd3b75b6f6a9fae3 metadata.xml 192
+RMD160 98f696faa3b26ed7ddd7aadd47617dfbb6258c86 metadata.xml 192
+SHA256 f9e1f3bc277c8d6083790462312f938b6f5189910a5e1719785343067796e1ec metadata.xml 192
 MD5 07512d154890bc87da07c9c492c72967 files/digest-gnome-speech-0.4.0 259
 RMD160 c545a391dbca8fd544d1cc8305d2262d7475e70d files/digest-gnome-speech-0.4.0 259
 SHA256 1325fd83721b9dc4b22f816de038664cf78b10d6d0a215cbd6acf7761a8e6ef2 files/digest-gnome-speech-0.4.0 259
 MD5 18f32976dbc1834310f683e9ceca07d9 files/digest-gnome-speech-0.4.10 262
 RMD160 4f4183013e1dd15ffe575564b37a55c052e7d43d files/digest-gnome-speech-0.4.10 262
 SHA256 f3a6cff28de117db1d9a11cff7719af90093aad505480c7fb008ed053b6b6b7d files/digest-gnome-speech-0.4.10 262
+MD5 18f32976dbc1834310f683e9ceca07d9 files/digest-gnome-speech-0.4.10-r1 262
+RMD160 4f4183013e1dd15ffe575564b37a55c052e7d43d files/digest-gnome-speech-0.4.10-r1 262
+SHA256 f3a6cff28de117db1d9a11cff7719af90093aad505480c7fb008ed053b6b6b7d files/digest-gnome-speech-0.4.10-r1 262
 MD5 18129d3c1d647dd37d3218a33d410cf3 files/digest-gnome-speech-0.4.4 259
 RMD160 a69b571c1e12deb628c61414cee96566c04957db files/digest-gnome-speech-0.4.4 259
 SHA256 d2d417653ea719000068a68bd9aca8c2e8a45bd3c5836bc49b6364b75128b4d5 files/digest-gnome-speech-0.4.4 259
@@ -46,3 +56,10 @@ SHA256 6300a202784cb60a72dbb45b4fea4e2b6a9320bdec283fcc67ca86731141e7c7 files/di
 MD5 d208df8355ba63abab3b142080ba0de5 files/digest-gnome-speech-0.4.9 259
 RMD160 1b887a0d7528ae4e082f1bbb90ea270c3dc043b5 files/digest-gnome-speech-0.4.9 259
 SHA256 f0d1e39ca3e79b00c3b8e3e23f048778f3b7d8f657fb15b2ade4e339c8566ef5 files/digest-gnome-speech-0.4.9 259
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.3 (GNU/Linux)
+
+iD8DBQFGG+VbcxLzpIGCsLQRArXAAJ0bE95FD//+qqCkVQ2PSf7VvJnz2gCfSgF/
+flI0Tt5X/mTEHy7g6crA9vk=
+=mTmb
+-----END PGP SIGNATURE-----
diff --git a/app-accessibility/gnome-speech/files/digest-gnome-speech-0.4.10-r1 b/app-accessibility/gnome-speech/files/digest-gnome-speech-0.4.10-r1
new file mode 100644 (file)
index 0000000..99257e8
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 2ec7b7e2b01dd28299bd20fd40668bc5 gnome-speech-0.4.10.tar.bz2 322150
+RMD160 279caf3164d4f4a880512b50aea057b486f62d0f gnome-speech-0.4.10.tar.bz2 322150
+SHA256 779ed5795a4eba37718a18de8e05076cb6ddc5a6fc0f8c168e5d906c1d1367ec gnome-speech-0.4.10.tar.bz2 322150
diff --git a/app-accessibility/gnome-speech/gnome-speech-0.4.10-r1.ebuild b/app-accessibility/gnome-speech/gnome-speech-0.4.10-r1.ebuild
new file mode 100644 (file)
index 0000000..0bc898d
--- /dev/null
@@ -0,0 +1,81 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-accessibility/gnome-speech/gnome-speech-0.4.10-r1.ebuild,v 1.1 2007/04/10 19:28:02 betelgeuse Exp $
+
+JAVA_PKG_OPT_USE="freetts"
+
+inherit java-pkg-opt-2 gnome2
+
+DESCRIPTION="Simple general API for producing text-to-speech output"
+HOMEPAGE="http://www.gnome.org/"
+
+LICENSE="LGPL-2"
+SLOT="1"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+# espeak not added; it needs tons of keywords
+IUSE="freetts"
+
+COMMON_DEPEND=">=gnome-base/orbit-2.3.94
+       >=gnome-base/libbonobo-1.97
+       >=dev-libs/glib-2
+       freetts? (
+               =app-accessibility/freetts-1.2*
+               >=app-accessibility/java-access-bridge-1.4.6 )"
+
+RDEPEND="$COMMON_DEPEND
+       freetts? ( >=virtual/jre-1.4 )
+       app-accessibility/festival"
+
+DEPEND="$COMMON_DEPEND
+       freetts? ( >=virtual/jdk-1.4 )
+       >=dev-util/pkgconfig-0.9"
+
+DOCS="AUTHORS ChangeLog NEWS README"
+
+
+pkg_setup() {
+       G2CONF="--with-festival --with-speech-dispatcher"
+
+       if use freetts; then
+               java-pkg-opt-2_pkg_setup
+
+               local JABDIR="${ROOT}usr/share/java-access-bridge/lib"
+
+               G2CONF="${G2CONF} --with-java-home=${JAVA_HOME} \
+                       --with-jab-dir=${JABDIR} \
+                       --with-freetts-dir=${ROOT}usr/share/freetts/lib"
+       else
+               export JAVAC=no
+       fi
+}
+
+src_unpack() {
+       gnome2_src_unpack
+
+       if use freetts; then
+               sed -i -e \
+                       's/@GNOME_SPEECH_INSTALLED_CLASSPATH@/$(java-config -p gnome-speech-1,java-access-bridge)/' \
+                       drivers/freetts/freetts-synthesis-driver.in || die "sed error"
+       fi
+
+       sed -i \
+               -e 's:\(GNOME_SPEECH_JAR_DIR=\).*:\1"/usr/share/java-access-bridge/lib/":' \
+               -e 's:\(FREETTS_DRIVER_JAR_DIR=\).*:\1"/usr/share/java-access-bridge/lib/":' \
+               ${S}/configure
+}
+
+src_install() {
+       gnome2_src_install
+
+       if use freetts; then
+               java-pkg_dojar ${D}/usr/share/jar/*.jar
+               rm -rf ${D}/usr/share/jar
+       fi
+}
+
+pkg_postinst() {
+       elog
+       elog "Gnome Speech has been successfully installed. You may now use the"
+       elog "speech interface using app-accessibility/gnopernicus."
+       elog
+}
index 6949624e59d48880dd2b167f8e5feff97c8d9132..40dca43bd8d288869c2ae1a4d54adb6ca5acda62 100644 (file)
@@ -1,5 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<herd>gnome-accessibility</herd>
+       <herd>java</herd>
+       <herd>gnome-accessibility</herd>
 </pkgmetadata>