commit: 37475ba38d246e953115de8f127f9a9fa1dab3d2 Author: Ceres <ceres <AT> ceressees <DOT> dev> AuthorDate: Fri Feb 6 19:44:45 2026 +0000 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> CommitDate: Fri Feb 6 19:48:37 2026 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=37475ba3
www-client/zen-bin: add 1.18.4b Signed-off-by: Ceres <ceres <AT> ceressees.dev> www-client/zen-bin/Manifest | 2 + www-client/zen-bin/zen-bin-1.18.4b.ebuild | 85 +++++++++++++++++++++++++++++++ 2 files changed, 87 insertions(+) diff --git a/www-client/zen-bin/Manifest b/www-client/zen-bin/Manifest index 1222a4395c..37cd836ca3 100644 --- a/www-client/zen-bin/Manifest +++ b/www-client/zen-bin/Manifest @@ -8,3 +8,5 @@ DIST zen-bin-1.18.1b-amd64.tar.xz 86003664 BLAKE2B c2223c235b290fb6ace8909ea05f8 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 +DIST zen-bin-1.18.4b-amd64.tar.xz 86018588 BLAKE2B e101b1275ee886d065836c485f428d7b165890a1b0b29a99b853406f80d28624f2c36d995b35179ca68abfc88c5ef81329723c20f8b7bd5a127362d7ee77370d SHA512 4ca8b22ca5ebe5d6e7e4a2665fd841f812259434835b8e7a918258b36df03a14babb5d090f0c4bf2bd7b385873ef0d7fb20e1169434fc16cb4685c2ab4709519 +DIST zen-bin-1.18.4b-arm64.tar.xz 74056516 BLAKE2B aaab7354b19f9ae9aa76834870fdbbd3ebf5329e90a1b8d7ae822464a08487485b6a141b93d25bebd36a4bd2c02b7fedcab6da251f61e321b72afab335df0c9a SHA512 df99e8ed2ba23be7166d19a3a0a21e4e7b1529252cc142fafaab0d6a7cb14999644a8da47eaa2935324555273e8c2e26671a9d840f4afc3aeedf41c7f2023320 diff --git a/www-client/zen-bin/zen-bin-1.18.4b.ebuild b/www-client/zen-bin/zen-bin-1.18.4b.ebuild new file mode 100644 index 0000000000..270b7e8d0d --- /dev/null +++ b/www-client/zen-bin/zen-bin-1.18.4b.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 +}
