mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-vpn/riseup-vpn: add 0.24.5
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
82
net-vpn/riseup-vpn/riseup-vpn-0.24.5.ebuild
Normal file
82
net-vpn/riseup-vpn/riseup-vpn-0.24.5.ebuild
Normal file
@@ -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/*
|
||||
}
|
||||
Reference in New Issue
Block a user