diff options
Diffstat (limited to 'app-accessibility/yasr')
-rw-r--r-- | app-accessibility/yasr/metadata.xml | 2 | ||||
-rw-r--r-- | app-accessibility/yasr/yasr-0.6.9-r1.ebuild | 19 |
2 files changed, 12 insertions, 9 deletions
diff --git a/app-accessibility/yasr/metadata.xml b/app-accessibility/yasr/metadata.xml index 57bad5623af8..f1c1da923413 100644 --- a/app-accessibility/yasr/metadata.xml +++ b/app-accessibility/yasr/metadata.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="project"> <email>accessibility@gentoo.org</email> diff --git a/app-accessibility/yasr/yasr-0.6.9-r1.ebuild b/app-accessibility/yasr/yasr-0.6.9-r1.ebuild index b9e8c1573d6e..9730215c65cd 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-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 inherit autotools @@ -11,11 +11,10 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ppc x86" +KEYWORDS="amd64 ppc ~riscv 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,12 @@ PATCHES=( src_prepare() { default - local x=/usr/share/gettext/po/Makefile.in.in - [[ -e $x ]] && cp -f $x po/ || die #330879 + + if use nls ; then + local x="${BROOT}"/usr/share/gettext/po/Makefile.in.in + # bug 330879 + [[ -e $x ]] && cp -f $x po/ || die + fi rm -r "${S}"/m4 || die @@ -50,5 +53,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." } |