summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Bernd Steinhauser <berniyh@exherbo.org> 2010-01-06 22:01:55 +0100
committerAvatar Bernd Steinhauser <berniyh@exherbo.org> 2010-01-06 22:12:54 +0100
commit6fe073826cdc6a6f3848d0612cbbd458919159ae (patch)
tree95440945dac9af2ebf7e44f989ea6f9dd43f38ea
parent29f35798a28ee9ae8a950e5c29f84b365d1b5aff (diff)
downloadmozilla-6fe073826cdc6a6f3848d0612cbbd458919159ae.tar.gz
mozilla-6fe073826cdc6a6f3848d0612cbbd458919159ae.tar.xz
Optional alsa support.
-rw-r--r--packages/net-www/firefox/firefox.exlib11
1 files changed, 9 insertions, 2 deletions
diff --git a/packages/net-www/firefox/firefox.exlib b/packages/net-www/firefox/firefox.exlib
index b99d6a1..d357dbc 100644
--- a/packages/net-www/firefox/firefox.exlib
+++ b/packages/net-www/firefox/firefox.exlib
@@ -33,7 +33,10 @@ DOWNLOADS="ftp://ftp.mozilla.org/pub/mozilla.org/${PN}/releases/${MY_PV}/source/
UPSTREAM_RELEASE_NOTES="${HOMEPAGE}${MY_PV}/releasenotes/"
LICENCES="MPL-1.1"
-MYOPTIONS="bindist [[ description = [ Disable official branding, allowing binary redistribution ] ]]"
+MYOPTIONS="
+ alsa [[ description = [ Use internal implementation to play sound in media ] ]]
+ bindist [[ description = [ Disable official branding, allowing binary redistribution ] ]]
+"
RESTRICT="test"
@@ -46,6 +49,7 @@ DEPENDENCIES="
media-libs/jpeg
net-misc/curl
x11-libs/gtk+:2[>=2.10.0]
+ alsa? ( sys-sound/alsa-lib )
"
ECONF_SOURCE="${WORKBASE}/mozilla-$(ever range 1-3 ${XULRUNNER_PV})"
@@ -66,7 +70,10 @@ MOZILLA_SRC_CONFIGURE_PARAMS=(
# The included libpng is patched for APNG supported, so we can't use the system libpng
--without-system-png
)
-MOZILLA_SRC_CONFIGURE_OPTION_ENABLES=( "!bindist official-branding" )
+MOZILLA_SRC_CONFIGURE_OPTION_ENABLES=(
+ "alsa ogg" "alsa wave"
+ "!bindist official-branding"
+)
src_install() {
default