public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in www-plugins/lightspark/files: lightspark-0.4.5-allow-disabling-pulseaudio.patch
@ 2010-12-12 16:09 Chi-Thanh Christopher Nguyen (chithanh)
  0 siblings, 0 replies; only message in thread
From: Chi-Thanh Christopher Nguyen (chithanh) @ 2010-12-12 16:09 UTC (permalink / raw
  To: gentoo-commits

chithanh    10/12/12 16:09:37

  Added:                lightspark-0.4.5-allow-disabling-pulseaudio.patch
  Log:
  Version bump, bug #346841. Now builds against llvm-2.8, bug #340437.
  
  (Portage version: 2.2.0_alpha7/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  www-plugins/lightspark/files/lightspark-0.4.5-allow-disabling-pulseaudio.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/lightspark/files/lightspark-0.4.5-allow-disabling-pulseaudio.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-plugins/lightspark/files/lightspark-0.4.5-allow-disabling-pulseaudio.patch?rev=1.1&content-type=text/plain

Index: lightspark-0.4.5-allow-disabling-pulseaudio.patch
===================================================================
diff -ur a/CMakeLists.txt b/CMakeLists.txt
--- a/CMakeLists.txt	2010-12-08 17:55:46.000000000 +0100
+++ b/CMakeLists.txt	2010-12-12 16:46:50.496000030 +0100
@@ -108,6 +108,7 @@
 SET(COMPILE_LIGHTSPARK TRUE CACHE BOOL "Compile Lightspark?")
 SET(COMPILE_TIGHTSPARK TRUE CACHE BOOL "Compile Tightspark?")
 SET(COMPILE_PLUGIN FALSE CACHE BOOL "Compile the browser plugin?")
+SET(AUDIO_BACKEND "pulse" CACHE STRING "Choose audio backend: none pulse alsa, default is pulse")
 SET(ENABLE_CURL TRUE CACHE BOOL "Enable CURL? (Required for Downloader functionality)")
 SET(ENABLE_LIBAVCODEC TRUE CACHE BOOL "Enable libavcodec and dependent functionality?")
 SET(PLUGIN_DIRECTORY "${LIBDIR}/mozilla/plugins" CACHE STRING "Directory to install Firefox plugin to")
@@ -371,7 +372,9 @@
 GETTEXT_CREATE_TRANSLATIONS(i18n/lightspark.pot ALL i18n/pl.po i18n/fr.po
         i18n/zh_CN.po)
 
-ADD_SUBDIRECTORY(backends/interfaces/audio/pulse)
+IF(${AUDIO_BACKEND} MATCHES "pulse")
+  ADD_SUBDIRECTORY(backends/interfaces/audio/pulse)
+ENDIF(${AUDIO_BACKEND} MATCHES "pulse")
 #ADD_SUBDIRECTORY(backends/interfaces/audio/alsa)
 #ADD_SUBDIRECTORY(backends/interfaces/audio/openal)
 






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-12-12 16:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-12 16:09 [gentoo-commits] gentoo-x86 commit in www-plugins/lightspark/files: lightspark-0.4.5-allow-disabling-pulseaudio.patch Chi-Thanh Christopher Nguyen (chithanh)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox