mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 04:23:16 -04:00
www-client/zen-bin: add 1.14.6b
Signed-off-by: Nguyen Dinh Dang Duong <dangduong31205@gmail.com>
This commit is contained in:
@@ -2,3 +2,4 @@ DIST zen-bin-1.14.2b.tar.xz 79061728 BLAKE2B 7f8bd6cfd641c3e1e21daa7342c9e851abb
|
||||
DIST zen-bin-1.14.3b.tar.xz 79061844 BLAKE2B e896aeb1ec98c4bc6867098af692a9fcc1ae26da1bc0ae844799c2305006d064c4545a96ba792c636d64b9d829b597f763be17d65ef493a1e58d4d7db21650b9 SHA512 ddb13482e16bc333cf730c2a37eabefa3d2a7308be6b0c9eb4a0051079bbaa2f80d2b3439c91797d99403c49cfe0196ca34626fd85c1eca16d347283e7ba9f90
|
||||
DIST zen-bin-1.14.4b.tar.xz 79114912 BLAKE2B b5c87e191771fc7bdad58ad3bbcf5c8347c54c1f8c3477ae55b8d6142d5a25fa3337f3a9de323aa089381a42304f3ebf7fee82db28519da523e6784ce61aa0af SHA512 7c09adce65a8ac25524e3a6b07fd2921b9885b05a24d81a5394cf140239e12a02b400c674f054a577b8b783fc482e21669321a76bc8bda8f5673730b960ee488
|
||||
DIST zen-bin-1.14.5b.tar.xz 79043864 BLAKE2B 22b4f1b687b8c31b74576b4f9236b81fb655ab0858496e9843384a5aef78d4e0e3b7a0ed5b58cb6bf2b6f114fd3dbd5153381ba17e1b5e03b4c3228ace21e302 SHA512 6125d06a334473138615cc52979f63ed66b014ef2ae19b3dbb4e905c12a609cbc80cb9bf9fb3b88fa5fce84195348c1b481e29f381bd61144f854bf6a6153d96
|
||||
DIST zen-bin-1.14.6b.tar.xz 81385564 BLAKE2B 5161ac508e7f4fe16fb959fea6a6d8b10dea04ec2d3bcc30c26cae176e3f25fc07a6a5efdd6bd5512b6eb8795c2932fe8d155438385f7ae1d8cd6560ed8d3fb4 SHA512 4b5a7a93a5211500ed4734215eba56d4df5f70215a8a5a49e98ceeb33932bb1efac406053b2105c8930abb9fba14191d79c5a4ff6f92fc284612655aba916d9e
|
||||
|
||||
81
www-client/zen-bin/zen-bin-1.14.6b.ebuild
Normal file
81
www-client/zen-bin/zen-bin-1.14.6b.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