mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 13:33:32 -04:00
www-client/zen-bin: add 1.16.4b
Signed-off-by: Nguyen Dinh Dang Duong <dangduong31205@gmail.com>
This commit is contained in:
@@ -5,4 +5,5 @@ DIST zen-bin-1.15.4b.tar.xz 82016760 BLAKE2B 1ed37de8321479e655122ea89f5f3648ddd
|
||||
DIST zen-bin-1.15.5b.tar.xz 82050040 BLAKE2B 2024140ef45ae0b773eec24c372ded78e366c307d01d12a165f963c286dc41b2c89738cec4afa5038ed43b1730d89673346e6d114f240d1fdf4393eea4b06145 SHA512 06c57df36cc1909e732bddefaa49a3925d94b91f566ac8022b7a123dfd1256e72b0e772d8441c0f001079cbef58439fd8e5ecf182e0d47c35b6f27c0fb514156
|
||||
DIST zen-bin-1.15b.tar.xz 81942456 BLAKE2B d875f82c2345426d27bf9943c6e7d905ca752be78fef203b276237f0877e83a85242c5db3bc03818485981b18ec6658207c5d51c2dd92cbe11d33c2b05e905ad SHA512 63f5df6c82c134ed2ddee297d5af9d2569e0920d5567492800f153151c880e336328eff0593e70a0b2deec56f33f84cc95507c4874036e4114a69678856a9ba2
|
||||
DIST zen-bin-1.16.3b.tar.xz 82474168 BLAKE2B 79d4df59d2b2575194fbea609904612745bc03b49b79e4b63bc76498e8009e49970be654885ca11a074573a7ec660177732be28377656b16bf94684c5a4a0185 SHA512 aa8f421614dc1370599112501353e0e7e3e17fb8f43a09775553e5b2c9dbb2f1351319c9a1f041ba171abd9d006cdc051654b879a94077d4be590f26d22399fc
|
||||
DIST zen-bin-1.16.4b.tar.xz 82494368 BLAKE2B db1a5129d884fa1af9a98d4384e6321e48aaff1fc83257d701f1d6b60f023b03051c44ae45fe82586811f941dfecc3cc1ceb62bc327b3ba9f4bf402e1bec1028 SHA512 d0b63c573d547190d5b12dbc5fbd5e3502e09efc51520d1b6ff40ec1b46f21d946874ff707c3ead05566b3eec3a08876f709a8cde949379de29d382b8df0b7e7
|
||||
DIST zen-bin-1.16b.tar.xz 83476744 BLAKE2B 40c26d6aa46e0a985b98f008e5feb9a78e3ae9ed9e3a609d43b699ef2758111ee304302f7c67edaf971c0493faf4454c48d2b82e13cde105a9c7faffa3813394 SHA512 49f843c9178d81d8ee1ed727c996694983d1dc01904f455fd38fa5eb34db2c8a3087cb99baba4c71cb1c62395caa64eb94643b585bb0b5978dc198e3b5ecb746
|
||||
|
||||
81
www-client/zen-bin/zen-bin-1.16.4b.ebuild
Normal file
81
www-client/zen-bin/zen-bin-1.16.4b.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