commit:     baeabc8cbd0288459f422277f775c8ab89d3161c
Author:     Ceres <ceres <AT> ceressees <DOT> dev>
AuthorDate: Wed Jan 28 17:10:54 2026 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Wed Jan 28 17:10:54 2026 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=baeabc8c

www-client/zen-bin: add 1.18.2b

Signed-off-by: Ceres <ceres <AT> ceressees.dev>

 www-client/zen-bin/Manifest               |  2 +
 www-client/zen-bin/zen-bin-1.18.2b.ebuild | 85 +++++++++++++++++++++++++++++++
 2 files changed, 87 insertions(+)

diff --git a/www-client/zen-bin/Manifest b/www-client/zen-bin/Manifest
index b9ec015f63..1222a4395c 100644
--- a/www-client/zen-bin/Manifest
+++ b/www-client/zen-bin/Manifest
@@ -6,3 +6,5 @@ DIST zen-bin-1.17.15b-amd64.tar.xz 85222788 BLAKE2B 
602a150033aa5c3fb27c50af7071
 DIST zen-bin-1.17.15b-arm64.tar.xz 73430572 BLAKE2B 
98ab6f33acc8a760c70698274cf9719540baaee5a324dbd1b40715e0beda83d1955540503d722e83fc24a8fada5008e7a9f25006f52ab720ded93f7694383d83
 SHA512 
45eb1c158fac0326e78a60760f73254c020d52640d8f950b6bdd3d737e956a817e6d469243472da2a8d72187e75d02554b063a014d171aa35ee16769f22ee140
 DIST zen-bin-1.18.1b-amd64.tar.xz 86003664 BLAKE2B 
c2223c235b290fb6ace8909ea05f817c828b034c701be38e4d7077109ab11bc6d18dafc1b8be7d43e2b75418760fee9bc1ed166244be09985717ca42ff979615
 SHA512 
c8b1193370cdf0ea54549682eabcb42660491ba28469f09e11178647e07a6d23f57a415d987749100a9d130828d62efb05c814932847de0d2adc0039baf6cd3b
 DIST zen-bin-1.18.1b-arm64.tar.xz 73990380 BLAKE2B 
fe4fc413e8e22554e25822fc5c1cf73fe1fc8d0091648f70f8667936341269674fa429c24ba93b6b04e9e433ad601a1a502aa08a4a2134717b7d86b59fc47497
 SHA512 
374f16cb19d63699d43ac7bd8c58acd751aef9aed8cd8b7b141347b7c85cf26a7fa56525d853af0b0c059dacdf9b221a995d51c44a0a2fa2ca21f64194701189
+DIST zen-bin-1.18.2b-amd64.tar.xz 86059980 BLAKE2B 
e965579b0cf1ba2496e487eea18c8fd55b02ee73558e35a6d4fecdd6c9d02ff89992f4e8e8c8989b8cead3578bb7419499c2fc8a791ac748f559856ddeb1ac96
 SHA512 
0e31e1579fdb49bc8cc3d8a65bc3524f8115aa833da81cda599b1c5538988fd146ab21cf43ae9554bc5f7e08e35915922c8972ef9d7cf82a64237b9e40d02561
+DIST zen-bin-1.18.2b-arm64.tar.xz 74059692 BLAKE2B 
4c935222983c7509668c4ace7b4a8145c530700bf31543c05b5803bf10c9bb880af8e5a88e16196bd034a0b2b326dd327270a4a6494f939b21995f54b9e4e7b6
 SHA512 
5c88164ff3195e0ef7e611a80b2e8cf413b2264e6cd6d3d31758af2237bc400ef62082c4a0ea500a3a30dee5b318dc8fd7c46ad32bd618a0f6e3c7f9b80cb27f

diff --git a/www-client/zen-bin/zen-bin-1.18.2b.ebuild 
b/www-client/zen-bin/zen-bin-1.18.2b.ebuild
new file mode 100644
index 0000000000..270b7e8d0d
--- /dev/null
+++ b/www-client/zen-bin/zen-bin-1.18.2b.ebuild
@@ -0,0 +1,85 @@
+# Copyright 2025 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
+       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
+}

Reply via email to