From: Ian Stakenvicius Date: Tue, 21 Mar 2017 12:48:48 +0000 (-0400) Subject: www-client/firefox-52: revbump to enable alsa support when USE=-pulseaudio X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=85a94da47e6ee84ff343d728a854d17b7d0bc0f3;p=gentoo.git 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 --- diff --git a/eclass/mozconfig-v6.52.eclass b/eclass/mozconfig-v6.52.eclass index b9770dc963fb..ac8d9a5881a0 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