www-client/zen-bin: add 1.22.3b

Signed-off-by: Ceres <ceres@ceressees.dev>
This commit is contained in:
Ceres committed 2026-09-23 17:36:39 +01:00
1 parent 48959cb24a
commit f6c578715e
2 files changed
+93

No files matched your search

+2
View File
@@ -2,3 +2,5 @@ DIST zen-bin-1.21.10b-amd64.tar.xz 92393112 BLAKE2B 523ffe777ed2abfd3cf3adbfb8d6
DIST zen-bin-1.21.10b-arm64.tar.xz 79506928 BLAKE2B b4d4aa3ce5277a719c90b17a670b5ce95c1d60a53c60cb06f3628148292749cafd9d98731f35259c2d16fc7a6787d97c49c362947501035f6fc9d4cdb10f4abd SHA512 6dcc20166c6f3b1fc309f90ae5cb673d6ed5a7eac12e771d54d2b5a28e963cd4997a3f1631c0a8cd7eccd28ba0ef1b2b7c725a00547b2866d16ac5cc14262237
DIST zen-bin-1.21.15b-amd64.tar.xz 93971632 BLAKE2B f1658b26caa5a6ad1fdd8dd68aaeaa3f873d78932fd3b8e51389f09014b1d7795270d9b9ecff06db8dd4320026075bf12cfdc045e9fe5480e1d48af466a38a44 SHA512 45cb449a6791559aefe8d1e81bf435aeaf8721165b459e3dc20c41b55f74e6e15645fa73e3871c5dc08b90198f425ea125c2a11f045a9ed2e299a7d933d9cbb3
DIST zen-bin-1.21.15b-arm64.tar.xz 81327256 BLAKE2B 9dfba3df46c483e2524d24794f3fd4176cb357256ffd2190409f3930c060d50e4220b1eb6983f600a8fc962aa2d00da4aa4231402540cbd8188507e1512f13aa SHA512 d7f33d0df4f18a5cba2ef7e0c2dfdd4427cd9347d88f2ecfe337c2e803127a8b3cd7478a1363237a963b6c52434ede2cd94f86fc0786bfc55ac4ecb5bea18229
DIST zen-bin-1.22.3b-amd64.tar.xz 110395876 BLAKE2B 336eb34cfae28b823ed0275e4d043201105bcf96fe879214529a46ee4f2c825ae99113b07b562321024cdd3f01918f8b69ea6c05b00b67906eddde5708ba7c1e SHA512 861d75f6bec2a56436d5dfac3a5f7fa21de4b19ef3d68c1338f1fd0b10b25d738443e5543d63882197bddaff850871b8852d4c5ff98bd061c8d717efc6ad92c4
DIST zen-bin-1.22.3b-arm64.tar.xz 97496056 BLAKE2B 94075a5a311f15fd737188acc0203a79d5f3a9c50714821ed2380f56746ddacf68a8ce2c56376960da6d47867b30ea51a7fcb182e476337a466ccd787a98dbe8 SHA512 1be8d7aece82e54afdf516f5bdfe4d11bd3267c6a288d9db12777abd37921dd239a1c09d945f320092f2b4b98d5d5be8e8f0e2bf0e1b46fd21e979523abfc580
+91
View File
@@ -0,0 +1,91 @@
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit desktop xdg-utils ffmpeg-compat
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
media-video/ffmpeg-compat:7
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_configure() {
#https://bugs.gentoo.org/978430
ffmpeg_compat_setup 7
}
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 %u" "Zen" zen "Network;WebBrowser" "$(cat "${FILESDIR}"/desktop_options)"
#handle permissions of destdir files
fperms 0755 "${destdir}"/{zen-bin,updater,gfxtest}
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
}