From 81d28992cf2944137079553831d2b077183846c7 Mon Sep 17 00:00:00 2001 From: "Francisco Blas (klondike) Izquierdo Riera" Date: Sun, 7 Mar 2021 18:23:20 +0100 Subject: 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) Closes: https://github.com/gentoo/gentoo/pull/19818 Signed-off-by: Joonas Niilola --- net-p2p/eiskaltdcpp/eiskaltdcpp-2.4.2.ebuild | 1 + 1 file changed, 1 insertion(+) (limited to 'net-p2p/eiskaltdcpp') 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)" -- cgit v1.2.3-65-gdbad