www-client/waterfox: restrict mirror; sort dependencies, micro fixes

This commit is contained in:
Maciej Barć 2020-05-26 23:11:00 +02:00
parent 78e4fab76b
commit 0ea434ea1c
No known key found for this signature in database
GPG Key ID: 031C9FE65BED714A
2 changed files with 76 additions and 36 deletions

View File

@ -1,4 +1,4 @@
# Copyright 1999-2017 Gentoo Foundation # Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# #
# @ECLASS: mozconfig-v6.55.eclass # @ECLASS: mozconfig-v6.55.eclass
@ -97,29 +97,24 @@ IUSE="${IUSE} dbus debug neon pulseaudio selinux startup-notification system-har
# gtk:2 minimum is technically 2.10 but gio support (enabled by default) needs 2.14 # gtk:2 minimum is technically 2.10 but gio support (enabled by default) needs 2.14
# media-libs/mesa needs to be 10.2 or above due to a bug with flash+vdpau # media-libs/mesa needs to be 10.2 or above due to a bug with flash+vdpau
RDEPEND=">=app-text/hunspell-1.5.4:= RDEPEND="
dev-libs/atk >=app-text/hunspell-1.5.4:=
dev-libs/expat >=dev-libs/glib-2.26:2
>=x11-libs/cairo-1.10[X] >=media-libs/freetype-2.4.10
>=x11-libs/gtk+-2.18:2
x11-libs/gdk-pixbuf
>=x11-libs/pango-1.22.0
>=media-libs/libpng-1.6.31:0=[apng] >=media-libs/libpng-1.6.31:0=[apng]
>=media-libs/mesa-10.2:* >=media-libs/mesa-10.2:*
media-libs/fontconfig
>=media-libs/freetype-2.4.10
kernel_linux? ( !pulseaudio? ( media-libs/alsa-lib ) )
pulseaudio? ( || ( media-sound/pulseaudio
>=media-sound/apulse-0.1.9 ) )
virtual/freedesktop-icon-theme
dbus? ( >=sys-apps/dbus-0.60
>=dev-libs/dbus-glib-0.72 )
startup-notification? ( >=x11-libs/startup-notification-0.8 )
>=x11-libs/pixman-0.19.2
>=dev-libs/glib-2.26:2
>=sys-libs/zlib-1.2.3 >=sys-libs/zlib-1.2.3
>=virtual/libffi-3.0.10 >=x11-libs/cairo-1.10[X]
>=x11-libs/gtk+-2.18:2
>=x11-libs/pango-1.22.0
>=x11-libs/pixman-0.19.2
dev-libs/atk
dev-libs/expat
dev-libs/libffi
media-libs/fontconfig
virtual/ffmpeg virtual/ffmpeg
virtual/freedesktop-icon-theme
x11-libs/gdk-pixbuf
x11-libs/libX11 x11-libs/libX11
x11-libs/libXcomposite x11-libs/libXcomposite
x11-libs/libXdamage x11-libs/libXdamage
@ -127,12 +122,44 @@ RDEPEND=">=app-text/hunspell-1.5.4:=
x11-libs/libXfixes x11-libs/libXfixes
x11-libs/libXrender x11-libs/libXrender
x11-libs/libXt x11-libs/libXt
system-icu? ( >=dev-libs/icu-59.1:= ) dbus? (
system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1 ) >=sys-apps/dbus-0.60
system-libevent? ( >=dev-libs/libevent-2.0:0= ) >=dev-libs/dbus-glib-0.72
system-sqlite? ( >=dev-db/sqlite-3.19.3:3[secure-delete,debug=] ) )
system-libvpx? ( >=media-libs/libvpx-1.5.0:0=[postproc] ) kernel_linux? (
system-harfbuzz? ( >=media-libs/harfbuzz-1.3.3:0= >=media-gfx/graphite2-1.3.9-r1 ) !pulseaudio? (
media-libs/alsa-lib
)
)
pulseaudio? (
|| (
media-sound/pulseaudio
>=media-sound/apulse-0.1.9
)
)
startup-notification? (
>=x11-libs/startup-notification-0.8
)
system-icu? (
>=dev-libs/icu-59.1:=
)
system-jpeg? (
>=media-libs/libjpeg-turbo-1.2.1
)
system-libevent? (
>=dev-libs/libevent-2.0:0=
)
system-sqlite? (
>=dev-db/sqlite-3.19.3:3[secure-delete,debug=]
)
system-libvpx? (
>=media-libs/libvpx-1.5.0:0=[postproc]
)
system-harfbuzz? (
>=media-libs/harfbuzz-1.3.3:0=
>=media-gfx/graphite2-1.3.9-r1
)
" "
if [[ -n ${MOZCONFIG_OPTIONAL_GTK3} ]]; then if [[ -n ${MOZCONFIG_OPTIONAL_GTK3} ]]; then

View File

@ -30,14 +30,15 @@ MY_PV="${PV}-classic"
DESCRIPTION="Waterfox Web Browser" DESCRIPTION="Waterfox Web Browser"
HOMEPAGE="http://www.waterfoxproject.org" HOMEPAGE="http://www.waterfoxproject.org"
KEYWORDS="~amd64" RESTRICT="mirror"
SLOT="0"
LICENSE="MPL-2.0 GPL-2 LGPL-2.1" LICENSE="MPL-2.0 GPL-2 LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64"
IUSE=" IUSE="
+gmp-autoupdate +gmp-autoupdate
eme-free eme-free
hardened hwaccel hardened
hwaccel
jack jack
nsplugin nsplugin
pgo pgo
@ -46,6 +47,7 @@ IUSE="
" "
PATCH_URIS=( https://dev.gentoo.org/~{anarchy,axs,polynomial-c}/mozilla/patchsets/${PATCH}.tar.xz ) PATCH_URIS=( https://dev.gentoo.org/~{anarchy,axs,polynomial-c}/mozilla/patchsets/${PATCH}.tar.xz )
SRC_URI=" SRC_URI="
${MOZ_HTTP_URI}/${MY_PV}.tar.gz -> ${P}.tar.gz ${MOZ_HTTP_URI}/${MY_PV}.tar.gz -> ${P}.tar.gz
${PATCH_URIS[@]} ${PATCH_URIS[@]}
@ -55,16 +57,27 @@ ASM_DEPEND="
>=dev-lang/yasm-1.1 >=dev-lang/yasm-1.1
" "
RDEPEND=" RDEPEND="
jack? ( virtual/jack )
>=dev-libs/nss-3.32.1 >=dev-libs/nss-3.32.1
>=dev-libs/nspr-4.16 >=dev-libs/nspr-4.16
selinux? ( sec-policy/selinux-mozilla ) jack? (
virtual/jack
)
selinux? (
sec-policy/selinux-mozilla
)
" "
DEPEND="${RDEPEND} DEPEND="
pgo? ( >=sys-devel/gcc-4.5 ) ${RDEPEND}
virtual/rust virtual/rust
amd64? ( ${ASM_DEPEND} virtual/opengl ) pgo? (
x86? ( ${ASM_DEPEND} virtual/opengl ) >=sys-devel/gcc-4.5
)
amd64? (
${ASM_DEPEND} virtual/opengl
)
x86? (
${ASM_DEPEND} virtual/opengl
)
" "
S="${WORKDIR}/${PN^}-${MY_PV}" S="${WORKDIR}/${PN^}-${MY_PV}"