commit:     81d28992cf2944137079553831d2b077183846c7
Author:     Francisco Blas (klondike) Izquierdo Riera <klondike <AT> gentoo 
<DOT> org>
AuthorDate: Sun Mar  7 17:23:20 2021 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Tue Mar  9 09:09:14 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81d28992

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 <AT> 
gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/19818
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 net-p2p/eiskaltdcpp/eiskaltdcpp-2.4.2.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net-p2p/eiskaltdcpp/eiskaltdcpp-2.4.2.ebuild 
b/net-p2p/eiskaltdcpp/eiskaltdcpp-2.4.2.ebuild
index c160df0f27b..9fc3dc202fe 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)"

Reply via email to