mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-10-12 17:51:11 -04:00
www-client/zen-bin: add 1.21.10b
Signed-off-by: Ceres <ceres@ceressees.dev>
This commit is contained in:
2 files changed
+93
No files matched your search
@@ -1,3 +1,5 @@
|
||||
DIST zen-bin-1.21.10b-amd64.tar.xz 92393112 BLAKE2B 523ffe777ed2abfd3cf3adbfb8d64262d24f9642869c6b90108ecab7fdcf9c37772df0bc60d6f2cfa7354313f062915c20cf6a09f4e0bf5cf2c4520de531fa90 SHA512 aef5d51f60f991bb890e8aafcd9031365f76a7b2c99b894d7ff6c9f0367988d2f028434b1d37e1ac9640c7faac97a6968db6392add5858e1688c100e98bed046
|
||||
DIST zen-bin-1.21.10b-arm64.tar.xz 79506928 BLAKE2B b4d4aa3ce5277a719c90b17a670b5ce95c1d60a53c60cb06f3628148292749cafd9d98731f35259c2d16fc7a6787d97c49c362947501035f6fc9d4cdb10f4abd SHA512 6dcc20166c6f3b1fc309f90ae5cb673d6ed5a7eac12e771d54d2b5a28e963cd4997a3f1631c0a8cd7eccd28ba0ef1b2b7c725a00547b2866d16ac5cc14262237
|
||||
DIST zen-bin-1.21.8b-amd64.tar.xz 90937356 BLAKE2B 44f76d0f35af601eca632b248a31540bc4b1660283f7ee6f53b007d09157b74883d359c9cff34ba31a589f84dc8374b45f2d8b4c20af596a6011b082e04b8e28 SHA512 13f2038e63e254f515fb0f10ad1e234026edb06ebf5c1a1c4d7ef9f8cfa28e2a02c77e37b1723332d20e6744248446c9232c18c772c1c8702b815f3ffc097f49
|
||||
DIST zen-bin-1.21.8b-arm64.tar.xz 78180928 BLAKE2B 5fdb45c386f90055f5c1d5c2954cbf736efaa15b36e9f87b260352bc345bc6b52d187ec62d439153f0243761cef70a9ff4941910c7f739dbb0ba0458a66246c7 SHA512 d99c6964b5f08598e155f7573cd700b715491582d31ad22416ae79aa71447afeff939b17b23f2f9e9b7c47ce4457ca72108938d405edb69fc4e09dc0424600c4
|
||||
DIST zen-bin-1.21.9b-amd64.tar.xz 92433240 BLAKE2B c4716e9444b57d6fb697ef366a6c251753a3bd48d695a4c396562b8814e9e2172aad1a34a85241141f7a73358d0a1e4f7bb6300ae0075903dc27de9e644cecd8 SHA512 44a51a9ab908fd8959ec52b21d75397041bc63dffe26fe728e419f785816f4789731b06963b593eca213a1495311343caa8c45e4642cbddf6317b83d30c7a9a0
|
||||
|
||||
@@ -0,0 +1,91 @@
|
||||
# Copyright 2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit desktop xdg-utils ffmpeg-compat
|
||||
|
||||
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="mirror 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
|
||||
media-video/ffmpeg-compat:7
|
||||
net-print/cups
|
||||
sys-apps/dbus
|
||||
sys-libs/glibc
|
||||
x11-libs/cairo
|
||||
x11-libs/gdk-pixbuf:2
|
||||
x11-libs/gtk+:3[X]
|
||||
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_configure() {
|
||||
#https://bugs.gentoo.org/978430
|
||||
ffmpeg_compat_setup 7
|
||||
}
|
||||
|
||||
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 %u" "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
|
||||
}
|
||||
Reference in new issue
Block a user