www-client/zen-bin: add 1.19.8b

Signed-off-by: Ceres <ceres@ceressees.dev>
This commit is contained in:
Ceres
2026-04-09 14:00:02 +01:00
parent c9132c208d
commit dd5532faa8
2 changed files with 87 additions and 0 deletions

View File

@@ -2,3 +2,5 @@ DIST zen-bin-1.18.10b-amd64.tar.xz 86222180 BLAKE2B 49ef1111568b7810430b3c28ff33
DIST zen-bin-1.18.10b-arm64.tar.xz 74157712 BLAKE2B 0b858c843f83a3c482dbbc3cfd08abab7876f6e05804471aeb4cbb32fbdd3969ac4f53546fe1acd3d9c6db68eaa007b28944ee14163ffc76d3293e66d5069c51 SHA512 d00e12475debadd922ac9e66fbd681613612b153c15a6d64460d27d1e8d21ac32f72f224ddb4375d21ce1560a0424b98a991be272c9cc0c2d0312d10d37170e2
DIST zen-bin-1.19.6b-amd64.tar.xz 88492468 BLAKE2B dea5a9b1941dd7040c88cb760b73f42055dbf8ca0a863f10bd41b6df77f0e8441e563553a41be10b0e4add83bc3463c56989f3ad89add5ca1cd688f30cff2b89 SHA512 57917bfd70c33b66ab2dc110a3c99b5ed902f7f896e81c795912a3118e07068d91a183540ce65b8ac70b09520e004cab5e318f5d01535cd7f06413c03d6375a9
DIST zen-bin-1.19.6b-arm64.tar.xz 76554896 BLAKE2B 0b0b0097ddcd1082cbdecbee968bb6e8d6b9a71f7fe90c2ae33a01c8270db415c9cbacf1f5dfc11084ce269a87d3750caeba28210c0483380275ff56dfd061df SHA512 92fdbb15f80d0d2fc59f4970bc9768220fbaaa9f81fccdc969715c22e0d37dda9dc7a045c1c085c5fb5440cc97afe94762da9ce43bc1dbaf2015c9ed4a944538
DIST zen-bin-1.19.8b-amd64.tar.xz 88554592 BLAKE2B bf43b4c67753b22bb053318e26ae33a521ab836f4e88e59889a73a1531163b59b17c3c0714a03ace87ec54b0d4112ed120ed8156b1158059aa21107830fb4c18 SHA512 bae10813f0a134eb4674662ec88dc5489a78f488e80d8ff6ed0fcfeb35ff2598e1a870f26f2f79564fa80e33f6bff27b84fbb74ea3f16889e80002ce7876d055
DIST zen-bin-1.19.8b-arm64.tar.xz 76464832 BLAKE2B fa542d1c9291131b1dc37cdea00e16077a519150391e2ee63958e90d7c80a25d1b85211808701d50a745c26c06d834150a4838d146e2ded72d04c298110a6a06 SHA512 1727f64264220c09e68cccdad45b3da3880aa60a4a76993db75def53c9863b53d89ee919f8b2618b4561360d3b9e4563c8e1b766a3f91046cba8de59d41d9dfc

View File

@@ -0,0 +1,85 @@
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit desktop xdg-utils
DESCRIPTION="Zen Browser - A fast, privacy-focused Firefox fork"
HOMEPAGE="https://zen-browser.app/"
SRC_URI="
amd64? ( https://github.com/zen-browser/desktop/releases/download/${PV}/zen.linux-x86_64.tar.xz -> ${P}-amd64.tar.xz )
arm64? ( https://github.com/zen-browser/desktop/releases/download/${PV}/zen.linux-aarch64.tar.xz -> ${P}-arm64.tar.xz )
"
S="${WORKDIR}/zen"
LICENSE="MPL-2.0"
SLOT="0"
KEYWORDS="-* ~amd64 ~arm64"
RESTRICT="strip"
QA_PREBUILT="*"
DEPEND="
app-accessibility/at-spi2-core:2
dev-libs/expat
dev-libs/glib:2
dev-libs/nspr
dev-libs/nss
media-libs/alsa-lib
media-libs/fontconfig
media-libs/freetype
media-libs/mesa
net-print/cups
sys-apps/dbus
sys-libs/glibc
x11-libs/cairo
x11-libs/gdk-pixbuf:2
x11-libs/gtk+:3[X]
x11-libs/libX11
x11-libs/libxcb
x11-libs/libXcomposite
x11-libs/libXcursor
x11-libs/libXdamage
x11-libs/libXext
x11-libs/libXfixes
x11-libs/libXi
x11-libs/libXrandr
x11-libs/libXrender
x11-libs/libXtst
x11-libs/pango
"
RDEPEND="${DEPEND}"
src_install() {
#create dest dir
local destdir="/opt/zen"
insinto "${destdir}"
doins -r *
#create a symlink to the binary
dosym -r "${destdir}/zen-bin" "/usr/bin/zen" || die
#add icons
local size
for size in 16 32 48 64 128; do
newicon -s ${size} "browser/chrome/icons/default/default${size}.png" zen.png
done
#create desktop file
make_desktop_entry "/usr/bin/zen" "Zen" zen "Network;WebBrowser" "$(cat "${FILESDIR}"/desktop_options)"
#handle permissions of destdir files
fperms 0755 "${destdir}"/{zen-bin,updater,glxtest,vaapitest}
fperms 0750 "${destdir}"/pingsender
# Disable auto-updates
insinto ${destdir}/distribution
doins "${FILESDIR}/policies.json"
}
pkg_postinst() {
xdg_desktop_database_update
xdg_icon_cache_update
elog "For optimal performance and compatibility, please ensure"
elog "that you have the latest graphics drivers installed."
}
pkg_postrm() {
xdg_desktop_database_update
xdg_icon_cache_update
}