Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-accessibility/yasr/
Date: Thu, 01 Apr 2021 21:17:34
Message-Id: 1617311827.10c2f5e418230f74c29ee7338a7369fb1b27d351.sam@gentoo
1 commit: 10c2f5e418230f74c29ee7338a7369fb1b27d351
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Wed Mar 31 23:19:57 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 1 21:17:07 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10c2f5e4
7
8 app-accessibility/yasr: port to EAPI 7, fix Prefix install
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 app-accessibility/yasr/yasr-0.6.9-r1.ebuild | 15 ++++++++-------
13 1 file changed, 8 insertions(+), 7 deletions(-)
14
15 diff --git a/app-accessibility/yasr/yasr-0.6.9-r1.ebuild b/app-accessibility/yasr/yasr-0.6.9-r1.ebuild
16 index b9e8c1573d6..1c7e089be17 100644
17 --- a/app-accessibility/yasr/yasr-0.6.9-r1.ebuild
18 +++ b/app-accessibility/yasr/yasr-0.6.9-r1.ebuild
19 @@ -1,7 +1,7 @@
20 -# Copyright 1999-2018 Gentoo Foundation
21 +# Copyright 1999-2021 Gentoo Authors
22 # Distributed under the terms of the GNU General Public License v2
23
24 -EAPI=6
25 +EAPI=7
26
27 inherit autotools
28
29 @@ -14,8 +14,7 @@ SLOT="0"
30 KEYWORDS="amd64 ppc x86"
31 IUSE="nls"
32
33 -RDEPEND=""
34 -DEPEND="nls? ( sys-devel/gettext )"
35 +BDEPEND="nls? ( sys-devel/gettext )"
36
37 PATCHES=(
38 "${FILESDIR}"/${PN}-0.6.9-automake113.patch
39 @@ -26,8 +25,10 @@ PATCHES=(
40
41 src_prepare() {
42 default
43 - local x=/usr/share/gettext/po/Makefile.in.in
44 - [[ -e $x ]] && cp -f $x po/ || die #330879
45 +
46 + local x="${BROOT}"/usr/share/gettext/po/Makefile.in.in
47 + # bug 330879
48 + [[ -e $x ]] && cp -f $x po/ || die
49
50 rm -r "${S}"/m4 || die
51
52 @@ -50,5 +51,5 @@ src_configure() {
53 pkg_postinst() {
54 elog
55 elog "Speech-dispatcher is configured as the default synthesizer for yasr."
56 - elog "If this is not what you want, edit /etc/yasr/yasr.conf."
57 + elog "If this is not what you want, edit ${EROOT}/etc/yasr/yasr.conf."
58 }