Update Zen architecture sources

This commit is contained in:
Ceres 2025-09-29 12:15:58 +01:00
parent 6ab89f1982
commit bf9feca334
3 changed files with 4 additions and 85 deletions

View file

@ -1,3 +1,3 @@
DIST zen-bin-1.15.5b.tar.xz 82050040 BLAKE2B 2024140ef45ae0b773eec24c372ded78e366c307d01d12a165f963c286dc41b2c89738cec4afa5038ed43b1730d89673346e6d114f240d1fdf4393eea4b06145 SHA512 06c57df36cc1909e732bddefaa49a3925d94b91f566ac8022b7a123dfd1256e72b0e772d8441c0f001079cbef58439fd8e5ecf182e0d47c35b6f27c0fb514156
DIST zen-bin-1.16.1b.tar.xz 71920216 BLAKE2B c0328d7856dbd654300deb4e9b77cb0d6b5b6cf25c68a057ca892696c4936ea765c4c2802e8c3990fa1776d92da72ff4b3dfcf459508a5d82d1a3e7a2da10787 SHA512 5ab75980fdb498c55497a5a64d3e5831a3178ef038129a96879623468e9ecd7b0c65ead5e33bcfaae7f814b8ab843c86e2e4fcc06989e208da12e1e0bc12e77a
DIST zen-bin-1.16.2b.tar.xz 70599544 BLAKE2B 3155ef379af802259de69eb6cefcc5616da212967f096ac0cc9ae94d20e061276ea70d9864ce0435e3da56a3e056f48faff825fb2cd075e8b2322643aff1b83a SHA512 dda0c4ec1ead91a43bc4fb81176dc673f504685eddc398c37dc414711b141dbba7ebbacbed14607bffe99f6b6a57ea0382f752641fd469cb29748873d0eaae04
DIST zen-bin-1.16.1b-amd64.tar.xz 83510988 BLAKE2B 51160a679b0d73fe9d72d0db68761aba5f8b92407be1e02a3b6330d39aacd8b7b7401636775940260e2c54fbfe7dffdb384694b4b91679fac94cfe4669b77c31 SHA512 4518580d2e70e00a862fafba2a87c6e98cd746fbeb4e6df19f2f2562196ac85317064a029624c2bde40c3bc169b0d9973e86ed141f22470cee3ee00833021249
DIST zen-bin-1.16.1b-arm64.tar.xz 71920216 BLAKE2B c0328d7856dbd654300deb4e9b77cb0d6b5b6cf25c68a057ca892696c4936ea765c4c2802e8c3990fa1776d92da72ff4b3dfcf459508a5d82d1a3e7a2da10787 SHA512 5ab75980fdb498c55497a5a64d3e5831a3178ef038129a96879623468e9ecd7b0c65ead5e33bcfaae7f814b8ab843c86e2e4fcc06989e208da12e1e0bc12e77a

View file

@ -5,7 +5,8 @@ EAPI=8
DESCRIPTION="Zen Browser - A fast, privacy-focused Firefox fork"
HOMEPAGE="https://zen-browser.app/"
SRC_URI="https://github.com/zen-browser/desktop/releases/download/${PV}/zen.linux-aarch64.tar.xz -> ${P}.tar.xz"
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"

View file

@ -1,82 +0,0 @@
# 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="https://github.com/zen-browser/desktop/releases/download/${PV}/zen.linux-aarch64.tar.xz -> ${P}.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"
#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
}