diff options
author | Marcin Deranek <marcin.deranek@slonko.net> | 2022-06-07 19:28:09 +0200 |
---|---|---|
committer | Marcin Deranek <marcin.deranek@slonko.net> | 2022-06-07 19:28:09 +0200 |
commit | 56af6097e249557b5935abceeb208bfcd0be14eb (patch) | |
tree | 056b5f07b44cf1c5c7d71553ef558c8a8e1c5ae3 /net-vpn/globalprotect-openconnect/globalprotect-openconnect-1.4.7.ebuild | |
parent | eaed36fd3272858420a909d248d10e57955c1a38 (diff) | |
download | portage-56af6097e249557b5935abceeb208bfcd0be14eb.tar.gz portage-56af6097e249557b5935abceeb208bfcd0be14eb.tar.bz2 portage-56af6097e249557b5935abceeb208bfcd0be14eb.zip |
net-vpn/globalprotect-openconnect version bump to 1.4.7
Diffstat (limited to 'net-vpn/globalprotect-openconnect/globalprotect-openconnect-1.4.7.ebuild')
-rw-r--r-- | net-vpn/globalprotect-openconnect/globalprotect-openconnect-1.4.7.ebuild | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/net-vpn/globalprotect-openconnect/globalprotect-openconnect-1.4.7.ebuild b/net-vpn/globalprotect-openconnect/globalprotect-openconnect-1.4.7.ebuild new file mode 100644 index 0000000..196eaae --- /dev/null +++ b/net-vpn/globalprotect-openconnect/globalprotect-openconnect-1.4.7.ebuild @@ -0,0 +1,56 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="GlobalProtect VPN GUI based on Openconnect with SAML auth mode support" +HOMEPAGE="https://github.com/yuezk/GlobalProtect-openconnect" +SRC_URI="https://github.com/yuezk/GlobalProtect-openconnect/archive/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/GlobalProtect-openconnect-${PV}" + +inherit cmake git-r3 + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND=" + dev-qt/qtcore + dev-qt/qtdbus + dev-qt/qtnetwork + dev-qt/qtwebengine + dev-qt/qtwebsockets + dev-qt/qtwidgets + net-vpn/openconnect +" +RDEPEND="${DEPEND}" +BDEPEND="" + +PLOG_REPO='https://github.com/SergiusTheBest/plog.git' +PLOG_VERSION='1.1.6' +SINGLEAPP_REPO='https://github.com/itay-grudev/SingleApplication.git' +SINGLEAPP_VERSION='3.3.4' + +src_unpack() { + default_src_unpack + ## 3rd party submodules + # Plog + EGIT_REPO_URI="${PLOG_REPO}" + EGIT_COMMIT="${PLOG_VERSION}" + EGIT_CHECKOUT_DIR="${S}/3rdparty/plog" + git-r3_src_unpack + # SingleApplication + EGIT_REPO_URI="${SINGLEAPP_REPO}" + EGIT_COMMIT="v${SINGLEAPP_VERSION}" + EGIT_CHECKOUT_DIR="${S}/3rdparty/SingleApplication" + git-r3_src_unpack +} + +src_compile() { + cmake -B build -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr" -DCMAKE_BUILD_TYPE=Release + cmake --build build +} + +src_install() { + emake DESTDIR="${D}" install -C build +} |