commit:     85a94da47e6ee84ff343d728a854d17b7d0bc0f3
Author:     Ian Stakenvicius <axs <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 21 12:48:48 2017 +0000
Commit:     Ian Stakenvicius <axs <AT> gentoo <DOT> org>
CommitDate: Tue Mar 21 12:50:28 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85a94da4

www-client/firefox-52: revbump to enable alsa support when USE=-pulseaudio

This change occured in the eclass rather than in the ebuild, but the end-result
is changes-on-disk in firefox and so the ebuild was revbumped.

Package-Manager: portage-2.3.3

 eclass/mozconfig-v6.52.eclass                                       | 6 +++++-
 .../firefox/{firefox-52.0.1.ebuild => firefox-52.0.1-r1.ebuild}     | 0
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/eclass/mozconfig-v6.52.eclass b/eclass/mozconfig-v6.52.eclass
index b9770dc963f..ac8d9a5881a 100644
--- a/eclass/mozconfig-v6.52.eclass
+++ b/eclass/mozconfig-v6.52.eclass
@@ -99,7 +99,7 @@ RDEPEND=">=app-text/hunspell-1.2:=
        >=media-libs/mesa-10.2:*
        media-libs/fontconfig
        >=media-libs/freetype-2.4.10
-       kernel_linux? ( media-libs/alsa-lib )
+       kernel_linux? ( !pulseaudio? ( media-libs/alsa-lib ) )
        pulseaudio? ( media-sound/pulseaudio )
        virtual/freedesktop-icon-theme
        dbus? ( >=sys-apps/dbus-0.60
@@ -301,6 +301,10 @@ mozconfig_config() {
        mozconfig_annotate '' --host="${CBUILD:-${CHOST}}"
 
        mozconfig_use_enable pulseaudio
+       # force the deprecated alsa sound code if pulseaudio is disabled
+       if use kernel_linux && ! use pulseaudio ; then
+               mozconfig_annotate '-pulseaudio' --enable-alsa
+       fi
 
        mozconfig_use_enable system-cairo
        mozconfig_use_enable system-sqlite

diff --git a/www-client/firefox/firefox-52.0.1.ebuild 
b/www-client/firefox/firefox-52.0.1-r1.ebuild
similarity index 100%
rename from www-client/firefox/firefox-52.0.1.ebuild
rename to www-client/firefox/firefox-52.0.1-r1.ebuild

Reply via email to