mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
net-vpn/cloudflare-warp: add 2025.4.943.0
Closes: https://bugs.gentoo.org/933127 Signed-off-by: Joe Kappus <joe@wt.gd>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST cloudflare-warp_2024.4.133-1_amd64.deb 87344416 BLAKE2B dd8fc0a72b0d68f64277d251a315d23dcbc9789507caa123423b78547d579121d88ecb391a1a5744e1882e616afa3f6126dd4199157571ff1b632870b5c33ce9 SHA512 494a2aab2c23bab5f5e60ce12a3faee9d7ab41f074ee65e7bc423347b1ac5222b7147f745987c86f966e9c09b4eff03d3bc2dfb362e8a4c10acfb31db1bbd720
|
||||
DIST cloudflare-warp_2025.4.943.0_amd64.deb 45672332 BLAKE2B 91725777343417947319243287bc8e5339fa4fdce63fd53f9cc8d34bd65f21dc01469338a11fc8336f71af627cb15cb3648839ba78218f1542290a18d0f16505 SHA512 af17a3ca8aaf509cf12291e7e86604c5d0b0aa9995b91dd11948ca32168c0f562d88876f75230fe93bb59eedbf82230f91db68923f5752d3aafc4d5dbb73e680
|
||||
|
||||
68
net-vpn/cloudflare-warp/cloudflare-warp-2025.4.943.0.ebuild
Normal file
68
net-vpn/cloudflare-warp/cloudflare-warp-2025.4.943.0.ebuild
Normal file
@@ -0,0 +1,68 @@
|
||||
# Copyright 1999-2025 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}_amd64.deb"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="all-rights-reserved"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="systemd +systray dex"
|
||||
RESTRICT="bindist mirror"
|
||||
RDEPEND="dev-libs/glib
|
||||
net-firewall/nftables
|
||||
sys-apps/dbus
|
||||
x11-libs/cairo
|
||||
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