www-client/zen-bin: add 1.17.9b

Signed-off-by: Ceres <ceres@ceressees.dev>
This commit is contained in:
Ceres
2025-11-24 20:11:50 +00:00
parent 9244f3c68f
commit d6956a3631
2 changed files with 85 additions and 0 deletions

View File

@@ -19,5 +19,7 @@ DIST zen-bin-1.17.7b-amd64.tar.xz 84211244 BLAKE2B 5043b6da8839fbae3644c21fe9387
DIST zen-bin-1.17.7b-arm64.tar.xz 72129292 BLAKE2B 59b9e800c1a54030b2d156ccb2e52d6be3c71e94b6f52a24d067cdbe57a508f0a771e393d2f482505c3509d52e07d28fa97d8268f1bc56eb264e4656d51d5860 SHA512 a83cdeac3f2f4ef1c0dbfaab57216e9c3928885f0c5f8e675c075f488930b1c28d2b8a52d39c75576e0f9cd1c1b6d20f15e6183a980be395babd005fe45488bd
DIST zen-bin-1.17.8b-amd64.tar.xz 84186188 BLAKE2B 1f0470f084f5f2c6a646aa8a88e2a3e5fd247ef50fbc8ad82fd275b76aaf59383351fedac2eba4804c1c1a56bb4f3c26e803649b7c5a58c0e55310ad0b06f7dc SHA512 2da36ca0a1db8f008797b49ca7d71b70bcb85ad84de6dc3799c1fc610ab98ace10462edab86240c4d2b9a3c069e4c2a7c9c61e0e5ee7a9b8b86ce7e337318c64
DIST zen-bin-1.17.8b-arm64.tar.xz 72164308 BLAKE2B 923ce066d0bd2b855929c61b414fd3f223c5ceb84fe6bcd2ccb6cfd7d5f38b8d8ae4d6fe0c3617aed0a25d501b41f8a281c85c7ab7c51264fdfb8df9894fc857 SHA512 c20d8ac8055316805d2167bc7ed8c017c48899f15c42f161f54c8642862610b1637fcf9acb951ef4d932b81149df1b4fe96e4889df4303878cd6347d79d1648f
DIST zen-bin-1.17.9b-amd64.tar.xz 84188312 BLAKE2B a8317694d2058efdcbed48179e0b3969e5d9ac118a2007509b5cd4c13a41b1d3fbef9dc7cfdeef4aa70b23226466109fdf91149b8a3ec91f6d86ac5781256623 SHA512 c5ae347602d5808ab1a050413f86600e3802f59f55dff96c40579a91f01fe8aac409477cc17e6ad3573a471b4b20320ecd15216e090985792ed2347c67b6bc17
DIST zen-bin-1.17.9b-arm64.tar.xz 72292932 BLAKE2B 5fbc016771537c911b92e93e5685a9447330d5a12f8324514e8a20b264aa49eb25a4c681ecc95993c402ff42d3ffa5f13f11c6fc3f7e3d6fba5698913d785853 SHA512 df3ffbc396f88b5937868952c2dd6dd5ed6a3e80a0c5f948a3fd2e86cf99be3320fc127609da1d685ee638c220eb0cd60644ed39b9fe1495700261633e752353
DIST zen-bin-1.17b-amd64.tar.xz 83498100 BLAKE2B cab4b976d9d30eff0a4cea915de2efda8a71cfce8ec590fbb8f632404bf343c5320af2f50d23f98b9079900751332844a5be2b1b56948ade46cb9d10dc00b6cb SHA512 919ebb2e1639f95782bad538171b693574090dd6d7fc378f803389b35cc07d2da7475ad6c59565911c58e82e49b6b415b1b72935c5901b6b4d21ef60997a85f5
DIST zen-bin-1.17b-arm64.tar.xz 71560424 BLAKE2B da989bcb8cd1779b6d90ee50321da78c2c077ce3cdda682e08d7b0052743bad660b3923797cbe8295ffc6c89fb9d35120f06f939420fdd74096ce2f835e5661c SHA512 746f31fcdcfd12a48fda5d34db7a3c754510982dc234b120c5b70afda91a2a9464e528e88da8ddc182917cc0922a25359112a8015ed9ef3bb40d5bee55762a0d

View File

@@ -0,0 +1,83 @@
# 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
}