Diff riseup-vpn-0.21.11 with a riseup-vpn-0.21.11_p20221113
/usr/portage/net-vpn/riseup-vpn/riseup-vpn-0.21.11_p20221113.ebuild 2023-10-09 14:52:34.768368483 +0300 | ||
---|---|---|
7 | 7 | |
8 | 8 |
inherit desktop python-single-r1 go-module qmake-utils virtualx xdg |
9 | 9 | |
10 |
COMMIT="d7749dca00983fa9240e146ebf036c44cf67b9cd" |
|
11 | ||
10 | 12 |
DESCRIPTION="Anonymous encrypted VPN client powered by Bitmask" |
11 | 13 |
HOMEPAGE="https://riseup.net/en/vpn https://0xacab.org/leap/bitmask-vpn https://bitmask.net" |
12 | 14 |
SRC_URI=" |
13 |
https://0xacab.org/leap/bitmask-vpn/-/archive/${PV}/bitmask-vpn-${PV}.tar.gz -> ${P}.tar.gz |
|
15 |
https://0xacab.org/leap/bitmask-vpn/-/archive/${COMMIT}.tar.gz -> ${P}.tar.gz |
|
14 | 16 |
https://dev.gentoo.org/~andrewammerlaan/${P}-deps.tar.xz |
15 | 17 |
" |
16 |
S="${WORKDIR}/bitmask-vpn-${PV}" |
|
18 |
S="${WORKDIR}/bitmask-vpn-${COMMIT}" |
|
17 | 19 | |
18 | 20 |
REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
19 | 21 |
IUSE="test" |
... | ... | |
46 | 48 |
sys-auth/polkit |
47 | 49 |
" |
48 | 50 | |
51 |
PATCHES=( |
|
52 |
"${FILESDIR}/${P}-revert-data-cipher-arg-to-cipher.patch" |
|
53 |
) |
|
54 | ||
49 | 55 |
src_prepare() { |
50 | 56 |
default |
51 | 57 | |
... | ... | |
71 | 77 |
dobin "build/qt/release/riseup-vpn" |
72 | 78 | |
73 | 79 |
python_scriptinto /usr/sbin |
74 |
python_doscript "helpers/bitmask-root" |
|
80 |
python_doscript "pkg/pickle/helpers/bitmask-root" |
|
75 | 81 | |
76 | 82 |
insinto /usr/share/polkit-1/actions |
77 |
newins "helpers/se.leap.bitmask.policy" se.leap.bitmask.riseupvpn.policy |
|
83 |
newins "pkg/pickle/helpers/se.leap.bitmask.policy" se.leap.bitmask.riseupvpn.policy |
|
78 | 84 | |
79 | 85 |
newicon -s scalable "providers/riseup/assets/icon.svg" riseup.svg |
80 | 86 |
make_desktop_entry "${PN}" RiseupVPN riseup Network |