mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
www-client/zen-bin: add 1.17.7b
Signed-off-by: Ceres <ceres@ceressees.dev>
This commit is contained in:
@@ -15,5 +15,7 @@ DIST zen-bin-1.17.5b-amd64.tar.xz 83471944 BLAKE2B 48ceb8586e7bd61e6cc2e31a1ab6f
|
||||
DIST zen-bin-1.17.5b-arm64.tar.xz 71724968 BLAKE2B bfdc7253fe9531e0065b33faa54d41b78247ec34d44096117370a09b62d04dfe875d24eb53a986a92ad759331cbf790ee55ab0a24d6a65b3ebf04fff5597434b SHA512 791a23dde4f307a0b59939b7a8f3deca0a2a63931b673ca900e2ae39cdaa7bd2c510f4023e68fda96f21e1944cdb1a9bae8efc09bdf9fa99796e787c04023383
|
||||
DIST zen-bin-1.17.6b-amd64.tar.xz 83475544 BLAKE2B a5c4d18580972a6683e1ab6848698151ea1bc1e5b1b051e335adc68469f290c692b52025ca94cccc256f182c0a64b07cff64804cca90ba9506dc52812e9843a0 SHA512 9c0f7a5c1917e5b2c7b4fb96c183ada4aa15fadc30c466e08608b66d550c3d350a608acf14cf9f4bfd2a0e258b6e74c7f70e7dff05e4ff6fc042f6dbf5763d8e
|
||||
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.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.7b.ebuild
Normal file
84
www-client/zen-bin/zen-bin-1.17.7b.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