mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 21:13:27 -04:00
net-vpn/cloudflare-warp: add 2024.4.133-r1
Signed-off-by: Joe Kappus <joe@wt.gd>
This commit is contained in:
@@ -1 +1,2 @@
|
|||||||
DIST cloudflare-warp_2024.2.62-1_amd64.deb 86268064 BLAKE2B 663aae6d60bd7fe3eb10806463470f7623128e4eb942607909002bfa895eade8c76e00f987bf9603cd9f0ecbb661dde116c930734b1bfe087ee09018506415c0 SHA512 d68410374baffae76637df277d002891d5a4c0d28abb8ac3b44e0db8a07e1be07acdfdd79a01d6220c1cd0696dfbb77d71e8b7b3a30003a269063d6870f012a8
|
DIST cloudflare-warp_2024.2.62-1_amd64.deb 86268064 BLAKE2B 663aae6d60bd7fe3eb10806463470f7623128e4eb942607909002bfa895eade8c76e00f987bf9603cd9f0ecbb661dde116c930734b1bfe087ee09018506415c0 SHA512 d68410374baffae76637df277d002891d5a4c0d28abb8ac3b44e0db8a07e1be07acdfdd79a01d6220c1cd0696dfbb77d71e8b7b3a30003a269063d6870f012a8
|
||||||
|
DIST cloudflare-warp_2024.4.133-1_amd64.deb 87344416 BLAKE2B dd8fc0a72b0d68f64277d251a315d23dcbc9789507caa123423b78547d579121d88ecb391a1a5744e1882e616afa3f6126dd4199157571ff1b632870b5c33ce9 SHA512 494a2aab2c23bab5f5e60ce12a3faee9d7ab41f074ee65e7bc423347b1ac5222b7147f745987c86f966e9c09b4eff03d3bc2dfb362e8a4c10acfb31db1bbd720
|
||||||
|
|||||||
65
net-vpn/cloudflare-warp/cloudflare-warp-2024.4.133-r1.ebuild
Normal file
65
net-vpn/cloudflare-warp/cloudflare-warp-2024.4.133-r1.ebuild
Normal file
@@ -0,0 +1,65 @@
|
|||||||
|
# Copyright 1999-2024 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit unpacker systemd xdg desktop
|
||||||
|
|
||||||
|
DESCRIPTION="Cloudflare Warp Client"
|
||||||
|
HOMEPAGE="https://1.1.1.1"
|
||||||
|
SRC_URI="https://pkg.cloudflareclient.com/pool/jammy/main/c/cloudflare-warp/cloudflare-warp_${PV}-1_amd64.deb"
|
||||||
|
|
||||||
|
S="${WORKDIR}"
|
||||||
|
|
||||||
|
LICENSE="all-rights-reserved"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
IUSE="systemd +systray dex"
|
||||||
|
RESTRICT="bindist mirror"
|
||||||
|
RDEPEND="net-firewall/nftables
|
||||||
|
dex? ( net-libs/libpcap )
|
||||||
|
systray? (
|
||||||
|
x11-libs/gdk-pixbuf:2
|
||||||
|
x11-libs/gtk+:3
|
||||||
|
x11-libs/pango
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
QA_PREBUILT="/bin/warp-cli /bin/warp-dex /bin/warp-diag /bin/warp-svc /bin/warp-taskbar"
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
unpack_deb ${A}
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
into /
|
||||||
|
dobin bin/warp-cli
|
||||||
|
dobin bin/warp-diag
|
||||||
|
dobin bin/warp-svc
|
||||||
|
doinitd "${FILESDIR}/warp-svc"
|
||||||
|
systemd_dounit lib/systemd/system/warp-svc.service
|
||||||
|
|
||||||
|
# warp-dex relies on "libpcap.so.0.8" which is not in tree.
|
||||||
|
if use dex; then
|
||||||
|
dobin bin/warp-dex
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use systray; then
|
||||||
|
dobin bin/warp-taskbar
|
||||||
|
systemd_douserunit usr/lib/systemd/user/warp-taskbar.service
|
||||||
|
|
||||||
|
doicon -s scalable $(ls usr/share/icons/hicolor/scalable/apps/*.svg)
|
||||||
|
insinto /usr/share/warp/images
|
||||||
|
doins $(ls usr/share/warp/images/*.png)
|
||||||
|
|
||||||
|
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