commit:     3d6fdf76af0fb8e068a30083b8b1ae5f7288d737
Author:     Nowa Ammerlaan <nowa <AT> gentoo <DOT> org>
AuthorDate: Sun May 18 15:41:04 2025 +0000
Commit:     Nowa Ammerlaan <nowa <AT> gentoo <DOT> org>
CommitDate: Sun May 18 15:43:26 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d6fdf76

net-vpn/riseup-vpn: add 0.24.10

Signed-off-by: Nowa Ammerlaan <nowa <AT> gentoo.org>

 net-vpn/riseup-vpn/Manifest                  |  2 +
 net-vpn/riseup-vpn/riseup-vpn-0.24.10.ebuild | 85 ++++++++++++++++++++++++++++
 2 files changed, 87 insertions(+)

diff --git a/net-vpn/riseup-vpn/Manifest b/net-vpn/riseup-vpn/Manifest
index b9db3e11e605..0a59b9775d16 100644
--- a/net-vpn/riseup-vpn/Manifest
+++ b/net-vpn/riseup-vpn/Manifest
@@ -1,3 +1,5 @@
+DIST riseup-vpn-0.24.10-deps.tar.xz 169679804 BLAKE2B 
cfbd543f1267c8356662b0ea580e2bffbee078e2eb15c59b96ab4225e406675bea507d385fbc735332344821c244e29967ceff1693af7b48263d720cece73295
 SHA512 
d7f4892d4ff1a778d3f61b98bcf01ec426682ff1d67d618767b97ede75c6a7e3b4e65cb6d86ca42d64e23888c2cc2923a155df9248cc1e64be949d8a45a6fcaa
+DIST riseup-vpn-0.24.10.tar.gz 16338950 BLAKE2B 
3315aa847f2473b5b896a72e755705613890971f03a2752edd3c0041175f6697167e4583b8c3e971cf23e847e894423a7d5c3d705af8aca642a83ba4d88f0942
 SHA512 
0765bdc41ad1c59421079a7c804d56f55456c20d8d63f1913a7691633c3f53b96f44b413f9f628e4cd9bcc940f5ebbce2c46e1caa8023e4ac2bd24af11579835
 DIST riseup-vpn-0.24.5-deps.tar.xz 33109948 BLAKE2B 
2149f395c5f29ef63044b6e968a835d359522f013b78d167cb6a441e27728daf104c77037d6d3acc51794ded4d7224e12af84ec33cfca9911bdd236e70080e14
 SHA512 
1ea3b50ab742fb5fdb1d1a91469815be2c00b01760dbfed29de985ee3dab91be8a596b7694ff8da4bea6e6c707d5c03f5a4fdb03826ad1c9e2e36a55f757af88
 DIST riseup-vpn-0.24.5.tar.gz 9415881 BLAKE2B 
9cf9c0db485de2c6cb3c09d0cda5f1cb1ce31d0c4686e0721cdac04d51e882c3b65fd282430c53da84242c2bfd6bbd20b58dfc9ee7d2844aa512656a28d439b9
 SHA512 
d3295ca6dd78dd761eafbd24fcaaec7970fbd5ef272e7d0f02502652a7c4a6bcf385c3ccbf29907aa28665f437824aff50a804853c9e6e979fd924c0407c6e25
 DIST riseup-vpn-0.24.8-deps.tar.xz 151811720 BLAKE2B 
502191486805abae6e19e0bde0ac534e2d1ce5d2c62476342079f8682b2a1be05f2777459f28c46e594a385326897e1fa7b25cf2ef3abf9510767dd9257707ea
 SHA512 
cae8af599de8aeec4a266ebf3293e9b4cef792bbe671489eead66a32cd750b3930965247919b10f49c8d21b84c197d8355a0a0d879752d192ffbccb49d14c75c

diff --git a/net-vpn/riseup-vpn/riseup-vpn-0.24.10.ebuild 
b/net-vpn/riseup-vpn/riseup-vpn-0.24.10.ebuild
new file mode 100644
index 000000000000..0773bc32fcb0
--- /dev/null
+++ b/net-vpn/riseup-vpn/riseup-vpn-0.24.10.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( pypy3_11 python3_{11..13} )
+
+inherit desktop python-single-r1 go-module qmake-utils virtualx xdg
+
+DESCRIPTION="Anonymous encrypted VPN client powered by Bitmask"
+HOMEPAGE="https://riseup.net/en/vpn https://0xacab.org/leap/bitmask-vpn 
https://bitmask.net";
+SRC_URI="
+       
https://0xacab.org/leap/bitmask-vpn/-/archive/${PV}/bitmask-vpn-${PV}.tar.gz -> 
${P}.tar.gz
+       https://dev.gentoo.org/~nowa/${P}-deps.tar.xz
+"
+S="${WORKDIR}/bitmask-vpn-${PV}"
+
+# Generated with dev-go/golicense
+LICENSE="GPL-3 BSD-2 CC0-1.0 MIT BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+IUSE="test"
+
+PROPERTIES="test_network"
+RESTRICT="test"
+# The tests require internet access to connect to Riseup Networks
+
+BDEPEND="
+       virtual/pkgconfig
+       dev-qt/qttools[linguist]
+"
+
+DEPEND="
+       dev-qt/qtbase:6[gui,widgets]
+       dev-qt/qtdeclarative:6[widgets]
+       dev-qt/qtsvg:6
+       media-libs/libglvnd
+"
+
+RDEPEND="${DEPEND}
+       ${PYTHON_DEPS}
+       net-vpn/openvpn
+       sys-auth/polkit
+"
+
+src_prepare() {
+       default
+
+       # do not pre-strip
+       sed -i -e '/strip $RELEASE\/$TARGET/d' gui/build.sh || die
+
+       # We need qmake and lrelease from  qt6 bin dir
+       export PATH="${PATH}:$(qt6_get_bindir)" || die
+
+       export PROVIDER=riseup
+}
+
+src_compile() {
+       emake gen_providers_json
+       emake build
+}
+
+src_test() {
+       emake test
+       virtx emake test_ui
+}
+
+src_install() {
+       einstalldocs
+
+       dobin build/qt/release/riseup-vpn
+
+       python_scriptinto /usr/sbin
+       python_doscript pkg/pickle/helpers/bitmask-root
+
+       insinto /usr/share/polkit-1/actions
+       newins pkg/pickle/helpers/se.leap.bitmask.policy 
se.leap.bitmask.riseupvpn.policy
+
+       newicon -s scalable providers/riseup/assets/icon.svg riseup.svg
+       make_desktop_entry ${PN} RiseupVPN riseup Network
+
+       dodoc -r docs/*
+}

Reply via email to