www-client/firefox: fix RESTRICT; Move REQUIRED_USE for readability
authorThomas Deutschmann <whissi@gentoo.org>
Sat, 2 Nov 2019 12:51:35 +0000 (13:51 +0100)
committerThomas Deutschmann <whissi@gentoo.org>
Sat, 2 Nov 2019 12:52:25 +0000 (13:52 +0100)
Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
www-client/firefox/firefox-68.2.0.ebuild
www-client/firefox/firefox-70.0.1.ebuild

index 7c5b0d66a9e55d412d2b7164ee2097fe2b4e9172..0c4c46d373c67b161fdb3ae9f8587365aef65d08 100644 (file)
@@ -56,7 +56,12 @@ IUSE="bindist clang cpu_flags_x86_avx2 dbus debug eme-free geckodriver
        +screenshot selinux startup-notification +system-av1
        +system-harfbuzz +system-icu +system-jpeg +system-libevent
        +system-sqlite +system-libvpx +system-webp test wayland wifi"
-RESTRICT="!bindist? ( bindist )"
+
+REQUIRED_USE="pgo? ( lto )
+       wifi? ( dbus )"
+
+RESTRICT="!bindist? ( bindist )
+       !test? ( test )"
 
 PATCH_URIS=( https://dev.gentoo.org/~{anarchy,axs,polynomial-c,whissi}/mozilla/patchsets/${PATCH}.tar.xz )
 SRC_URI="${SRC_URI}
@@ -172,8 +177,6 @@ DEPEND="${CDEPEND}
                x86? ( >=dev-lang/nasm-2.13 )
        )"
 
-REQUIRED_USE="wifi? ( dbus )
-       pgo? ( lto )"
 
 S="${WORKDIR}/firefox-${PV%_*}"
 
index e043eb8021038f410349afb1ab5b23f2a7ccd9ae..014e8e10c909128dca1210bd680365b95a45f42b 100644 (file)
@@ -56,7 +56,11 @@ IUSE="bindist clang cpu_flags_x86_avx2 debug eme-free geckodriver
        +screenshot selinux startup-notification +system-av1
        +system-harfbuzz +system-icu +system-jpeg +system-libevent
        +system-sqlite +system-libvpx +system-webp test wayland wifi"
-RESTRICT="!bindist? ( bindist )"
+
+REQUIRED_USE="pgo? ( lto )"
+
+RESTRICT="!bindist? ( bindist )
+       !test? ( test )"
 
 PATCH_URIS=( https://dev.gentoo.org/~{anarchy,axs,polynomial-c,whissi}/mozilla/patchsets/${PATCH}.tar.xz )
 SRC_URI="${SRC_URI}
@@ -174,9 +178,6 @@ DEPEND="${CDEPEND}
                x86? ( >=dev-lang/nasm-2.13 )
        )"
 
-REQUIRED_USE="pgo? ( lto )"
-
-RESTRICT="!test? ( test )"
 
 S="${WORKDIR}/firefox-${PV%_*}"