mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 23:23:00 -04:00
www-client/zen-bin: add 1.17.15b
Signed-off-by: Ceres <ceres@ceressees.dev>
This commit is contained in:
@@ -4,3 +4,5 @@ DIST zen-bin-1.17.13b-amd64.tar.xz 84488876 BLAKE2B 141553bced97bdaf23f182638ab7
|
||||
DIST zen-bin-1.17.13b-arm64.tar.xz 72447292 BLAKE2B 6e69d427cff4abb63fa8659c3010e3be314f16b4cb46a654284de53f4f49b21b79452ae3a17a21eb63a3d94badfc415077e9897da92751d17d242a23c5e54396 SHA512 df5196df5642c38750bc5c91cdb8c96478371ae18472ddb916994f66a960501c5ea42d23f1139eb3f3987f21467ced507f03d010bd5105e99bd43258ae5da6cd
|
||||
DIST zen-bin-1.17.14b-amd64.tar.xz 84449136 BLAKE2B 1ad706184dc6728846e01f476fa6815268e27f2a4b4033d2e6298e85d4a80ee3a4e71002b4a6fb57837e172e7166aad060b0b87c7b714d267dd3741e7dc53bf1 SHA512 2a150cee6a897ef627a07e2bfed50d0ea2511a7db53364d3c89f4331853e442326c6567c5ad05a190b2a8a45d282e7e0d84068875e1b8c9a9b41e2a41dd6d4e6
|
||||
DIST zen-bin-1.17.14b-arm64.tar.xz 72488064 BLAKE2B 6f7e74b1d3f48bf4a350aaf65bb37dc12dd10d0b23e41a8c9e5680f2af5113378de004ba398d935fd185850c6b46fd4441cd58c75ac45d3eab66c651ce8d2401 SHA512 7346aaa96c98675b4f72e21ec92d42a7c1e2f1ea0adfc7a3c7144bdb2e09557ede44abfa95543c28882340d5b55bb29c73a4c01cef5dcb510f852aa3be6be5bf
|
||||
DIST zen-bin-1.17.15b-amd64.tar.xz 85222788 BLAKE2B 602a150033aa5c3fb27c50af7071c8f8a8109303078ca9e7ffec9e312a5a3c66820bc7e759c2bb1563c4c3fdd85ddc5b3ea7586cd5c5917977e1fd5a680fb22c SHA512 21980103847dd15fce891cf6d818bc08cedf0b0eeb58e90601f53f5988f6d984a1d655656144853721d24da88f9dc13d9f7b00f892b23bba891d6dbffd718ff1
|
||||
DIST zen-bin-1.17.15b-arm64.tar.xz 73430572 BLAKE2B 98ab6f33acc8a760c70698274cf9719540baaee5a324dbd1b40715e0beda83d1955540503d722e83fc24a8fada5008e7a9f25006f52ab720ded93f7694383d83 SHA512 45eb1c158fac0326e78a60760f73254c020d52640d8f950b6bdd3d737e956a817e6d469243472da2a8d72187e75d02554b063a014d171aa35ee16769f22ee140
|
||||
|
||||
85
www-client/zen-bin/zen-bin-1.17.15b.ebuild
Normal file
85
www-client/zen-bin/zen-bin-1.17.15b.ebuild
Normal file
@@ -0,0 +1,85 @@
|
||||
# Copyright 2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit desktop xdg-utils
|
||||
|
||||
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"
|
||||
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
|
||||
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}"
|
||||
|
||||
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" "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