]> git.draconx.ca Git - gentoo-fixes.git/blobdiff - eclass/mozconfig-v6.52.eclass
www-client/firefox: Update firefox-52.9.0 to EAPI 8.
[gentoo-fixes.git] / eclass / mozconfig-v6.52.eclass
index 96efaa76e1186112d8e7ba33efa54bb48af42de8..fe2cb69fd640371a95d4958465365bf1a5e4a1c2 100644 (file)
@@ -7,11 +7,12 @@
 # The modifications are:
 #
 #   * Update libffi dependency (2022-12)
+#   * Update to EAPI 8 (2023-04)
 #
 # @ECLASS: mozconfig-v6.52.eclass
 # @MAINTAINER:
 # mozilla team <mozilla@gentoo.org>
-# @SUPPORTED_EAPIS: 5 6 7
+# @SUPPORTED_EAPIS: 7 8
 # @BLURB: the new mozilla common configuration eclass for FF33 and newer, v6
 # @DESCRIPTION:
 # This eclass is used in mozilla ebuilds (firefox, thunderbird, seamonkey)
 # and so ebuilds inheriting this eclass do not need to inherit that.
 
 case ${EAPI} in
-       0|1|2|3|4)
+       0|1|2|3|4|5|6)
                die "EAPI=${EAPI} not supported"
                ;;
-       5)
-               inherit multilib
-               ;;
 esac
 
 inherit flag-o-matic toolchain-funcs mozcoreconf-v5
@@ -172,15 +170,15 @@ if [[ -n ${MOZCONFIG_OPTIONAL_WIFI} ]]; then
        )"
 fi
 
-DEPEND="app-arch/zip
+BEPEND="app-arch/zip
        app-arch/unzip
-       >=sys-devel/binutils-2.16.1
-       sys-apps/findutils
-       pulseaudio? ( media-sound/pulseaudio )
-       ${RDEPEND}"
+       sys-apps/findutils"
+
+DEPEND="$RDEPEND
+       pulseaudio? ( media-libs/libpulse )"
 
 RDEPEND+="
-       pulseaudio? ( || ( media-sound/pulseaudio
+       pulseaudio? ( || ( media-libs/libpulse
                >=media-sound/apulse-0.1.9 ) )
        selinux? ( sec-policy/selinux-mozilla )"