diff options
author | Aisha Tammy <gentoo@aisha.cc> | 2021-02-06 19:39:43 +0000 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2021-05-22 14:00:20 +0200 |
commit | 0bdbc494bfd7c380dd729f3c76eb40c56dab8b4c (patch) | |
tree | 26be9cb2f96569d48f7b3377878dad1c73d3fde3 /x11-terms/mlterm | |
parent | media-libs/libcaca: fix multiple CVEs and docs build failure (diff) | |
download | gentoo-0bdbc494bfd7c380dd729f3c76eb40c56dab8b4c.tar.gz gentoo-0bdbc494bfd7c380dd729f3c76eb40c56dab8b4c.tar.bz2 gentoo-0bdbc494bfd7c380dd729f3c76eb40c56dab8b4c.zip |
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 <gentoo@aisha.cc>
Closes: https://github.com/gentoo/gentoo/pull/19353
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'x11-terms/mlterm')
-rw-r--r-- | x11-terms/mlterm/mlterm-3.9.1.ebuild | 14 |
1 files 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" |