www-client/zen-bin: add 1.19.3b

Signed-off-by: Ceres <ceres@ceressees.dev>
This commit is contained in:
Ceres
2026-03-16 12:04:46 +00:00
parent f9287c2fd4
commit e742074e1c
2 changed files with 87 additions and 0 deletions

View File

@@ -2,3 +2,5 @@ DIST zen-bin-1.18.10b-amd64.tar.xz 86222180 BLAKE2B 49ef1111568b7810430b3c28ff33
DIST zen-bin-1.18.10b-arm64.tar.xz 74157712 BLAKE2B 0b858c843f83a3c482dbbc3cfd08abab7876f6e05804471aeb4cbb32fbdd3969ac4f53546fe1acd3d9c6db68eaa007b28944ee14163ffc76d3293e66d5069c51 SHA512 d00e12475debadd922ac9e66fbd681613612b153c15a6d64460d27d1e8d21ac32f72f224ddb4375d21ce1560a0424b98a991be272c9cc0c2d0312d10d37170e2
DIST zen-bin-1.19.1b-amd64.tar.xz 87758040 BLAKE2B 94511a7a629fc4c78ff66d2c4f131e0b7be23efc94d91c5895b71dba5162a2dab2e9d1923b3ceb21a809cff8171f7a124fe37ef3e824690b7c3043f23bcf9f66 SHA512 20f5a3b37c830caf88a59e54a07047dde10e35e2d32757b1d07db6d1aa2faf32448aa45c28768c8c12c77a63dac9cc2a401362e57ba2bbd6267ccd5a05ebe43f
DIST zen-bin-1.19.1b-arm64.tar.xz 75740124 BLAKE2B 38f77fb32d88a379bc45ca758dae41cf15fec0028304da710150ab6010b149d252f06db41ad2486b5425362f5aca5845209a05bf98bba5d6d81c7b3b54e8b041 SHA512 b5fc8aba86a27850a66dbd5d08b075d9cbdf2f4c540c2b0ff69436a2615d1f2fb4b7eea79f86a1cf0e274d95231dac08649a9ff6ae404e7c32a4680b545cef32
DIST zen-bin-1.19.3b-amd64.tar.xz 87712732 BLAKE2B afa8a5ade46c3a83cd54c38b01506cc6f19a3dacc205d25622633b377c70c557129091e8c1e2c5f71e26ee421b6f487b3b03f61e838dfac89b947b17b58eb18d SHA512 ce3dea303ccbb7564476f35ea32baa71d5bf955487eb84226ec7a035a4553cb71fc956440de078c3596a59bed5dc3b20a4eb284931a03a1293cfcaab2b7384d5
DIST zen-bin-1.19.3b-arm64.tar.xz 75861804 BLAKE2B a8c0691795d00c37965001883d4821683b495a1df5754db311a35be3d1382d21d4c2a7a172988faabfaeef906986a7b2e8d9cc6dfe3346ec620fbcc181c5b4ed SHA512 91fe6e6414099c5a4cf2ae69f50e434fe45d821f4fd2995cdea8991ba7efe02543199bd6b4f815c21192f9e7255b57782d3e4479b7d222bdc641001a661a0863

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
}