commit: ea03cb3a1545a841ced2af3467318e5d18c43047
Author: Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 12 12:31:38 2021 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Thu Aug 12 12:31:38 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ea03cb3a
games-engines/instead: migrate to plocale eclass
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
games-engines/instead/instead-3.3.5.ebuild | 8 ++++----
games-engines/instead/instead-9999.ebuild | 8 ++++----
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/games-engines/instead/instead-3.3.5.ebuild
b/games-engines/instead/instead-3.3.5.ebuild
index f25d0ad53..fd8a67314 100644
--- a/games-engines/instead/instead-3.3.5.ebuild
+++ b/games-engines/instead/instead-3.3.5.ebuild
@@ -7,7 +7,7 @@ PLOCALES="cs de en es fr it nl pt ru uk"
PLOCALE_BACKUP="en"
LUA_COMPAT=( lua5-1 luajit )
-inherit cmake lua-single l10n
+inherit cmake lua-single plocale
if [[ ${PV} == *9999* ]]; then
EGIT_REPO_URI="https://github.com/instead-hub/${PN}.git"
@@ -61,16 +61,16 @@ DEPEND="${COMMON_DEPEND}"
DOCS=( AUTHORS ChangeLog README.md )
src_prepare() {
- l10n_find_plocales_changes "${S}/lang" "" ".ini"
+ plocale_find_changes "${S}/lang" "" ".ini"
rm_loc() { rm "lang/$1.ini" || die; }
- l10n_for_each_disabled_locale_do rm_loc
+ plocale_for_each_disabled_locale rm_loc
# The docs dir contains some code to build pdf out of the Markdown
docs, but it requires some
# weird util called multimarkdown, so we will just install the md's
themselfs.
if use doc; then
EXTRA_DOCS=()
- for l in $(l10n_get_locales) ${PLOCALE_BACKUP}; do
+ for l in $(plocale_get_locales) ${PLOCALE_BACKUP}; do
for d in "docs/modules-$l.md" "docs/stead3-$l.md"; do
if [[ -f "$d" ]]; then
EXTRA_DOCS=( "${EXTRA_DOCS[@]}" "$d" )
diff --git a/games-engines/instead/instead-9999.ebuild
b/games-engines/instead/instead-9999.ebuild
index f25d0ad53..fd8a67314 100644
--- a/games-engines/instead/instead-9999.ebuild
+++ b/games-engines/instead/instead-9999.ebuild
@@ -7,7 +7,7 @@ PLOCALES="cs de en es fr it nl pt ru uk"
PLOCALE_BACKUP="en"
LUA_COMPAT=( lua5-1 luajit )
-inherit cmake lua-single l10n
+inherit cmake lua-single plocale
if [[ ${PV} == *9999* ]]; then
EGIT_REPO_URI="https://github.com/instead-hub/${PN}.git"
@@ -61,16 +61,16 @@ DEPEND="${COMMON_DEPEND}"
DOCS=( AUTHORS ChangeLog README.md )
src_prepare() {
- l10n_find_plocales_changes "${S}/lang" "" ".ini"
+ plocale_find_changes "${S}/lang" "" ".ini"
rm_loc() { rm "lang/$1.ini" || die; }
- l10n_for_each_disabled_locale_do rm_loc
+ plocale_for_each_disabled_locale rm_loc
# The docs dir contains some code to build pdf out of the Markdown
docs, but it requires some
# weird util called multimarkdown, so we will just install the md's
themselfs.
if use doc; then
EXTRA_DOCS=()
- for l in $(l10n_get_locales) ${PLOCALE_BACKUP}; do
+ for l in $(plocale_get_locales) ${PLOCALE_BACKUP}; do
for d in "docs/modules-$l.md" "docs/stead3-$l.md"; do
if [[ -f "$d" ]]; then
EXTRA_DOCS=( "${EXTRA_DOCS[@]}" "$d" )