commit:     54bf5a0f4dd8924de6cbbe43ae3093a336063244
Author:     Christopher Bayliss <cjbdev <AT> icloud <DOT> com>
AuthorDate: Fri May 17 06:26:45 2024 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sun May 19 08:43:41 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54bf5a0f

app-shells/nushell: make X11 optional

Signed-off-by: Christopher Bayliss <cjbdev <AT> icloud.com>
Closes: https://github.com/gentoo/gentoo/pull/36713
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 app-shells/nushell/nushell-0.91.0.ebuild | 8 +++++---
 app-shells/nushell/nushell-0.92.1.ebuild | 8 +++++---
 2 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/app-shells/nushell/nushell-0.91.0.ebuild 
b/app-shells/nushell/nushell-0.91.0.ebuild
index f86a9397232f..06bd2d1c8052 100644
--- a/app-shells/nushell/nushell-0.91.0.ebuild
+++ b/app-shells/nushell/nushell-0.91.0.ebuild
@@ -663,7 +663,7 @@ LICENSE+="
 "
 SLOT="0"
 KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv"
-IUSE="dataframe extra"
+IUSE="dataframe extra X"
 
 DEPEND="
        >=dev-libs/libgit2-0.99:=
@@ -673,8 +673,10 @@ DEPEND="
        net-libs/nghttp2:=
        net-misc/curl
        dev-db/sqlite:3=
-       x11-libs/libX11
-       x11-libs/libxcb
+       X? (
+               x11-libs/libX11
+               x11-libs/libxcb
+       )
 "
 RDEPEND="${DEPEND}"
 BDEPEND="

diff --git a/app-shells/nushell/nushell-0.92.1.ebuild 
b/app-shells/nushell/nushell-0.92.1.ebuild
index 7b18b081b971..8b93f2578ee9 100644
--- a/app-shells/nushell/nushell-0.92.1.ebuild
+++ b/app-shells/nushell/nushell-0.92.1.ebuild
@@ -657,7 +657,7 @@ LICENSE+="
 "
 SLOT="0"
 KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv"
-IUSE="dataframe"
+IUSE="dataframe X"
 
 DEPEND="
        >=dev-libs/libgit2-0.99:=
@@ -667,8 +667,10 @@ DEPEND="
        net-libs/nghttp2:=
        net-misc/curl
        dev-db/sqlite:3=
-       x11-libs/libX11
-       x11-libs/libxcb
+       X? (
+               x11-libs/libX11
+               x11-libs/libxcb
+       )
 "
 RDEPEND="${DEPEND}"
 BDEPEND="

Reply via email to