www-client/zen-bin: add 1.18.8b

Signed-off-by: Ceres <ceres@ceressees.dev>
This commit is contained in:
Ceres
2026-02-16 13:58:25 +00:00
parent df5fd762c2
commit 1887f9517b
2 changed files with 87 additions and 0 deletions

View File

@@ -12,3 +12,5 @@ DIST zen-bin-1.18.4b-amd64.tar.xz 86018588 BLAKE2B e101b1275ee886d065836c485f428
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
DIST zen-bin-1.18.8b-amd64.tar.xz 86183484 BLAKE2B 497822f3d905fce29eb90cc1513b2b5a88eebb4f082c1e071c11a56832c7e49280060196615de678b525f0029ed035367befa9beeb7950d18c409525696f94da SHA512 a632deec19ef004ea7c75ce3034a1d7c55b1b6241010531cecbeaec80d01d65ac7679fb79f198630d50c1ada9a6532fd88dfd03814148902b7eb8fc24241c8d5
DIST zen-bin-1.18.8b-arm64.tar.xz 146751 BLAKE2B d053108e432591a17ad764be0135bacc19163a9e4d0a104ce6c099e73f7186dd6c122285c816ffd8afa174a59b5e12bdb5288bc0fb574e694cafb65bb56c5a88 SHA512 56ee182218275cb84fea430ce9c06cc8a8390aac3cc81fff5c79a61d70fa7a5281996624d1d845c358a4f2eca8f59d59abdac94e7358a83f674f9430c8af5820

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
}