www-client/zen-bin: add 1.19.5b

Signed-off-by: Ceres <ceres@ceressees.dev>
This commit is contained in:
Ceres
2026-03-29 12:56:03 +01:00
parent 2b62f4ce51
commit cc0d5fc537
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.4b-amd64.tar.xz 88475628 BLAKE2B 89dec197c64aa86b11d468e4c8ecf987686b551ebb5b98155653e17e1ec1cf74c1952ee731530e954faa08276982fce27380033c4e25ebcad6e871b0859d75be SHA512 8773f9a64ae6db10a03975c902b259684244112b11e8b5341634757ad187436168f6722328969300b3be9a9885143ec6eba4c4458e63cfeda1a2f66002fe0041
DIST zen-bin-1.19.4b-arm64.tar.xz 76425564 BLAKE2B 8bd12e61882011100d6dbcc7e465b1f187c3f8e67fc565613a99f09085d1ebb6256ef0a7cb5805a2c584430f3605515c94df3a9fcf1a6ca1d16e0f64d38c822e SHA512 22f7139387a57a4b34957f3200f86bcd158714cfedba6a2cd5d415868f1b0ebf350af1451bf9d1492113968f8ef247de4586a61f3c865fe172e1a7f8e701e1f7
DIST zen-bin-1.19.5b-amd64.tar.xz 88503728 BLAKE2B bc691c83225c589ee61129dca171c1dfe6fa8d93196c8e6ff84fdd979cfc64df2165f78f4bd904b57d74609b6b4c9d247b7abd4c1e34e5f4324f85fe8536eb08 SHA512 5458cbb9bed13ac941194e6524a958e2a009b1109e8b36be338cbefcfcd5d2c134e42c00b122b2fcce0b9f5fab5fdfde04b22062e45d26cdcf7b7edfa046239f
DIST zen-bin-1.19.5b-arm64.tar.xz 76250308 BLAKE2B 75551717ee0deeee4001ae03d06fbf85a61bbe4aa90aac6cf909e7339de005aa50d24fe883920cfc02912ea37e9129d1a2511ebcfc48654823eab839723c5882 SHA512 48fba68dad23336b426daa7c0a5b4bd5d282b9636832157affd93926b20dd2744d02bcb1d30e4cd7e3cc8a9ad21272fc64ece6387ba288618a52e7947985c2b2

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
}