add the official ProtonVPN GUI client
This commit is contained in:
parent
b7c9dfe9dc
commit
65f0d312ab
4 changed files with 115 additions and 28 deletions
35
dev-python/proton-client/proton-client-0.5.1.ebuild
Normal file
35
dev-python/proton-client/proton-client-0.5.1.ebuild
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{8..10} )
|
||||||
|
|
||||||
|
DISTUTILS_USE_SETUPTOOLS=bdepend
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Proton account login backend"
|
||||||
|
HOMEPAGE="https://protonvpn.com https://protonmail.com https://github.com/ProtonMail/proton-python-client"
|
||||||
|
SRC_URI="https://github.com/ProtonMail/proton-python-client/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-3"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
SLOT="0"
|
||||||
|
RESTRICT="primaryuri"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-python/requests[${PYTHON_USEDEP}]
|
||||||
|
dev-python/bcrypt[${PYTHON_USEDEP}]
|
||||||
|
dev-python/python-gnupg[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pyopenssl[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
|
||||||
|
S="${WORKDIR}/proton-python-client-${PV}"
|
||||||
|
|
||||||
|
DOCS=( README.md )
|
||||||
|
|
||||||
|
distutils_enable_tests unittest
|
||||||
|
|
|
@ -1,28 +0,0 @@
|
||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{7,8,9} )
|
|
||||||
|
|
||||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="A VPN command-line tool from protonvpn - python rewrite"
|
|
||||||
HOMEPAGE="https://protonvpn.com https://github.com/ProtonVPN/protonvpn-cli-ng"
|
|
||||||
SRC_URI="https://github.com/ProtonVPN/linux-cli/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-3"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
SLOT="0"
|
|
||||||
|
|
||||||
RDEPEND="dev-python/docopt[${PYTHON_USEDEP}]
|
|
||||||
dev-python/requests[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pythondialog:0[${PYTHON_USEDEP}]
|
|
||||||
net-vpn/openvpn"
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
|
|
||||||
S="${WORKDIR}/linux-cli-${PV}"
|
|
||||||
|
|
||||||
DOCS=( CHANGELOG.md README.md USAGE.md )
|
|
42
net-vpn/protonvpn-gui/protonvpn-gui-1.2.0.ebuild
Normal file
42
net-vpn/protonvpn-gui/protonvpn-gui-1.2.0.ebuild
Normal file
|
@ -0,0 +1,42 @@
|
||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{8..10} )
|
||||||
|
|
||||||
|
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||||
|
|
||||||
|
inherit distutils-r1 desktop
|
||||||
|
|
||||||
|
DESCRIPTION="Official ProtonVPN Linux app"
|
||||||
|
HOMEPAGE="https://protonvpn.com https://github.com/ProtonVPN/linux-app"
|
||||||
|
SRC_URI="https://github.com/ProtonVPN/linux-app/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-3"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="appindicator"
|
||||||
|
RESTRICT="primaryuri"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
x11-libs/gtk+:3
|
||||||
|
dev-python/pygobject[${PYTHON_USEDEP}]
|
||||||
|
dev-python/psutil[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pycairo[${PYTHON_USEDEP}]
|
||||||
|
appindicator? ( dev-libs/libappindicator:3 )
|
||||||
|
net-vpn/protonvpn-nm-lib[${PYTHON_USEDEP}]
|
||||||
|
dev-python/python-systemd
|
||||||
|
"
|
||||||
|
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
|
||||||
|
S="${WORKDIR}/linux-app-${PV}"
|
||||||
|
|
||||||
|
DOCS=( README.md )
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
domenu protonvpn.desktop
|
||||||
|
doicon -s scalable protonvpn_gui/assets/icons/protonvpn-logo.png
|
||||||
|
distutils-r1_src_install
|
||||||
|
}
|
38
net-vpn/protonvpn-nm-lib/protonvpn-nm-lib-3.3.2.ebuild
Normal file
38
net-vpn/protonvpn-nm-lib/protonvpn-nm-lib-3.3.2.ebuild
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{8..10} )
|
||||||
|
|
||||||
|
DISTUTILS_USE_SETUPTOOLS=bdepend
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="ProtonVPN NetworkManager library"
|
||||||
|
HOMEPAGE="https://protonvpn.com https://github.com/ProtonVPN/protonvpn-nm-lib"
|
||||||
|
SRC_URI="https://github.com/ProtonVPN/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-3"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
SLOT="0"
|
||||||
|
RESTRICT="primaryuri"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
net-misc/networkmanager
|
||||||
|
net-vpn/networkmanager-openvpn
|
||||||
|
net-vpn/openvpn
|
||||||
|
dev-python/pygobject[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pyxdg[${PYTHON_USEDEP}]
|
||||||
|
dev-python/keyring[${PYTHON_USEDEP}]
|
||||||
|
dev-python/jinja[${PYTHON_USEDEP}]
|
||||||
|
dev-python/distro[${PYTHON_USEDEP}]
|
||||||
|
dev-python/python-gnupg[${PYTHON_USEDEP}]
|
||||||
|
dev-python/proton-client[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${P}"
|
||||||
|
|
||||||
|
DOCS=( README.md )
|
Loading…
Add table
Add a link
Reference in a new issue