1 |
commit: 9197930cb9bf2e2ecd0c6e39a230f65c208db462 |
2 |
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jun 1 07:18:40 2021 +0000 |
4 |
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 1 07:18:47 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9197930c |
7 |
|
8 |
app-accessibility/freetts: removed obsolete 1.2.2 |
9 |
|
10 |
Package-Manager: Portage-3.0.19, Repoman-3.0.3 |
11 |
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org> |
12 |
|
13 |
app-accessibility/freetts/freetts-1.2.2.ebuild | 84 -------------------------- |
14 |
1 file changed, 84 deletions(-) |
15 |
|
16 |
diff --git a/app-accessibility/freetts/freetts-1.2.2.ebuild b/app-accessibility/freetts/freetts-1.2.2.ebuild |
17 |
deleted file mode 100644 |
18 |
index 31b68c3c7b2..00000000000 |
19 |
--- a/app-accessibility/freetts/freetts-1.2.2.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,84 +0,0 @@ |
22 |
-# Copyright 1999-2021 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=5 |
26 |
- |
27 |
-JAVA_PKG_IUSE="doc examples source" |
28 |
-inherit eutils epatch java-pkg-2 java-ant-2 |
29 |
- |
30 |
-DESCRIPTION="A speech synthesis system written entirely in Java" |
31 |
-SRC_URI="mirror://sourceforge/${PN}/${P}-src.zip" |
32 |
-HOMEPAGE="http://freetts.sourceforge.net/" |
33 |
- |
34 |
-RDEPEND=">=virtual/jre-1.4 |
35 |
- mbrola? ( >=app-accessibility/mbrola-3.0.1h-r6 ) " |
36 |
- |
37 |
-DEPEND=">=virtual/jdk-1.4 |
38 |
- ${RDEPEND} |
39 |
- jsapi? ( app-arch/sharutils ) |
40 |
- app-arch/unzip" |
41 |
- |
42 |
-LICENSE="jsapi? ( sun-bcla-jsapi ) freetts" |
43 |
-SLOT="0" |
44 |
-KEYWORDS="amd64 ppc64 x86" |
45 |
-IUSE="jsapi mbrola" |
46 |
- |
47 |
-# Tests aren't present. |
48 |
-RESTRICT="test" |
49 |
- |
50 |
-java_prepare() { |
51 |
- # Prepare source directory. |
52 |
- mkdir src || die "Failed to create source directory." |
53 |
- mv com de src/ || die "Failed to move files to source directory." |
54 |
- |
55 |
- # Prepare library directory. |
56 |
- cd lib || die "Lib directory not present." |
57 |
- chmod 0755 jsapi.sh || die "jsapi.sh not present or can't change permissions." |
58 |
- epatch "${FILESDIR}"/jsapi-gentoo.diff |
59 |
- |
60 |
- use mbrola && echo "mbrola.base=/usr/share/mbrola/" >> "${S}"/speech.properties |
61 |
-} |
62 |
- |
63 |
-src_compile() { |
64 |
- if use jsapi; then |
65 |
- pushd lib |
66 |
- ./jsapi.sh || die "jsapi.sh failed" |
67 |
- popd |
68 |
- fi |
69 |
- |
70 |
- eant jars |
71 |
-} |
72 |
- |
73 |
-# Tests aren't present. |
74 |
-# http://freetts.sourceforge.net/docs/index.php#how_test |
75 |
-#src_test() { |
76 |
-# ANT_TASKS="ant-junit" eant junit |
77 |
-#} |
78 |
- |
79 |
-src_install() { |
80 |
- java-pkg_dojar lib/*.jar mbrola/*.jar |
81 |
- |
82 |
- use mbrola && local jflags="--java_args -Dmbrola.base=/usr/share/mbrola" |
83 |
- |
84 |
- java-pkg_dolauncher ${PN} --main com.sun.speech.freetts.FreeTTS ${jflags} |
85 |
- |
86 |
- insinto /usr/share/${PN} |
87 |
- doins speech.properties |
88 |
- doins -r tools |
89 |
- |
90 |
- dodoc ANNOUNCE.txt README.txt RELEASE_NOTES |
91 |
- |
92 |
- if use doc ; then |
93 |
- insinto /usr/share/doc/${PF}/html |
94 |
- doins -r docs/* |
95 |
- java-pkg_dojavadoc javadoc |
96 |
- fi |
97 |
- |
98 |
- if use examples ; then |
99 |
- java-pkg_doexamples demo |
100 |
- fi |
101 |
- |
102 |
- if use source ; then |
103 |
- java-pkg-dosrc src/* |
104 |
- fi |
105 |
-} |