mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-19 15:59:00 -04:00
www-client/zen-bin: drop 1.0.2_beta4
Signed-off-by: Julien Roy <julien@jroy.ca>
This commit is contained in:
parent
fe23147d05
commit
4f903a475e
@ -1,3 +1,2 @@
|
||||
DIST zen-bin-1.0.2_beta4.tar.bz2 96413786 BLAKE2B c8ae66a891e5984b96f793f1e8838c643f2d28de7248b7b5b96baebe643562bf7e105fcd94d98d07f0aadb5876b7ae0610bf1e93d49e83694754c8b7e2bf64ca SHA512 991c5e1ddae259300414f4689aac95d1f0afb7b412865b01d460958182190f235e24f80f2877fc55ea63354e2642ceebf18a4eab0f2fe35ab5a6d4b168ce0c9f
|
||||
DIST zen-bin-1.0.2_beta5.tar.bz2 96534293 BLAKE2B 1e1d1d7f81bcea155645714272e9d1ec49a0a193cf5e1dce06683e830a72e6125a41a9050cd948e33ff429b7809d132f9dc5691868173b7ae93a8d86aa21bc99 SHA512 0080070f97795434cf2141a7cb4d806e8bfb802e8b73447afa24239fa97d99e8ef96cbc6b060329ecaba2dcf5c090887b0e2d6427a6b9d05e648148efb7773d9
|
||||
DIST zen-bin-1.6_beta.tar.bz2 96688357 BLAKE2B cf440416dfe92ff313532deb9526e5ae21d687a91b9e13702088873fbc0d331bbe766ba6e230aeffe67e518bf264b000bfd5aa3d3cb227f984b19e130fa717c9 SHA512 50168487a16b4fb5cdb86405594c7957b71cbfb222af558a655dcf2e65edb12d29b975fca641be39cced9a33db01628a7e7f8f7d57c347eb8092ca5d7f6b9c07
|
||||
|
@ -1,88 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit xdg-utils desktop
|
||||
|
||||
MY_PV="${PV/_beta/-b.}"
|
||||
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/${MY_PV}/${MY_P}.linux-x86_64.tar.bz2 -> ${P}.tar.bz2"
|
||||
|
||||
S="${WORKDIR}"
|
||||
LICENSE="MPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
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
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/libX11
|
||||
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