diff options
author | Jimi Huotari <chiitoo@gentoo.org> | 2021-08-13 13:34:13 +0300 |
---|---|---|
committer | Jimi Huotari <chiitoo@gentoo.org> | 2021-08-13 13:34:13 +0300 |
commit | c7320da6e7092defb6081dc72d98cbed8efa26dc (patch) | |
tree | eea41d8d7a2b74c7f4f7e8b40ef7d692971a08a2 /app-emulation/wine-vanilla/wine-vanilla-6.0.ebuild | |
parent | app-emulation/wine-vanilla: Fix build (diff) | |
download | wine-c7320da6e7092defb6081dc72d98cbed8efa26dc.tar.gz wine-c7320da6e7092defb6081dc72d98cbed8efa26dc.tar.bz2 wine-c7320da6e7092defb6081dc72d98cbed8efa26dc.zip |
app-emulation/wine-vanilla: use plocale instead of the l10n eclass
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Jimi Huotari <chiitoo@gentoo.org>
Diffstat (limited to 'app-emulation/wine-vanilla/wine-vanilla-6.0.ebuild')
-rw-r--r-- | app-emulation/wine-vanilla/wine-vanilla-6.0.ebuild | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app-emulation/wine-vanilla/wine-vanilla-6.0.ebuild b/app-emulation/wine-vanilla/wine-vanilla-6.0.ebuild index c4a82f7..3879efd 100644 --- a/app-emulation/wine-vanilla/wine-vanilla-6.0.ebuild +++ b/app-emulation/wine-vanilla/wine-vanilla-6.0.ebuild @@ -6,7 +6,7 @@ EAPI=6 PLOCALES="ar ast bg ca cs da de el en en_US eo es fa fi fr he hi hr hu it ja ko lt ml nb_NO nl or pa pl pt_BR pt_PT rm ro ru si sk sl sr_RS@cyrillic sr_RS@latin sv ta te th tr uk wa zh_CN zh_TW" PLOCALE_BACKUP="en" -inherit autotools eapi7-ver estack eutils flag-o-matic gnome2-utils l10n multilib multilib-minimal pax-utils toolchain-funcs virtualx xdg-utils +inherit autotools eapi7-ver estack eutils flag-o-matic gnome2-utils multilib multilib-minimal pax-utils plocale toolchain-funcs virtualx xdg-utils MY_PN="${PN%%-*}" MY_P="${MY_PN}-${PV}" @@ -314,7 +314,7 @@ src_unpack() { default - l10n_find_plocales_changes "${S}/po" "" ".po" + plocale_find_changes "${S}/po" "" ".po" } src_prepare() { @@ -348,7 +348,7 @@ src_prepare() { # hi-res default icon, #472990, https://bugs.winehq.org/show_bug.cgi?id=24652 cp "${PATCHDIR}/files/oic_winlogo.ico" dlls/user32/resources/ || die - l10n_get_locales > po/LINGUAS || die # otherwise wine doesn't respect LINGUAS + plocale_get_locales > po/LINGUAS || die # otherwise wine doesn't respect LINGUAS # Fix manpage generation for locales #469418 and abi_x86_64 #617864 @@ -372,7 +372,7 @@ src_prepare() { } while read f; do - l10n_for_each_disabled_locale_do rm_man_file "${f}" + plocale_for_each_disabled_locale rm_man_file "${f}" done < <(find -name "Makefile.in" -exec grep -q "UTF-8.man.in" "{}" \; -print) } @@ -490,7 +490,7 @@ multilib_src_install_all() { local locale_doc="documentation/README.$1" [[ ! -e ${locale_doc} ]] || DOCS+=( ${locale_doc} ) } - l10n_for_each_locale_do add_locale_docs + plocale_for_each_locale add_locale_docs einstalldocs find "${ED}" -name *.la -delete || die |