mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-10-12 17:51:11 -04:00
www-client/waterfox-bin: add 6.7.4
Signed-off-by: Ceres <ceres@ceressees.dev>
This commit is contained in:
2 files changed
+77
No files matched your search
@@ -1,2 +1,3 @@
|
||||
DIST waterfox-bin-6.6.17.tar.bz2 100821960 BLAKE2B a396d357d77dcbe921d14fe570447bae448fb43155726ae1f005d3309473e3825fb314ca0b662e4301ace449c75c288d6e9b9bfe40f98695e181a7703393631f SHA512 580e88f93995e315eb8d514c596b3f55f047451a630ece854ed1a6b9c9d787465ef8bc20475f9f9c36a6b71f1b8fafbd8929fe3b25af433b44ef8e8365fe9c6f
|
||||
DIST waterfox-bin-6.7.0.tar.bz2 137208478 BLAKE2B 4b9c448b67e86d01827a4ec4ec5cf257970b68c3c345e73fb8781d38e1ed8580a1e5a4c1b14c3414b256ef433739273adbba72dd070347eb3b41ef4ab42ea7c7 SHA512 ea3019f1d572d9ba309ef0a93bfda5f6c603488e054dccae04f5910a0d276e463ef6251fa13aa396f5758a5260df5624a3f4c26103ef90bea3a434ff10624440
|
||||
DIST waterfox-bin-6.7.4.tar.bz2 131666041 BLAKE2B 38fba7650635250be7de26eaac7a39cc52a682fa8714024247bcf904c8c10da7fc784dbae64524417f18282aaa4c48f689ba7614c286bb04fabbd4eb16fa020c SHA512 170ba79ce0551d69fbe9a42d707339a5632a41dece7d6eedd01ff5d3843dfd75102164d929b96335af626b0c906a14acacea61f029a1b1598098334a53bc98b1
|
||||
@@ -0,0 +1,76 @@
|
||||
# Copyright 2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit desktop xdg
|
||||
|
||||
MY_PN="waterfox"
|
||||
|
||||
DESCRIPTION="A privacy-focused, performance-oriented browser based on Firefox"
|
||||
HOMEPAGE="https://www.waterfox.com/"
|
||||
SRC_URI="https://cdn.waterfox.com/waterfox/releases/${PV}/Linux_x86_64/waterfox-${PV}.tar.bz2 -> ${P}.tar.bz2"
|
||||
S="${WORKDIR}/${MY_PN}"
|
||||
|
||||
LICENSE="MPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64"
|
||||
RESTRICT="strip"
|
||||
QA_PREBUILT="*"
|
||||
|
||||
RDEPEND="${DEPEND}
|
||||
!www-client/firefox-bin:0
|
||||
|| (
|
||||
media-libs/libpulse
|
||||
media-sound/apulse
|
||||
)
|
||||
>=app-accessibility/at-spi2-core-2.46.0:2
|
||||
>=dev-libs/glib-2.26:2
|
||||
media-libs/alsa-lib
|
||||
media-libs/fontconfig
|
||||
>=media-libs/freetype-2.4.10
|
||||
media-video/ffmpeg
|
||||
sys-apps/dbus
|
||||
virtual/freedesktop-icon-theme
|
||||
>=x11-libs/cairo-1.10[X]
|
||||
x11-libs/gdk-pixbuf:2
|
||||
>=x11-libs/gtk+-3.11:3[X]
|
||||
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/libxcb
|
||||
>=x11-libs/pango-1.22.0
|
||||
"
|
||||
|
||||
src_install() {
|
||||
#create dest dir
|
||||
local destdir="/opt/waterfox"
|
||||
insinto "${destdir}"
|
||||
doins -r *
|
||||
#create a symlink to the binary
|
||||
dosym -r "${destdir}/waterfox-bin" "/usr/bin/waterfox" || die
|
||||
#add icons
|
||||
local size
|
||||
for size in 16 32 48 64 128; do
|
||||
newicon -s ${size} "browser/chrome/icons/default/default${size}.png" waterfox.png
|
||||
done
|
||||
#create desktop file
|
||||
make_desktop_entry "/usr/bin/waterfox" "Waterfox" waterfox "Network;WebBrowser" "$(cat "${FILESDIR}"/desktop_options)"
|
||||
#handle permissions of destdir files
|
||||
fperms 0755 "${destdir}"/{waterfox-bin,updater,glxtest,vaapitest}
|
||||
# Disable auto-updates
|
||||
insinto ${destdir}/distribution
|
||||
doins "${FILESDIR}/policies.json"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
elog "For optimal performance and compatibility, please ensure"
|
||||
elog "that you have the latest graphics drivers installed."
|
||||
}
|
||||
Reference in new issue
Block a user