1 |
commit: e00353ab120bf887b58e09a813029a3ad79c35d6 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Dec 29 21:21:24 2017 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 29 22:32:40 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e00353ab |
7 |
|
8 |
app-accessibility/festival-fi: Port to EAPI 6 |
9 |
|
10 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
11 |
|
12 |
.../festival-fi/festival-fi-20041119.ebuild | 29 ++++++++++------------ |
13 |
.../files/festival-fi-20041119_lavennin_path.patch | 4 +-- |
14 |
2 files changed, 15 insertions(+), 18 deletions(-) |
15 |
|
16 |
diff --git a/app-accessibility/festival-fi/festival-fi-20041119.ebuild b/app-accessibility/festival-fi/festival-fi-20041119.ebuild |
17 |
index 7ed4851d8ed..baff3ed1170 100644 |
18 |
--- a/app-accessibility/festival-fi/festival-fi-20041119.ebuild |
19 |
+++ b/app-accessibility/festival-fi/festival-fi-20041119.ebuild |
20 |
@@ -1,8 +1,7 @@ |
21 |
-# Copyright 1999-2012 Gentoo Foundation |
22 |
+# Copyright 1999-2017 Gentoo Foundation |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
-EAPI="2" |
26 |
-inherit eutils |
27 |
+EAPI=6 |
28 |
|
29 |
DESCRIPTION="Finnish diphones and text to speech script for festival" |
30 |
HOMEPAGE="http://www.ling.helsinki.fi/suopuhe" |
31 |
@@ -15,29 +14,27 @@ SLOT="0" |
32 |
KEYWORDS="~amd64 ~x86" |
33 |
IUSE="perl" |
34 |
|
35 |
-RDEPEND=">=app-accessibility/festival-1.96_beta" |
36 |
+RDEPEND=" |
37 |
+ >=app-accessibility/festival-1.96_beta |
38 |
+ dev-lang/perl" |
39 |
DEPEND="" |
40 |
|
41 |
-src_prepare(){ |
42 |
- cd "${WORKDIR}/lavennin/bin" |
43 |
- epatch "${FILESDIR}/${P}_lavennin_path.patch" |
44 |
-} |
45 |
+S=${WORKDIR} |
46 |
+PATCHES=( "${FILESDIR}"/${P}_lavennin_path.patch ) |
47 |
|
48 |
src_install() { |
49 |
- cd "${WORKDIR}" |
50 |
dodoc festival/lib/voices/finnish/hy_fi_mv_diphone/README.mv |
51 |
- rm festival/lib/voices/finnish/hy_fi_mv_diphone/{README.mv,LICENSE} |
52 |
- insinto /usr/share/festival/ |
53 |
- cd festival/lib/ |
54 |
- doins -r voices/ |
55 |
- cd "${WORKDIR}/lavennin/" |
56 |
+ rm festival/lib/voices/finnish/hy_fi_mv_diphone/{README.mv,LICENSE} || die |
57 |
+ |
58 |
+ insinto /usr/share/festival |
59 |
+ doins -r festival/lib/voices |
60 |
+ cd "${WORKDIR}"/lavennin/ || die |
61 |
newdoc README.txt README.lavennin |
62 |
dodoc man/*.shtml |
63 |
|
64 |
if use perl; then |
65 |
- |
66 |
newbin bin/lavennin suopuhe-lavennin |
67 |
- dodir /usr/share/suopuhe/data/ |
68 |
+ |
69 |
insinto /usr/share/suopuhe |
70 |
doins -r data |
71 |
|
72 |
|
73 |
diff --git a/app-accessibility/festival-fi/files/festival-fi-20041119_lavennin_path.patch b/app-accessibility/festival-fi/files/festival-fi-20041119_lavennin_path.patch |
74 |
index 7084641a669..833b633e324 100644 |
75 |
--- a/app-accessibility/festival-fi/files/festival-fi-20041119_lavennin_path.patch |
76 |
+++ b/app-accessibility/festival-fi/files/festival-fi-20041119_lavennin_path.patch |
77 |
@@ -3,8 +3,8 @@ |
78 |
# Not sending this to upstrem. |
79 |
# neurogeek@g.o |
80 |
|
81 |
---- bin/lavennin.orig 2009-05-08 01:05:48.000000000 -0430 |
82 |
-+++ bin/lavennin 2009-05-08 01:07:07.000000000 -0430 |
83 |
+--- a/lavennin/bin/lavennin |
84 |
++++ b/lavennin/bin/lavennin |
85 |
@@ -164,8 +164,8 @@ |
86 |
$HOME = get_home_directory(); |
87 |
} |