public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Chi-Thanh Christopher Nguyen (chithanh)" <chithanh@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in www-plugins/lightspark/files: lightspark-0.4.5-allow-disabling-pulseaudio.patch
Date: Sun, 12 Dec 2010 16:09:38 +0000 (UTC)	[thread overview]
Message-ID: <20101212160938.112BB20057@flycatcher.gentoo.org> (raw)

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)
 






                 reply	other threads:[~2010-12-12 16:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101212160938.112BB20057@flycatcher.gentoo.org \
    --to=chithanh@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox