diff -Naur xulrunner-1.9.2.ebuild.old xulrunner-1.9.2.ebuild --- xulrunner-1.9.2.ebuild.old 2010-01-22 15:06:37.000000000 +0100 +++ xulrunner-1.9.2.ebuild 2010-01-26 18:09:12.000000000 +0100 @@ -67,6 +67,14 @@ sed -i -e "s:@PV@:${MAJ_PV}:" "${S}"/config/autoconf.mk.in \ || die "${MAJ_PV} sed failed!" + # Disable ALSA and enable OSS (Arch) + sed -i -e "s/sydney_audio_alsa/sydney_audio_oss/" \ + "${S}"/media/libsydneyaudio/src/Makefile.in || die "sed OSS failed" + #Remove the ALSA bits form the build system + sed -i -e "/alsa\//d" "${S}"/config/system-headers || die "ALSA clean failed" + sed -i -e "/alsa\//d" "${S}"/js/src/config/system-headers || die "ALSA clean failed" + sed -i -e "/LIB(asound/d" "${S}"/configure.in || die "ALSA clean failed" + # Enable gnomebreakpad if use debug ; then sed -i -e "s:GNOME_DISABLE_CRASH_DIALOG=1:GNOME_DISABLE_CRASH_DIALOG=0:g" \ @@ -130,12 +138,12 @@ mozconfig_annotate '' --with-system-nss mozconfig_annotate '' --enable-system-lcms mozconfig_annotate '' --with-system-bz2 + mozconfig_annotate '' --enable-wave + mozconfig_annotate '' --enable-ogg mozconfig_use_enable libnotify mozconfig_use_enable java javaxpcom mozconfig_use_enable networkmanager necko-wifi - mozconfig_use_enable alsa ogg - mozconfig_use_enable alsa wave # Debug if use debug ; then