diff options
Diffstat (limited to 'app-admin/gkrellm/gkrellm-9999.ebuild')
-rw-r--r-- | app-admin/gkrellm/gkrellm-9999.ebuild | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/app-admin/gkrellm/gkrellm-9999.ebuild b/app-admin/gkrellm/gkrellm-9999.ebuild index fd4864614c57..a978bc39106d 100644 --- a/app-admin/gkrellm/gkrellm-9999.ebuild +++ b/app-admin/gkrellm/gkrellm-9999.ebuild @@ -3,7 +3,9 @@ EAPI=8 -inherit desktop systemd toolchain-funcs +PLOCALES="bg cs da de es fr it ja nl pl po pt pt_BR ru sl sv uk" +PLOCALE_BACKUP="en" +inherit desktop plocale systemd toolchain-funcs DESCRIPTION="Single process stack of various system monitors" HOMEPAGE="http://gkrellm.srcbox.net/" @@ -75,6 +77,13 @@ src_prepare() { -e "s:/usr/local/lib:${EPREFIX}/usr/local/$(get_libdir):" \ -i src/${PN}.h || die "sed ${PN}.h failed" + delete_locale() { + local locale=${1} + rm -f po/${locale}{.po,.mo} || die + } + + plocale_for_each_disabled_locale delete_locale + default } |