www-client/waterfox-bin: add 6.6.13

Signed-off-by: Ceres <ceres@ceressees.dev>
This commit is contained in:
Ceres committed 2026-05-20 15:22:37 +01:00
1 parent dec2105017
commit b1355eee9f
2 files changed
+83

No files matched your search

+1
View File
@@ -1 +1,2 @@
DIST waterfox-bin-6.6.12.tar.bz2 100473640 BLAKE2B 8e7d2b2a4788b376eec90fc766343d50a0b8066dfa5411ae044f38bef5ab3e26f31206782013511b5e10a4b12c8b6aefb7ba6b15301f839fd6572d16072e1462 SHA512 f7aae05bf262fa560608a5bed1ac884e3b57a249cbac63a4726ed54da52695fe8231b7bd1b318aa41c21158ba13cc42364a23f0f0d923e550e8ac4ef5cb81f4f
DIST waterfox-bin-6.6.13.tar.bz2 100660202 BLAKE2B 482a4b4724b3029f70fab79d6903fc89b792d9fe530a45c60fd032cad09c3fff029d00d2e73cb3aa5c2d6b8d13800f4c4973736331e09d2bc4114a221a5954ea SHA512 fe4ca8c4525b8c244a33b8ea70087af7d3b41bf27c823483151d802d881431877e6a4c12745475ff2d2487c77485e0c891e09d1d2a183f26cd41a51df1450f29
@@ -0,0 +1,82 @@
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit desktop xdg-utils
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_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
}