diff options
author | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2024-05-17 15:58:30 +0200 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2024-05-17 16:12:34 +0200 |
commit | 2adc1e5e63d3b5f45a04c281e6264b1e2b20fa3b (patch) | |
tree | f9f1337b46c099c06b333b430eb3c4a3d97f467d /net-vpn | |
parent | media-libs/oneVPL-intel-gpu: drop 24.2.0, 24.2.1 (diff) | |
download | gentoo-2adc1e5e63d3b5f45a04c281e6264b1e2b20fa3b.tar.gz gentoo-2adc1e5e63d3b5f45a04c281e6264b1e2b20fa3b.tar.bz2 gentoo-2adc1e5e63d3b5f45a04c281e6264b1e2b20fa3b.zip |
net-vpn/riseup-vpn: add 0.24.5
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'net-vpn')
-rw-r--r-- | net-vpn/riseup-vpn/Manifest | 2 | ||||
-rw-r--r-- | net-vpn/riseup-vpn/riseup-vpn-0.24.5.ebuild | 82 |
2 files changed, 84 insertions, 0 deletions
diff --git a/net-vpn/riseup-vpn/Manifest b/net-vpn/riseup-vpn/Manifest index 75f265ff1221..0be9c4522ae5 100644 --- a/net-vpn/riseup-vpn/Manifest +++ b/net-vpn/riseup-vpn/Manifest @@ -1,2 +1,4 @@ DIST riseup-vpn-0.24.3-deps.tar.xz 35335684 BLAKE2B 85774c35593e59009b8b8ae3ada8542d2df6206bbd0662f01b6798907246097b847c1fc894e50d912f5a2e66abb74f7fe2e7458762ba09a6ddba8d9f1aa6b2b4 SHA512 febba844bfa5b35e99cce586207320dafc393648904aa543293af941012f17164710b72eb7ca0bc7a7d5025bf67958340606cf6c7ce43ddf4dcf2a59ca98e87e DIST riseup-vpn-0.24.3.tar.gz 12270357 BLAKE2B a28d5fe1920614717f7c4a276fbddd24523b7a0a4776bfb7ef49256984e1348b5821854c5547c8a1a72a4c5a07f28c3fd3b5866ed13cb1b3606ec398e4b41478 SHA512 03e916fd3e019b62a09b673aab14f7de9554d2ab5affd793c607f392ed8411c2081db8c223232572fe9b629a4bd68e9994e59c00c4d5ef67b0c8705c11981409 +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 diff --git a/net-vpn/riseup-vpn/riseup-vpn-0.24.5.ebuild b/net-vpn/riseup-vpn/riseup-vpn-0.24.5.ebuild new file mode 100644 index 000000000000..fd915cb57255 --- /dev/null +++ b/net-vpn/riseup-vpn/riseup-vpn-0.24.5.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} pypy3 ) + +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/~andrewammerlaan/${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 +} + +src_compile() { + emake build +} + +src_test() { + emake test + virtx emake test_ui +} + +src_install() { + einstalldocs + + newbin "build/qt/release/bitmask-vpn" 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/* +} |