summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Stakenvicius <axs@gentoo.org>2017-03-21 08:48:48 -0400
committerIan Stakenvicius <axs@gentoo.org>2017-03-21 08:50:28 -0400
commit85a94da47e6ee84ff343d728a854d17b7d0bc0f3 (patch)
treeaf1d8df9c07b9ce65d51a88c1e253f8fe554afaa /eclass/mozconfig-v6.52.eclass
parentnet-libs/liboping: arm stable (bug 613268). (diff)
downloadgentoo-85a94da47e6ee84ff343d728a854d17b7d0bc0f3.tar.gz
gentoo-85a94da47e6ee84ff343d728a854d17b7d0bc0f3.tar.bz2
gentoo-85a94da47e6ee84ff343d728a854d17b7d0bc0f3.zip
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
Diffstat (limited to 'eclass/mozconfig-v6.52.eclass')
-rw-r--r--eclass/mozconfig-v6.52.eclass6
1 files changed, 5 insertions, 1 deletions
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