net-proxy/yass: add 1.10.5, drop 1.10.4

Add gtk3, gtk4 and qt6 options.
And it is recommended to use qt6 under KDE environment.

Signed-off-by: Keeyou <keeyou-cn@outlook.com>
This commit is contained in:
Keeyou 2024-06-03 11:21:39 +08:00 committed by 梁永祥
parent 44d8563c03
commit 3e8ac3b81e
3 changed files with 21 additions and 6 deletions

View File

@ -1,2 +1,2 @@
DIST yass-1.10.4.tar.bz2 76152285 BLAKE2B b9b7641427721ee0e79bb4b2fe6fdeec93bb27e732a605f27a4c7af1f5e6c77f68123567cec64698bf4e5ef4b4a538f6bfa823f0b66441a5e931d5ac8f99901a SHA512 e3d4c7c7de3bd17172ddbb2d5159b8bbe2055833b17a5f28d658355db58fad2680c5590f9e8eebc998b15b082265994e9609dfc0052b9b158d8fbf9c52c0162a
DIST yass-1.10.5.tar.bz2 77547020 BLAKE2B 692d24153fd06a956ddfd82930f5fc7faac840cf3d0db9ad1753bd79fdf56b73cc0b82ece19073e1b9211ac563b5a699d19b552cc20f8f2fa0e5ba06e972b516 SHA512 bec41b127291874ed945e97a2a893e07e5e9e31bb7ba00e068b9fa58bde4cca85ebd466eb6b01bc364ef5057c1bce8df42aacf61094c164e18a727f26dbcff5f
DIST yass-1.9.7.tar.bz2 75383495 BLAKE2B 52fded3b88c51a1e39f86737e1db0c97581675676d716c783908a98f9578dc915c97cd8e8f8a8f925be884f58c668c88ed92840dc88a834d3b8847e4cd82fa34 SHA512 325b4fa606c1c6d28078df78a11e3a5eabf2fc1cadabe1003102722d256679a1bf1a9146e8b315c04f5dd1d7f7be11eb6c23595fe69ba1a923766273e96bb9e5

View File

@ -9,6 +9,9 @@
<flag name="cli">Enable cli daemon</flag>
<flag name="server">Enable server daemon</flag>
<flag name="gui">Enable GUI Client</flag>
<flag name="gtk3">Enable GUI Client (GTK3)</flag>
<flag name="gtk4">Enable GUI Client (GTK4)</flag>
<flag name="qt6">Enable GUI Client (QT6)</flag>
<flag name="tcmalloc">Enable tcmalloc allocator</flag>
<flag name="mimalloc">Enable mimalloc allocator</flag>
</use>

View File

@ -14,7 +14,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~riscv ~x86"
IUSE="+cli server test +gui wayland +tcmalloc mimalloc"
IUSE="+cli server test +gui +gtk3 gtk4 qt6 wayland +tcmalloc mimalloc"
# tested with FEATURES="-network-sandbox test"
# tested with FEATURES="network-sandbox test"
@ -22,6 +22,8 @@ IUSE="+cli server test +gui wayland +tcmalloc mimalloc"
RESTRICT="!test? ( test )"
REQUIRED_USE="
gui? ( ^^ ( gtk3 gtk4 qt6 ) )
loong? ( !gtk4 )
tcmalloc? ( !mimalloc )
"
@ -32,12 +34,18 @@ RDEPEND="
sys-libs/zlib
net-dns/c-ares
net-libs/nghttp2
tcmalloc? ( dev-util/google-perftools )
mimalloc? ( dev-libs/mimalloc )
gui? (
loong? (
gtk3? (
x11-libs/gtk+:3[wayland?]
)
!loong? (
|| ( x11-libs/gtk+:3[wayland?] gui-libs/gtk:4[wayland?] )
gtk4? (
gui-libs/gtk:4[wayland?]
)
qt6? (
dev-qt/qtbase:6=[dbus,gui,widgets,wayland?]
wayland? ( dev-qt/qtwayland:6 )
)
)
"
@ -64,14 +72,18 @@ src_configure() {
-DCMAKE_INSTALL_SYSCONFDIR=/etc
-DBUILD_SHARED_LIBS=off
-DUSE_BUILTIN_CA_BUNDLE_CRT=off
-DUSE_LIBCXX=on
-DUSE_LIBCXX=off
-DENABLE_GOLD=off
-DCLI=$(usex cli)
-DSERVER=$(usex server)
-DGUI=$(usex gui)
-DUSE_GTK4=$(usex gtk4)
-DUSE_QT6=$(usex qt6)
-DBUILD_TESTS=$(usex test)
-DUSE_TCMALLOC=$(usex tcmalloc)
-DUSE_SYSTEM_TCMALLOC=$(usex tcmalloc)
-DUSE_MIMALLOC=$(usex mimalloc)
-DUSE_SYSTEM_MIMALLOC=$(usex mimalloc)
-DUSE_SYSTEM_MBEDTLS=on
-DUSE_SYSTEM_ZLIB=on
-DUSE_SYSTEM_CARES=on