www-client/zen-bin: add 1.19.13b

Signed-off-by: Ceres <ceres@ceressees.dev>
This commit is contained in:
Ceres
2026-05-22 14:18:36 +01:00
parent a64600c8b5
commit 2ba3dffbd3
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.12b-amd64.tar.xz 89916828 BLAKE2B e3fdfce66669699ec7c8e13c132fe73fdaf914961e1a742bec7a53653437d336b03b9e2c3e962ca76d97b8d2470e0d09e80ad734b3a14a1597504b81f63a527f SHA512 858bfadbba0b4e9f96e6619c4fdf1b4dfc476bf37f404ce85248d5bffb418d5668f8a89698d489ee068653fd7327e304cc23469cc461b976e900b77b00e49c15
DIST zen-bin-1.19.12b-arm64.tar.xz 76831612 BLAKE2B 1ceffc1e4bdc31f1dc720c040aa3a6cc77dbb7b1994c59913b8745febe3144cd571fc06ba5a632ce3bf1be4611b7b41209c357f7ed35380c81e320618ea6dd8d SHA512 3e341af5e82272f4063721667b014cf4224de005d14c7162c318f6bc9e0548fc86b3dabb7c9c38369e53e2cbde738f48ffe236e4e83944e79432e4043caad62f
DIST zen-bin-1.19.13b-amd64.tar.xz 90004576 BLAKE2B 9556fe6848293f6836c769ba86ea92a57802152a5801f537f9a7d40a93a8f955bf4beb9e1acd57cfe508a9785b50061f2be55ccbbc41bf5f415607dd370e3b26 SHA512 8f54290679efbf9e3c17a09df267474959cbebcb5f55d864e48023a86753fd32774f5577ffafbdcad7f465b5ee4eb7ffcebddff783721f356c27bfe75ef58cfe
DIST zen-bin-1.19.13b-arm64.tar.xz 76901072 BLAKE2B 48e709b258620b6af32968a43118b55087fde557b60c4adbfbc5ef8eab69320114258841553f1cae2501be6b090858251863800c1eb0865c25381725c723d66b SHA512 80962604c1236bdc79987ea97edfe9c4bcdc2349bde3c3843b81ef740f5d11cd0b14607f5f2d03754fac62b3c6b8f3ea68116775c2c85b29705c37e6a2bc8431

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="mirror 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
}