mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
www-client/zen-bin: add 1.15.3b
Signed-off-by: Nguyen Dinh Dang Duong <dangduong31205@gmail.com>
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
DIST zen-bin-1.14.11b.tar.xz 81402140 BLAKE2B 8a3d8ed422299c18dc607a8686aa70d29b3a7d072bf955644bf0a47263d6a17ee47ee92cd645dbd86b24c3edcc55d9987436a16c80ae22808a678a7f238528f6 SHA512 be016bcc14f66f3db49f5015b24c58402fbcf5f970279f9bc0bcba300a331cb84e6695c75966545721ecb07c3f9539d82ffe196dd2249335922d9dab6a0228ff
|
||||
DIST zen-bin-1.15.2b.tar.xz 82073980 BLAKE2B e0a3447dac1618cbfeb82847abb3a1c8b773cea2562e840c988edbde484d527bcc0b45e2452477b87b4333b58a86f207ffb40e25fad6491cc0a459df51863ccc SHA512 1cb028a3c12d5f6314e4c231c29c82f090e819d354ba06b7ac92b72d057b995805799433506104b6b60fa4bc9f3ff47ff888f9c7003821e965a0a9f5075d0a9a
|
||||
DIST zen-bin-1.15.3b.tar.xz 82067504 BLAKE2B 9652ddc30f4ce5a23a76f5581fd5e11bd98a1400f4e787b8aedbd0fd1901f2812aae3bdb0733e5e117c3d349afe535e79cc3a6cc1377baf1ffa64cb63f47ee45 SHA512 19bbb2241cdd1120172e04c9aca61776eb2891efb6d6ac618432c6e669061c944c79ab43118ff88674d0ab5524076119c2dc5ab5e4f351b1aa39e156a02ac063
|
||||
DIST zen-bin-1.15b.tar.xz 81942456 BLAKE2B d875f82c2345426d27bf9943c6e7d905ca752be78fef203b276237f0877e83a85242c5db3bc03818485981b18ec6658207c5d51c2dd92cbe11d33c2b05e905ad SHA512 63f5df6c82c134ed2ddee297d5af9d2569e0920d5567492800f153151c880e336328eff0593e70a0b2deec56f33f84cc95507c4874036e4114a69678856a9ba2
|
||||
|
||||
81
www-client/zen-bin/zen-bin-1.15.3b.ebuild
Normal file
81
www-client/zen-bin/zen-bin-1.15.3b.ebuild
Normal file
@@ -0,0 +1,81 @@
|
||||
# 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="https://github.com/zen-browser/desktop/releases/download/${PV}/zen.linux-x86_64.tar.xz -> ${P}.tar.xz"
|
||||
|
||||
S="${WORKDIR}/zen"
|
||||
|
||||
LICENSE="MPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
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"
|
||||
#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