summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2021-07-03 17:42:45 +0200
committerUlrich Müller <ulm@gentoo.org>2021-07-04 16:01:44 +0200
commit36f07945560c2bb7483fa3df59f23810d7e007c5 (patch)
tree215bdd22caa7f2ed377959c393f3903b239f18be /app-text
parentapp-shells/yash: Update from l10n.eclass to plocale.eclass (diff)
downloadgentoo-36f07945560c2bb7483fa3df59f23810d7e007c5.tar.gz
gentoo-36f07945560c2bb7483fa3df59f23810d7e007c5.tar.bz2
gentoo-36f07945560c2bb7483fa3df59f23810d7e007c5.zip
app-text/coolreader: Update from l10n.eclass to plocale.eclass
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'app-text')
-rw-r--r--app-text/coolreader/coolreader-3.2.57.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/app-text/coolreader/coolreader-3.2.57.ebuild b/app-text/coolreader/coolreader-3.2.57.ebuild
index 115cf9e91673..7e824ab85bc6 100644
--- a/app-text/coolreader/coolreader-3.2.57.ebuild
+++ b/app-text/coolreader/coolreader-3.2.57.ebuild
@@ -4,7 +4,7 @@
EAPI=7
WX_GTK_VER="3.0-gtk3"
PLOCALES="bg cs de es hu pl ru uk"
-inherit cmake wxwidgets l10n xdg
+inherit cmake plocale wxwidgets xdg
CR_PV=$(ver_rs 3 '-')
SRC_URI="https://github.com/buggins/${PN}/archive/cr${CR_PV}.tar.gz -> ${P}.tar.gz"
@@ -38,8 +38,8 @@ src_prepare() {
xdg_src_prepare
# locales
- l10n_find_plocales_changes "${S}"/cr3qt/src/i18n 'cr3_' '.ts'
- sed -e "s|SET(LANGUAGES .*)|SET(LANGUAGES $(l10n_get_locales))|" \
+ plocale_find_changes "${S}"/cr3qt/src/i18n 'cr3_' '.ts'
+ sed -e "s|SET(LANGUAGES .*)|SET(LANGUAGES $(plocale_get_locales))|" \
-i "${S}"/cr3qt/CMakeLists.txt \
|| die "sed CMakeLists.txt failed"
}