mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-10 20:18:41 -04:00
www-client/zen-bin: drop 1.7.1b
Signed-off-by: Julien Roy <julien@jroy.ca>
This commit is contained in:
parent
daad58fa56
commit
f412fc180c
@ -1,3 +1,2 @@
|
||||
DIST zen-bin-1.7.1b.tar.bz2 98434938 BLAKE2B b0dcff0185e485e5fee5cc35962e6bdd0685235d6c93b0c6fb314d4ae7f8ce8532705689d4e6fb1bcac9cfcd61a889540cf82152e0917d9ffe223a3168146d00 SHA512 4c3a48e018fbd1cbd40ab95bc1e50c1c09c59de9cbb9166b0340c93d6b48ca06dbc43037ac87045211373cf3f7bc088d1805e59f0a133c894dbe8f0a15729b8c
|
||||
DIST zen-bin-1.7.2b.tar.bz2 98478882 BLAKE2B d17eb6d860e4cedc685ef3b1d57a09b42422c48fab4b79f2ba541a7690f6a03195777126cd9967f478d504bf6e6d6bbb14ebe1acd812fd8481d138305ba58039 SHA512 8d36a3da1866a11d30b3746fa199f980296f02fa6c5595ded25c8a8b820ac415ded88abd52187da7a35c561b6be281b0f754b89633231b2b28c75ec574e374ab
|
||||
DIST zen-bin-1.9b.tar.xz 80195484 BLAKE2B 4bd42f022559b6c61a3cba9dd8184c6924f917c71f8aae29be8324d20a0c730427058a832e04480855637baf248c6871e08e7825b1d6cdd717e2d79eed2a50d1 SHA512 3a60fca94ea256a592fcc6fd4d355440d90b89ab4b14a92fa524949381feb5f6493182b3fd2d5eb22d05997bca1c2f34fb3a7c7f4d242a5ff0bd353687a19859
|
||||
|
@ -1,89 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit xdg-utils desktop
|
||||
|
||||
MY_P="zen"
|
||||
|
||||
DESCRIPTION="Zen Browser - A Firefox-based browser focused on privacy"
|
||||
HOMEPAGE="https://github.com/zen-browser/desktop"
|
||||
SRC_URI="https://github.com/zen-browser/desktop/releases/download/${PV}/${MY_P}.linux-x86_64.tar.bz2 -> ${P}.tar.bz2"
|
||||
|
||||
S="${WORKDIR}"
|
||||
LICENSE="MPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
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
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
QA_PREBUILT="opt/zen/*"
|
||||
|
||||
src_install() {
|
||||
#create dest dir
|
||||
local destdir="/opt/zen"
|
||||
dodir "${destdir}"
|
||||
#copy files into dest dir
|
||||
cp -a "${S}/zen"/* "${ED}${destdir}" || die
|
||||
#create a symlink to the binary
|
||||
dosym "${destdir}/zen-bin" "/usr/bin/zen-bin" || die
|
||||
#add icons
|
||||
local icon_dir="${ED}${destdir}/browser/chrome/icons/default"
|
||||
if [[ -d "${icon_dir}" ]]; then
|
||||
for size in 16 32 48 64 128; do
|
||||
if [[ -f "${icon_dir}/default${size}.png" ]]; then
|
||||
newicon -s ${size} "${icon_dir}/default${size}.png" zen.png
|
||||
fi
|
||||
done
|
||||
else
|
||||
ewarn "Icon directory not found, skipping icon installation"
|
||||
fi
|
||||
#create desktop file
|
||||
make_desktop_entry zen-bin "Zen" zen "Network;WebBrowser"
|
||||
#handle permissions of destdir files
|
||||
fperms 0755 "${destdir}"/{zen-bin,updater,glxtest,vaapitest}
|
||||
fperms 0750 "${destdir}"/pingsender
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
elog "For optimal performance and compatibility, please ensure"
|
||||
elog "that you have the latest graphics drivers installed."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user