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.8b
Signed-off-by: Ceres <ceres@ceressees.dev>
This commit is contained in:
@@ -17,5 +17,7 @@ DIST zen-bin-1.17.6b-amd64.tar.xz 83475544 BLAKE2B a5c4d18580972a6683e1ab6848698
|
||||
DIST zen-bin-1.17.6b-arm64.tar.xz 71551120 BLAKE2B 70cd1b90dbaebab333078fbdee0080b6e077e885a453adb251e1a7c2bd38a9b935827ce97244bdae152fa5ceba2ebc11f0322ce7ee047fa472a9c144efef4611 SHA512 6676dd2406c3f8328e9a45a2ab594e2160e5ac7e5ec00f2820acb5c85f995ccbdab38ec395765c4cc59db7c4ad02e60956fd3c83fd447cb1eec464f612dc9b44
|
||||
DIST zen-bin-1.17.7b-amd64.tar.xz 84211244 BLAKE2B 5043b6da8839fbae3644c21fe9387e223086c8146b80a0bd4c7d1b4b6d69af6bfe6ce830daee4c1127d933a7470814b466bfa5baa6b2e70cf18f8f040131c995 SHA512 2c36f4d751544cc48885a1041d9e7da9f9080fa4b5abb0db47b8cff4e74ec5f0a2fe76164df3bde9febad4b9dda10ad0c09182ce94d9ddee234e5ee1c650a9c6
|
||||
DIST zen-bin-1.17.7b-arm64.tar.xz 72129292 BLAKE2B 59b9e800c1a54030b2d156ccb2e52d6be3c71e94b6f52a24d067cdbe57a508f0a771e393d2f482505c3509d52e07d28fa97d8268f1bc56eb264e4656d51d5860 SHA512 a83cdeac3f2f4ef1c0dbfaab57216e9c3928885f0c5f8e675c075f488930b1c28d2b8a52d39c75576e0f9cd1c1b6d20f15e6183a980be395babd005fe45488bd
|
||||
DIST zen-bin-1.17.8b-amd64.tar.xz 84186188 BLAKE2B 1f0470f084f5f2c6a646aa8a88e2a3e5fd247ef50fbc8ad82fd275b76aaf59383351fedac2eba4804c1c1a56bb4f3c26e803649b7c5a58c0e55310ad0b06f7dc SHA512 2da36ca0a1db8f008797b49ca7d71b70bcb85ad84de6dc3799c1fc610ab98ace10462edab86240c4d2b9a3c069e4c2a7c9c61e0e5ee7a9b8b86ce7e337318c64
|
||||
DIST zen-bin-1.17.8b-arm64.tar.xz 72164308 BLAKE2B 923ce066d0bd2b855929c61b414fd3f223c5ceb84fe6bcd2ccb6cfd7d5f38b8d8ae4d6fe0c3617aed0a25d501b41f8a281c85c7ab7c51264fdfb8df9894fc857 SHA512 c20d8ac8055316805d2167bc7ed8c017c48899f15c42f161f54c8642862610b1637fcf9acb951ef4d932b81149df1b4fe96e4889df4303878cd6347d79d1648f
|
||||
DIST zen-bin-1.17b-amd64.tar.xz 83498100 BLAKE2B cab4b976d9d30eff0a4cea915de2efda8a71cfce8ec590fbb8f632404bf343c5320af2f50d23f98b9079900751332844a5be2b1b56948ade46cb9d10dc00b6cb SHA512 919ebb2e1639f95782bad538171b693574090dd6d7fc378f803389b35cc07d2da7475ad6c59565911c58e82e49b6b415b1b72935c5901b6b4d21ef60997a85f5
|
||||
DIST zen-bin-1.17b-arm64.tar.xz 71560424 BLAKE2B da989bcb8cd1779b6d90ee50321da78c2c077ce3cdda682e08d7b0052743bad660b3923797cbe8295ffc6c89fb9d35120f06f939420fdd74096ce2f835e5661c SHA512 746f31fcdcfd12a48fda5d34db7a3c754510982dc234b120c5b70afda91a2a9464e528e88da8ddc182917cc0922a25359112a8015ed9ef3bb40d5bee55762a0d
|
||||
|
||||
84
www-client/zen-bin/zen-bin-1.17.8b.ebuild
Normal file
84
www-client/zen-bin/zen-bin-1.17.8b.ebuild
Normal file
@@ -0,0 +1,84 @@
|
||||
# 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="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}"
|
||||
|
||||
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" "$(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