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.9b
Signed-off-by: Ceres <ceres@ceressees.dev>
This commit is contained in:
2 files changed
+93
No files matched your search
@@ -2,3 +2,5 @@ DIST zen-bin-1.21.4b-amd64.tar.xz 90817468 BLAKE2B 31522af5255b7443b3d95db707dbf
|
||||
DIST zen-bin-1.21.4b-arm64.tar.xz 78042188 BLAKE2B 0330fa74cd080f79056d1f4b68c5cd3ba058bb40c693cae247fd557097170aaacd2dc2f1515efc5a0483c8e89a340eee715a13d14632040008b62b1a76f5f336 SHA512 374146ee8fd660fbd7487afaeba48bdbd5e8ae906a48e3b130b7688228013a8c6c78563fe37a0d48c48aad69ed80db631683e9d26197cdafa3b2ce02771a2035
|
||||
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
|
||||
DIST zen-bin-1.21.9b-arm64.tar.xz 79712408 BLAKE2B 9281be59db02f14e6daaa8e73063c8fa7adee019093c4f17418f4fcd2118849aff18f20a3c094049162add6e151c51b69e51200adeed1a6783d76bef49c0019b SHA512 53f3868bd6473326abeac41b0edf59da3bfc0a0f6daff3e01d0741915450094be400897cd4455e91a063adf8eb48147263040c2eca7922c3ca8897871611b206
|
||||
@@ -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