From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-accessibility/mbrola/
Date: Sun, 10 Nov 2019 10:18:20 +0000 (UTC) [thread overview]
Message-ID: <1573381082.270e72eda7bebb6d28ae7c8f7644f19acbb70360.mgorny@gentoo> (raw)
commit: 270e72eda7bebb6d28ae7c8f7644f19acbb70360
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 10 09:44:38 2019 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Nov 10 10:18:02 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=270e72ed
app-accessibility/mbrola: Bump to EAPI 7
Bug: https://bugs.gentoo.org/697408
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
app-accessibility/mbrola/mbrola-3.0.1h-r6.ebuild | 43 ++++++++++--------------
1 file changed, 17 insertions(+), 26 deletions(-)
diff --git a/app-accessibility/mbrola/mbrola-3.0.1h-r6.ebuild b/app-accessibility/mbrola/mbrola-3.0.1h-r6.ebuild
index 4d25292e57d..ce0930438fe 100644
--- a/app-accessibility/mbrola/mbrola-3.0.1h-r6.ebuild
+++ b/app-accessibility/mbrola/mbrola-3.0.1h-r6.ebuild
@@ -1,12 +1,10 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=0
+EAPI=7
IUSE="l10n_de l10n_es l10n_fr l10n_it l10n_la l10n_pl l10n_ro l10n_sv"
-S=${WORKDIR}
-
DESCRIPTION="Speech synthesizer based on the concatenation of diphones. Includes samples"
HOMEPAGE="http://tcts.fpms.ac.be/synthesis/mbrola.html"
MY_PV=${PV//./}
@@ -35,26 +33,25 @@ SRC_URI="http://tcts.fpms.ac.be/synthesis/${PN}/bin/pclinux/mbr${MY_PV}.zip
l10n_ro? ( ${TCTS}/mbrola/dba/ro1/ro1-980317.zip )
l10n_sv? ( ${TCTS}/mbrola/dba/sw1/sw1-980623.zip
${TCTS}/mbrola/dba/sw2/sw2-140102.zip )"
+S=${WORKDIR}
-DEPEND="app-arch/unzip"
+LICENSE="MBROLA"
+SLOT="0"
+KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86"
+RESTRICT="strip"
-RDEPEND=""
+DEPEND="app-arch/unzip"
-RESTRICT="strip"
QA_PREBUILT="/usr/bin/mbrola"
-SLOT="0"
-LICENSE="MBROLA"
-KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86"
-
-src_unpack () {
- unpack ${A}
+src_unpack() {
+ default
if [[ -f pl1 ]]; then
- mkdir pl1DIR
- mv pl1 pl1.txt pl1DIR
- mv test pl1DIR/TEST
- mv pl1DIR pl1
+ mkdir pl1DIR || die
+ mv pl1 pl1.txt pl1DIR || die
+ mv test pl1DIR/TEST || die
+ mv pl1DIR pl1 || die
fi
case ${ARCH} in
@@ -75,10 +72,9 @@ src_unpack () {
esac
}
-src_install () {
-
+src_install() {
# Take care of main binary
- if [[ -f "mbrola" ]]; then
+ if [[ -f mbrola ]]; then
dobin mbrola
dosym ../../bin/mbrola "/usr/share/${PN}/mbrola"
fi
@@ -90,12 +86,7 @@ src_install () {
[[ -f "${voice}/license.txt" ]] && doins ${voice}/license.txt
[[ -f "${voice}/${voice}" ]] && doins ${voice}/${voice}
[[ -f "${voice}/${voice}mrpa" ]] && doins ${voice}/${voice}mrpa
-
- if [[ -d "${voice}/TEST" ]]; then
- insinto /usr/share/${PN}/${voice}/TEST
- doins ${voice}/TEST/*
- fi
-
+ [[ -d "${voice}/TEST" ]] && doins -r ${voice}/TEST
[[ -f "${voice}/${voice}.txt" ]] && dodoc ${voice}/${voice}.txt
done
}
next reply other threads:[~2019-11-10 10:18 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-10 10:18 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-05-31 18:24 [gentoo-commits] repo/gentoo:master commit in: app-accessibility/mbrola/ Andreas Sturmlechner
2022-11-10 5:28 Sam James
2022-10-19 10:07 WANG Xuerui
2022-03-07 3:51 Sam James
2022-03-07 3:47 Sam James
2022-02-15 18:31 Matt Turner
2022-01-30 13:12 Yixun Lan
2022-01-29 7:14 Sam James
2022-01-29 4:32 Sam James
2021-09-07 18:59 Sam James
2021-09-07 2:32 Sam James
2021-08-09 6:41 Agostino Sarubbo
2021-08-09 6:40 Agostino Sarubbo
2021-08-09 0:54 Sam James
2021-08-09 0:31 Sam James
2021-08-09 0:28 Sam James
2021-07-28 1:08 Sam James
2021-07-15 22:20 Sergei Trofimovich
2021-07-12 22:23 Sam James
2021-07-08 21:39 Sergei Trofimovich
2021-07-08 3:23 William Hubbs
2021-07-06 22:09 William Hubbs
2020-03-31 18:02 Sergei Trofimovich
2017-08-22 19:59 Michał Górny
2016-06-24 21:21 Ulrich Müller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1573381082.270e72eda7bebb6d28ae7c8f7644f19acbb70360.mgorny@gentoo \
--to=mgorny@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox