commit:     f593275829c8dd5ea13837805db26c648aae3748
Author:     Jonas Frei <freijon <AT> pm <DOT> me>
AuthorDate: Mon Jun 16 04:58:09 2025 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Mon Jun 16 19:30:40 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5932758

app-shells/nushell: Using native TLS, using system-sqlite

As discussed in #42592, this revbump changes the following things:
- Unconditionally uses native-tls and links to libssl.so
- Unconditionally links to libsqlite3.so

Signed-off-by: Jonas Frei <freijon <AT> pm.me>
Closes: https://github.com/gentoo/gentoo/pull/42620
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 .../{nushell-0.105.1.ebuild => nushell-0.105.1-r1.ebuild}  | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/app-shells/nushell/nushell-0.105.1.ebuild 
b/app-shells/nushell/nushell-0.105.1-r1.ebuild
similarity index 89%
rename from app-shells/nushell/nushell-0.105.1.ebuild
rename to app-shells/nushell/nushell-0.105.1-r1.ebuild
index 7ff1b0b203c1..c64239ceb29b 100644
--- a/app-shells/nushell/nushell-0.105.1.ebuild
+++ b/app-shells/nushell/nushell-0.105.1-r1.ebuild
@@ -25,6 +25,8 @@ KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv"
 IUSE="plugins system-clipboard X"
 
 DEPEND="
+       dev-libs/openssl:0=
+       dev-db/sqlite:3=
        system-clipboard? (
                X? (
                        x11-libs/libX11
@@ -33,9 +35,7 @@ DEPEND="
        )
 "
 RDEPEND="${DEPEND}"
-BDEPEND="
-       virtual/pkgconfig
-"
+BDEPEND="virtual/pkgconfig"
 
 RESTRICT+=" test"
 
@@ -48,13 +48,19 @@ src_prepare() {
 
 src_configure() {
        # high magic to allow system-libs
+       export LIBSQLITE3_SYS_USE_PKG_CONFIG=1
+       export OPENSSL_NO_VENDOR=true
        export PKG_CONFIG_ALLOW_CROSS=1
 
        local myfeatures=(
+               plugin
+               native-tls
+               sqlite
                $(usev system-clipboard)
+               trash-support
        )
 
-       cargo_src_configure
+       cargo_src_configure --no-default-features
 }
 
 src_compile() {

Reply via email to