mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
www-client/zen-bin: add 1.19.4b
Signed-off-by: Ceres <ceres@ceressees.dev>
This commit is contained in:
@@ -2,3 +2,5 @@ DIST zen-bin-1.18.10b-amd64.tar.xz 86222180 BLAKE2B 49ef1111568b7810430b3c28ff33
|
||||
DIST zen-bin-1.18.10b-arm64.tar.xz 74157712 BLAKE2B 0b858c843f83a3c482dbbc3cfd08abab7876f6e05804471aeb4cbb32fbdd3969ac4f53546fe1acd3d9c6db68eaa007b28944ee14163ffc76d3293e66d5069c51 SHA512 d00e12475debadd922ac9e66fbd681613612b153c15a6d64460d27d1e8d21ac32f72f224ddb4375d21ce1560a0424b98a991be272c9cc0c2d0312d10d37170e2
|
||||
DIST zen-bin-1.19.3b-amd64.tar.xz 87712732 BLAKE2B afa8a5ade46c3a83cd54c38b01506cc6f19a3dacc205d25622633b377c70c557129091e8c1e2c5f71e26ee421b6f487b3b03f61e838dfac89b947b17b58eb18d SHA512 ce3dea303ccbb7564476f35ea32baa71d5bf955487eb84226ec7a035a4553cb71fc956440de078c3596a59bed5dc3b20a4eb284931a03a1293cfcaab2b7384d5
|
||||
DIST zen-bin-1.19.3b-arm64.tar.xz 75861804 BLAKE2B a8c0691795d00c37965001883d4821683b495a1df5754db311a35be3d1382d21d4c2a7a172988faabfaeef906986a7b2e8d9cc6dfe3346ec620fbcc181c5b4ed SHA512 91fe6e6414099c5a4cf2ae69f50e434fe45d821f4fd2995cdea8991ba7efe02543199bd6b4f815c21192f9e7255b57782d3e4479b7d222bdc641001a661a0863
|
||||
DIST zen-bin-1.19.4b-amd64.tar.xz 88475628 BLAKE2B 89dec197c64aa86b11d468e4c8ecf987686b551ebb5b98155653e17e1ec1cf74c1952ee731530e954faa08276982fce27380033c4e25ebcad6e871b0859d75be SHA512 8773f9a64ae6db10a03975c902b259684244112b11e8b5341634757ad187436168f6722328969300b3be9a9885143ec6eba4c4458e63cfeda1a2f66002fe0041
|
||||
DIST zen-bin-1.19.4b-arm64.tar.xz 76425564 BLAKE2B 8bd12e61882011100d6dbcc7e465b1f187c3f8e67fc565613a99f09085d1ebb6256ef0a7cb5805a2c584430f3605515c94df3a9fcf1a6ca1d16e0f64d38c822e SHA512 22f7139387a57a4b34957f3200f86bcd158714cfedba6a2cd5d415868f1b0ebf350af1451bf9d1492113968f8ef247de4586a61f3c865fe172e1a7f8e701e1f7
|
||||
|
||||
85
www-client/zen-bin/zen-bin-1.19.4b.ebuild
Normal file
85
www-client/zen-bin/zen-bin-1.19.4b.ebuild
Normal file
@@ -0,0 +1,85 @@
|
||||
# Copyright 2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit desktop xdg-utils
|
||||
|
||||
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}"
|
||||
|
||||
src_install() {
|
||||
#create dest dir
|
||||
local destdir="/opt/zen"
|
||||
insinto "${destdir}"
|
||||
doins -r *
|
||||
#create a symlink to the binary
|
||||
dosym -r "${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