From 0bdbc494bfd7c380dd729f3c76eb40c56dab8b4c Mon Sep 17 00:00:00 2001 From: Aisha Tammy Date: Sat, 6 Feb 2021 19:39:43 +0000 Subject: x11-terms/mlterm: drop optional gtk2 support Bug: https://bugs.gentoo.org/769029 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Aisha Tammy Closes: https://github.com/gentoo/gentoo/pull/19353 Signed-off-by: Andreas Sturmlechner --- x11-terms/mlterm/mlterm-3.9.1.ebuild | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/x11-terms/mlterm/mlterm-3.9.1.ebuild b/x11-terms/mlterm/mlterm-3.9.1.ebuild index e92e036f1ff8..b9a346d7cc15 100644 --- a/x11-terms/mlterm/mlterm-3.9.1.ebuild +++ b/x11-terms/mlterm/mlterm-3.9.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="7" @@ -12,8 +12,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" -IUSE="bidi brltty cairo canna debug fbcon fcitx freewnn gtk gtk2 harfbuzz ibus libssh2 m17n-lib nls regis scim skk static-libs uim utempter wayland xft" -REQUIRED_USE="gtk2? ( gtk )" +IUSE="bidi brltty cairo canna debug fbcon fcitx freewnn gtk harfbuzz ibus libssh2 m17n-lib nls regis scim skk static-libs uim utempter wayland xft" RDEPEND="x11-libs/libICE x11-libs/libSM @@ -25,10 +24,7 @@ RDEPEND="x11-libs/libICE fbcon? ( media-fonts/unifont ) fcitx? ( app-i18n/fcitx ) freewnn? ( app-i18n/freewnn ) - gtk? ( - gtk2? ( x11-libs/gtk+:2 ) - !gtk2? ( x11-libs/gtk+:3 ) - ) + gtk? ( x11-libs/gtk+:3 ) harfbuzz? ( media-libs/harfbuzz[truetype(+)] ) ibus? ( app-i18n/ibus ) libssh2? ( net-libs/libssh2 ) @@ -96,11 +92,13 @@ src_configure() { local tools="mlclient,mlcc,mlfc,mlmenu,${PN}-zoom" if use gtk; then myconf+=( - $(use_with gtk gtk $(usex gtk2 2.0 3.0)) + --with-gtk=3.0 --with-imagelib=gdk-pixbuf ) scrollbars+=",pixmap_engine" tools+=",mlconfig,mlimgloader" + else + myconf+=( --without-gtk ) fi if use regis; then tools+=",registobmp" -- cgit v1.2.3-65-gdbad