mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
net-vpn/cloudflare-warp: add 2023.7.40
Signed-off-by: John-Henry Lim <johnhenrylim12@gmail.com>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST cloudflare-warp-2023.3.470-1.x86_64.rpm 40881976 BLAKE2B de58e4b0ec2afb7c888d112aecb9bd4d8b1346f31a0de236fd0e0d9276fae7268760d966def3724a28e0776fe3ad33a60c468443228c54c1b5f6917803c7fefc SHA512 ccc17265ffb7e8fc023ce1c1f22b11df1c654578f9b6b0122112f7d75938d704c3afaeb7229df6af42d4a0a8774284df23b8d2514e17dfe52e76b91dab8eb632
|
||||
DIST cloudflare-warp-2023.7.40-1.x86_64.rpm 73449004 BLAKE2B e2c033933a11b3a0f1f68bc64f1ad82d3715e08f37a61ec9a2fdbfd30f898e991720b15a28da384c765238a862bc8183c72ca6b8a075d63b6cecea4ae9200ad8 SHA512 b458a141cbf5e9c8e78c502051f773b0e3a048039cf09b56967b1705e893282eb6e203a75cf58524a5612786c0f8b4303d168b26e908b278da9b7a429c88e003
|
||||
|
||||
50
net-vpn/cloudflare-warp/cloudflare-warp-2023.7.40.ebuild
Normal file
50
net-vpn/cloudflare-warp/cloudflare-warp-2023.7.40.ebuild
Normal file
@@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit rpm systemd xdg desktop
|
||||
|
||||
DESCRIPTION="Cloudflare Warp Client"
|
||||
HOMEPAGE="https://1.1.1.1"
|
||||
SRC_URI="https://pkg.cloudflareclient.com/rpm/x86_64/${P}-1.x86_64.rpm"
|
||||
|
||||
LICENSE="all-rights-reserved"
|
||||
RESTRICT="bindist mirror"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="systemd +systray"
|
||||
|
||||
QA_PREBUILT="/bin/warp-cli /bin/warp-diag /bin/warp-svc /bin/warp-taskbar"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_install() {
|
||||
into /
|
||||
dobin bin/warp-cli
|
||||
dobin bin/warp-diag
|
||||
dobin bin/warp-svc
|
||||
doinitd ${FILESDIR}/warp-svc
|
||||
systemd_dounit opt/cloudflare-warp/warp-svc.service
|
||||
|
||||
if use systray; then
|
||||
dobin bin/warp-taskbar
|
||||
systemd_douserunit usr/lib/systemd/user/warp-taskbar.service
|
||||
|
||||
doicon -s scalable \
|
||||
usr/share/icons/hicolor/scalable/apps/zero-trust.svg \
|
||||
usr/share/icons/hicolor/scalable/apps/zero-trust-error.svg \
|
||||
usr/share/icons/hicolor/scalable/apps/zero-trust-connected.svg \
|
||||
usr/share/icons/hicolor/scalable/apps/zero-trust-disconnected.svg
|
||||
|
||||
desktopfile=$(\
|
||||
usex systemd \
|
||||
usr/share/applications/com.cloudflare.WarpTaskbar.desktop \
|
||||
${FILESDIR}/com.cloudflare.WarpTaskbar.desktop\
|
||||
)
|
||||
domenu $desktopfile
|
||||
|
||||
insinto /etc/xdg/autostart
|
||||
doins $desktopfile
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user