mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 13:33:32 -04:00
www-client/zen-bin: add 1.21.8b
Signed-off-by: Ceres <ceres@ceressees.dev>
This commit is contained in:
@@ -2,3 +2,5 @@ DIST zen-bin-1.21.1b-amd64.tar.xz 90416696 BLAKE2B 168153aa1516a9a8d05592e1043d6
|
||||
DIST zen-bin-1.21.1b-arm64.tar.xz 77572924 BLAKE2B 8017abceb0b871b5c6e5a5067d33b589f739151e4f623a6c71c859ade902f848315beb515e05fef01b0a94a1503b876f79d2af100d75c39138b68a75d50154ef SHA512 2c0e1f9947797fe10052aaabfb16049857c3e0febfe83faa510ae2eca84427c59197a1244348c11777c8371ff8b1051c1c7e59ff49105e7c084ffa7ff6a7d87c
|
||||
DIST zen-bin-1.21.4b-amd64.tar.xz 90817468 BLAKE2B 31522af5255b7443b3d95db707dbfaecbafb2ed190e1ceb538599494929e2fd0aa32421d5b23cf2f8ea8414461f2b8f6a29afe0342d3eeb2c3435de66769de87 SHA512 3fd75ea9d0479d19a307fddd30ddeb8812c293f1ad6e502787a10382dd295917df9713140cf1ff901eae78fc5cdc2edbee27997dc9a0e0c2d34878d3bd49d326
|
||||
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
|
||||
|
||||
91
www-client/zen-bin/zen-bin-1.21.8b.ebuild
Normal file
91
www-client/zen-bin/zen-bin-1.21.8b.ebuild
Normal file
@@ -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