summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2021-06-30 22:35:00 +0900
committerAkinori Hattori <hattya@gentoo.org>2021-06-30 22:35:00 +0900
commitfa90ec98febd5311603b99f94ca4ce5b74b89bb0 (patch)
tree6796ec3b5de009d1b319efc4c4ea146ff2f7a619 /x11-terms/mlterm
parentx11-terms/mlterm: drop old (diff)
downloadgentoo-fa90ec98febd5311603b99f94ca4ce5b74b89bb0.tar.gz
gentoo-fa90ec98febd5311603b99f94ca4ce5b74b89bb0.tar.bz2
gentoo-fa90ec98febd5311603b99f94ca4ce5b74b89bb0.zip
x11-terms/mlterm: add X USE flag
Reported-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/19242 Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Akinori Hattori <hattya@gentoo.org>
Diffstat (limited to 'x11-terms/mlterm')
-rw-r--r--x11-terms/mlterm/mlterm-3.9.1-r1.ebuild20
1 files changed, 13 insertions, 7 deletions
diff --git a/x11-terms/mlterm/mlterm-3.9.1-r1.ebuild b/x11-terms/mlterm/mlterm-3.9.1-r1.ebuild
index 9a1c8d6abe42..540972d7eb7f 100644
--- a/x11-terms/mlterm/mlterm-3.9.1-r1.ebuild
+++ b/x11-terms/mlterm/mlterm-3.9.1-r1.ebuild
@@ -12,13 +12,15 @@ 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 harfbuzz ibus libssh2 m17n-lib nls regis scim skk static-libs uim utempter wayland xft"
+IUSE="+X bidi brltty cairo canna debug fbcon fcitx freewnn gtk harfbuzz ibus libssh2 m17n-lib nls regis scim skk static-libs uim utempter wayland xft"
+REQUIRED_USE="|| ( X fbcon wayland )"
RDEPEND="virtual/libcrypt:=
- x11-libs/libICE
- x11-libs/libxkbcommon
- x11-libs/libSM
- x11-libs/libX11
+ X? (
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ )
bidi? ( dev-libs/fribidi )
brltty? ( app-accessibility/brltty )
cairo? ( x11-libs/cairo[X(+)] )
@@ -47,7 +49,10 @@ RDEPEND="virtual/libcrypt:=
)
uim? ( app-i18n/uim )
utempter? ( sys-libs/libutempter )
- wayland? ( dev-libs/wayland )
+ wayland? (
+ dev-libs/wayland
+ x11-libs/libxkbcommon
+ )
xft? ( x11-libs/libXft )"
DEPEND="${RDEPEND}
virtual/pkgconfig
@@ -82,7 +87,8 @@ src_configure() {
$(use_enable scim)
$(use_enable skk)
$(use_enable uim)
- --with-gui=xlib$(usex fbcon ",fb" "")$(usex wayland ",wayland" "")
+ $(use_with X x)
+ --with-gui=$(usex X "xlib" "")$(usex fbcon ",fb" "")$(usex wayland ",wayland" "")
--with-type-engines=xcore$(usex xft ",xft" "")$(usex cairo ",cairo" "")
--with-utmp=$(usex utempter utempter none)
--enable-optimize-redrawing