mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-08 06:32:59 -04:00
www-client/waterfox-bin: add 6.6.15
Signed-off-by: Ceres <ceres@ceressees.dev>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST waterfox-bin-6.6.14.tar.bz2 100788232 BLAKE2B f73ead4cc886b258317a1ebde0abc58dc59db1589190a24675093fbb6e4e24ef3b1dc812751c3e5f38b8f36dc8c40d6fc34d97aa06217f03347ad98674f6cbf1 SHA512 c6d7b13602d9e29b53b384f5273605e55140971c47043d3c16cd95e253d3532f47d82228f94ead3305effc87623f23e0af9012bf5116521786816a5ac1e57f7e
|
||||
DIST waterfox-bin-6.6.15.tar.bz2 100771522 BLAKE2B a623f75c3c3c383b241e341b35831d72636f4d52b3b61bb3531cb8ae76ff9fe2199865ccfe7b62da4eca42a9e74ac61aa127f9778783cd7e7c8b8a1c8204d9ba SHA512 7f1b1075385e0ac9f59017a69731a0d6fee27054ea9f594251a58b3851f3fc27de5365194e35bc20cf262b6dab9be64c45d48513532fb838bfb004860f25913a
|
||||
|
||||
82
www-client/waterfox-bin/waterfox-bin-6.6.15.ebuild
Normal file
82
www-client/waterfox-bin/waterfox-bin-6.6.15.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user