summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2012-02-29 19:03:58 +0000
committerChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2012-02-29 19:03:58 +0000
commit9c0de1c530dd5286dacc47415cfa2e3b6a5a410a (patch)
tree1eb17a048d7bb80b495cbae6bfac3dd3996934db /www-plugins
parentVersion bump to 9.9.0 (diff)
downloadgentoo-2-9c0de1c530dd5286dacc47415cfa2e3b6a5a410a.tar.gz
gentoo-2-9c0de1c530dd5286dacc47415cfa2e3b6a5a410a.tar.bz2
gentoo-2-9c0de1c530dd5286dacc47415cfa2e3b6a5a410a.zip
Don't make pulseaudio default plugin when only sdl is built, bug #406197.
(Portage version: 2.2.0_alpha89/cvs/Linux x86_64)
Diffstat (limited to 'www-plugins')
-rw-r--r--www-plugins/lightspark/ChangeLog8
-rw-r--r--www-plugins/lightspark/lightspark-0.5.4.1-r1.ebuild (renamed from www-plugins/lightspark/lightspark-0.5.4.1.ebuild)7
2 files changed, 13 insertions, 2 deletions
diff --git a/www-plugins/lightspark/ChangeLog b/www-plugins/lightspark/ChangeLog
index ba13a3162781..8929f3bcfcb0 100644
--- a/www-plugins/lightspark/ChangeLog
+++ b/www-plugins/lightspark/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for www-plugins/lightspark
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-plugins/lightspark/ChangeLog,v 1.37 2012/02/23 16:24:01 chithanh Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-plugins/lightspark/ChangeLog,v 1.38 2012/02/29 19:03:58 chithanh Exp $
+
+*lightspark-0.5.4.1-r1 (29 Feb 2012)
+
+ 29 Feb 2012; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+ -lightspark-0.5.4.1.ebuild, +lightspark-0.5.4.1-r1.ebuild:
+ Don't make pulseaudio default plugin when only sdl is built, bug #406197.
*lightspark-0.5.4.1 (23 Feb 2012)
diff --git a/www-plugins/lightspark/lightspark-0.5.4.1.ebuild b/www-plugins/lightspark/lightspark-0.5.4.1-r1.ebuild
index e04659354712..d1dd11661b8c 100644
--- a/www-plugins/lightspark/lightspark-0.5.4.1.ebuild
+++ b/www-plugins/lightspark/lightspark-0.5.4.1-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-plugins/lightspark/lightspark-0.5.4.1.ebuild,v 1.1 2012/02/23 16:24:01 chithanh Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-plugins/lightspark/lightspark-0.5.4.1-r1.ebuild,v 1.1 2012/02/29 19:03:58 chithanh Exp $
EAPI=4
inherit cmake-utils nsplugins multilib versionator
@@ -69,6 +69,11 @@ src_install() {
cmake-utils_src_install
use nsplugin && inst_plugin /usr/$(get_libdir)/${PN}/plugins/liblightsparkplugin.so
+
+ # default to sdl audio if pulseaudio plugin is not built, bug #406197
+ if use sdl && ! use pulseaudio; then
+ sed -i 's/backend = pulseaudio/backend = sdl/' "${ED}/etc/xdg/${PN}.conf" || die
+ fi
}
pkg_postinst() {