Skip to content

Commit

Permalink
net-proxy/yass: add 1.5.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Keeyou authored and liangyongxiang committed Jan 16, 2024
1 parent 8d72a7e commit 71121e6
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 0 deletions.
1 change: 1 addition & 0 deletions net-proxy/yass/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST yass-1.5.18.tar.gz 102842692 BLAKE2B 2f8199fa66d76cdc7d81fd1c89c7395a981e7c44c434f85d0c52ec9914b8ef695ad3d9a85ab28d747178a560b0d6012e28dd342962d675b8ba6970f59df7302d SHA512 4b1974c7d9de0c1fa55b48e9cb9371336de8a7bdcb9e869f644f6dde28cac6132ee9174c0c135324905e1e8a8d70a938365e8def39d1a7d0784657c066589b15
11 changes: 11 additions & 0 deletions net-proxy/yass/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>keeyou-cn@outlook.com</email>
<name>Chilledheart</name>
</maintainer>
<upstream>
<remote-id type="github">Chilledheart/yass</remote-id>
</upstream>
</pkgmetadata>
51 changes: 51 additions & 0 deletions net-proxy/yass/yass-1.5.18.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cmake xdg

MY_PN="yass"
S="${WORKDIR}/${MY_PN}-${PV}"
SRC_URI="https://github.com/Chilledheart/yass/releases/download/${PV}/yass-${PV}.tar.gz"
KEYWORDS="~amd64 ~arm64 ~x86"

DESCRIPTION="lightweight and efficient, socks5/http forward proxy"
HOMEPAGE="https://github.com/Chilledheart/yass"

LICENSE="GPL-2"
SLOT="0"
IUSE="wayland"

RDEPEND="
app-misc/ca-certificates
dev-libs/glib:2
net-libs/mbedtls
sys-libs/zlib
net-dns/c-ares
net-libs/nghttp2
gui-libs/gtk:4[wayland?]
"
DEPEND="${RDEPEND}"
BDEPEND="
sys-devel/gettext
virtual/pkgconfig
"

src_configure() {
local mycmakeargs=(
-DBUILD_SHARED_LIBS=off
-DUSE_BUILTIN_CA_BUNDLE_CRT=off
-DUSE_LIBCXX=off
-DENABLE_LTO=off
-DGUI=ON
-DCLI=OFF
-DSERVER=OFF
-DBUILD_TESTS=off
-DUSE_SYSTEM_MBEDTLS=on
-DUSE_SYSTEM_ZLIB=on
-DUSE_SYSTEM_CARES=on
-DUSE_SYSTEM_NGHTTP2=on
)
cmake_src_configure
}

0 comments on commit 71121e6

Please sign in to comment.