www-client/zen-bin: add 1.18.7b

Signed-off-by: Ceres <ceres@ceressees.dev>
This commit is contained in:
Ceres
2026-02-15 13:33:49 +00:00
parent 1f1fc4be79
commit f2132c8efd
2 changed files with 87 additions and 0 deletions

View File

@@ -10,3 +10,5 @@ DIST zen-bin-1.18.2b-amd64.tar.xz 86059980 BLAKE2B e965579b0cf1ba2496e487eea18c8
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
DIST zen-bin-1.18.7b-amd64.tar.xz 86208064 BLAKE2B 7d1f3b2101f49253aeed47860b5e4f1dacef763f2a8d8b7e5448cf0d0a5aff1c82e877eea4b66c4a7b12f38139a5c9cca856456d11837033ae904d300071c964 SHA512 336d144b1798b74d7e6e2567b64faad7fd8bf359795cfb0beaa4034a6bfe45d9a799ba52195d1f343ee2f961cef7105b68ec8eff10f7bd3415008b738fa88006
DIST zen-bin-1.18.7b-arm64.tar.xz 74160604 BLAKE2B d414b9a40f28cf962636e526359a5d860df532a96c7f932e52c2942e75bfffff809ff1e1d9c2f22c0f1f55fb3341914ccdf37c9317f0da2786a8f8103d12d4e5 SHA512 4d9d27f595eb57387a1e49fa020ea7fb533bf551d19db9065232f08acd12d8aaa5a887eac43883b24476e6121362d0ee9d393ca8337d73f0c7ac9acc83f9951d

View File

@@ -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
}