public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-accessibility/yasr/
Date: Thu,  1 Apr 2021 21:17:27 +0000 (UTC)	[thread overview]
Message-ID: <1617311827.10c2f5e418230f74c29ee7338a7369fb1b27d351.sam@gentoo> (raw)

commit:     10c2f5e418230f74c29ee7338a7369fb1b27d351
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 31 23:19:57 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Apr  1 21:17:07 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10c2f5e4

app-accessibility/yasr: port to EAPI 7, fix Prefix install

Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-accessibility/yasr/yasr-0.6.9-r1.ebuild | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/app-accessibility/yasr/yasr-0.6.9-r1.ebuild b/app-accessibility/yasr/yasr-0.6.9-r1.ebuild
index b9e8c1573d6..1c7e089be17 100644
--- a/app-accessibility/yasr/yasr-0.6.9-r1.ebuild
+++ b/app-accessibility/yasr/yasr-0.6.9-r1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 inherit autotools
 
@@ -14,8 +14,7 @@ SLOT="0"
 KEYWORDS="amd64 ppc x86"
 IUSE="nls"
 
-RDEPEND=""
-DEPEND="nls? ( sys-devel/gettext )"
+BDEPEND="nls? ( sys-devel/gettext )"
 
 PATCHES=(
 	"${FILESDIR}"/${PN}-0.6.9-automake113.patch
@@ -26,8 +25,10 @@ PATCHES=(
 
 src_prepare() {
 	default
-	local x=/usr/share/gettext/po/Makefile.in.in
-	[[ -e $x ]] && cp -f $x po/ || die #330879
+
+	local x="${BROOT}"/usr/share/gettext/po/Makefile.in.in
+	# bug 330879
+	[[ -e $x ]] && cp -f $x po/ || die
 
 	rm -r "${S}"/m4 || die
 
@@ -50,5 +51,5 @@ src_configure() {
 pkg_postinst() {
 	elog
 	elog "Speech-dispatcher is configured as the default synthesizer for yasr."
-	elog "If this is not what you want, edit /etc/yasr/yasr.conf."
+	elog "If this is not what you want, edit ${EROOT}/etc/yasr/yasr.conf."
 }


             reply	other threads:[~2021-04-01 21:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-01 21:17 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-04-07 15:31 [gentoo-commits] repo/gentoo:master commit in: app-accessibility/yasr/ Jakov Smolić
2021-04-01 21:17 Sam James
2018-05-31 13:23 Aaron Bauman

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=1617311827.10c2f5e418230f74c29ee7338a7369fb1b27d351.sam@gentoo \
    --to=sam@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