Skip to content

Commit

Permalink
app-text/foliate: Update from l10n.eclass to plocale.eclass
Browse files Browse the repository at this point in the history
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Ulrich Müller <[email protected]>
  • Loading branch information
ulm committed Jul 4, 2021
1 parent 685e339 commit 6a013df
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions app-text/foliate/foliate-2.6.2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

EAPI=7
PLOCALES="cs_CS de_DE es eu fr_FR id_ID ie it ko nb nl nn pt_BR ru_RU sv tr uk zh_CN zh_TW"
inherit meson l10n xdg-utils gnome2-utils
inherit meson plocale xdg-utils gnome2-utils
SRC_URI="https://github.com/johnfactotum/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
DESCRIPTION="gtk ebook reader built with gjs"
HOMEPAGE="https://github.com/johnfactotum/foliate/"
Expand All @@ -26,14 +26,14 @@ RDEPEND="dev-libs/gjs
src_prepare() {
default

l10n_find_plocales_changes "${S}"/po '' '.po'
plocale_find_changes "${S}"/po '' '.po'

rm_po() {
rm po/${1}.po
sed -e "/^${1}/d" -i po/LINGUAS
}

l10n_for_each_disabled_locale_do rm_po
plocale_for_each_disabled_locale rm_po
}

pkg_postinst() {
Expand Down
6 changes: 3 additions & 3 deletions app-text/foliate/foliate-2.6.3.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

EAPI=7
PLOCALES="cs de es eu fr id ie it ko nb nl nn pt_BR ru sv tr uk zh_CN zh_TW"
inherit meson l10n xdg-utils gnome2-utils
inherit meson plocale xdg-utils gnome2-utils
SRC_URI="https://github.com/johnfactotum/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
DESCRIPTION="gtk ebook reader built with gjs"
HOMEPAGE="https://github.com/johnfactotum/foliate/"
Expand All @@ -26,14 +26,14 @@ RDEPEND="dev-libs/gjs
src_prepare() {
default

l10n_find_plocales_changes "${S}"/po '' '.po'
plocale_find_changes "${S}"/po '' '.po'

rm_po() {
rm po/${1}.po
sed -e "/^${1}/d" -i po/LINGUAS
}

l10n_for_each_disabled_locale_do rm_po
plocale_for_each_disabled_locale rm_po
}

pkg_postinst() {
Expand Down

0 comments on commit 6a013df

Please sign in to comment.