summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancisco Blas (klondike) Izquierdo Riera <klondike@gentoo.org>2021-03-07 18:23:20 +0100
committerJoonas Niilola <juippis@gentoo.org>2021-03-09 11:09:14 +0200
commit81d28992cf2944137079553831d2b077183846c7 (patch)
treebaedc98a20476234de9c066bfc2863a50feb3ad2 /net-p2p
parentgames-fps/urbanterror: Remove old version (diff)
downloadgentoo-81d28992cf2944137079553831d2b077183846c7.tar.gz
gentoo-81d28992cf2944137079553831d2b077183846c7.tar.bz2
gentoo-81d28992cf2944137079553831d2b077183846c7.zip
net-p2p/eiskaltdcpp: Strip ie locale when USE=gtk
Eiskaltdc++ is planning to drop the GTK+ based GUI in the next version and has asked translators not to consider it when creating new translations. As a result of this, the ie translation does not includes the locale for the GTK library which results in an error when the ebuild tries to compile it. To address this, we filter the ie locale from the LINGUAS variable whenever the gtk USE flag is set, to address the issue and still allow using GTK if needed. Closes: https://bugs.gentoo.org/774192 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Francisco Blas Izquierdo Riera (klondike) <klondike@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/19818 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/eiskaltdcpp/eiskaltdcpp-2.4.2.ebuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/net-p2p/eiskaltdcpp/eiskaltdcpp-2.4.2.ebuild b/net-p2p/eiskaltdcpp/eiskaltdcpp-2.4.2.ebuild
index c160df0f27be..9fc3dc202fe1 100644
--- a/net-p2p/eiskaltdcpp/eiskaltdcpp-2.4.2.ebuild
+++ b/net-p2p/eiskaltdcpp/eiskaltdcpp-2.4.2.ebuild
@@ -104,6 +104,7 @@ src_prepare() {
}
src_configure() {
+ use gtk && strip-linguas -i eiskaltdcpp-gtk/po/
local mycmakeargs=(
-DLIB_INSTALL_DIR="$(get_libdir)"
-Dlinguas="$(l10n_get_locales)"