www-client/zen-bin: add 1.17.6b

Signed-off-by: Ceres <ceres@ceressees.dev>
This commit is contained in:
Ceres
2025-11-07 22:49:26 +00:00
parent f95b446168
commit eaefd8de44
2 changed files with 85 additions and 0 deletions

View File

@@ -13,5 +13,7 @@ DIST zen-bin-1.17.4b-amd64.tar.xz 83493256 BLAKE2B f2f2f7aa62be512338716b9bb95e3
DIST zen-bin-1.17.4b-arm64.tar.xz 71703128 BLAKE2B feeb30d28feb1c2ed7185f908129cba71079228aa517f15511b0a4e262b1e999af2f353358a607cab97e2c1864d9d7379b1bb392bd48ff8be1ae5455bb61f9fc SHA512 a17411c72873ed3f14a166684831b7004802a58f316e5181ccf7f7fb7e976154529882968bf95d4ef20d3daabebcc92593e7aedff89a0dcb7dd961ed40f3e190
DIST zen-bin-1.17.5b-amd64.tar.xz 83471944 BLAKE2B 48ceb8586e7bd61e6cc2e31a1ab6f77c5682a18823a32c061c2a06346630e326d7d94a5af926a1ded34506921fca034ec43ccc3c9c33b04f86bf7de390f96714 SHA512 a89a55fac2f804e85167eb51da3a0011c7577f5d4f2b1fd6d774386d37ba173e89f0b1249dad2563395f3ce21cf1000a411bfbbf439484cee58577f4eee3c9dc
DIST zen-bin-1.17.5b-arm64.tar.xz 71724968 BLAKE2B bfdc7253fe9531e0065b33faa54d41b78247ec34d44096117370a09b62d04dfe875d24eb53a986a92ad759331cbf790ee55ab0a24d6a65b3ebf04fff5597434b SHA512 791a23dde4f307a0b59939b7a8f3deca0a2a63931b673ca900e2ae39cdaa7bd2c510f4023e68fda96f21e1944cdb1a9bae8efc09bdf9fa99796e787c04023383
DIST zen-bin-1.17.6b-amd64.tar.xz 83451000 BLAKE2B f5802a0108cb94f6af6588f17ac17ffabad3c1eb5b2cdbda54b86b181727eb450aaf504459c1f38a86b6c1d5aee92775aff93c3642fa7269b5007ba20f6832ad SHA512 089f3deb279708087c4312434841fa60d6b44dfa3e0a30aaa3f0139a4e8574c1cad58b2f35a696723f2879b8543daf29a29b9b683b6372246d5ff77d2b76e574
DIST zen-bin-1.17.6b-arm64.tar.xz 71661992 BLAKE2B 6668d1119544820ccef3531e45ab8717378504f6d349f76255e14d21328a60d69c3d27e281620371d1aa1d70d068ad2b3c98dec833b1dcc1cbb7c6066e26d9e2 SHA512 3b22b98d611418bc4064741c7cd7fe3a4a4b135da7738c57e7229b3c652980d01c89b4515a672f8e76169a894204ffbae56898e3c3e286a2648b89a47c8e0aad
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
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"
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}"
inherit desktop xdg-utils
src_install() {
#create dest dir
local destdir="/opt/zen"
insinto "${destdir}"
doins -r *
#create a symlink to the binary
dosym "${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
}