summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2010-01-24 20:54:52 +0000
committerPacho Ramos <pacho@gentoo.org>2010-01-24 20:54:52 +0000
commit3c5b866a2fbc3b55b8cba3750afa34df7d2ced42 (patch)
tree54be129e9a49093db72b3aa59b2c3525d2720cd0 /app-emulation
parentDisable selinux tests when USE=-selinux #301782 by Philipp Riegger. (diff)
downloadgentoo-2-3c5b866a2fbc3b55b8cba3750afa34df7d2ced42.tar.gz
gentoo-2-3c5b866a2fbc3b55b8cba3750afa34df7d2ced42.tar.bz2
gentoo-2-3c5b866a2fbc3b55b8cba3750afa34df7d2ced42.zip
Add pulseaudio USE flag, bug 302003
(Portage version: 2.1.7.16/cvs/Linux x86_64)
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/emul-linux-x86-soundlibs/ChangeLog10
-rw-r--r--app-emulation/emul-linux-x86-soundlibs/emul-linux-x86-soundlibs-20091231-r1.ebuild (renamed from app-emulation/emul-linux-x86-soundlibs/emul-linux-x86-soundlibs-20091231.ebuild)13
2 files changed, 18 insertions, 5 deletions
diff --git a/app-emulation/emul-linux-x86-soundlibs/ChangeLog b/app-emulation/emul-linux-x86-soundlibs/ChangeLog
index 0caf5dbc1a7d..7111c183028f 100644
--- a/app-emulation/emul-linux-x86-soundlibs/ChangeLog
+++ b/app-emulation/emul-linux-x86-soundlibs/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for app-emulation/emul-linux-x86-soundlibs
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-soundlibs/ChangeLog,v 1.52 2010/01/15 00:35:14 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-soundlibs/ChangeLog,v 1.53 2010/01/24 20:54:52 pacho Exp $
+
+*emul-linux-x86-soundlibs-20091231-r1 (24 Jan 2010)
+
+ 24 Jan 2010; Pacho Ramos <pacho@gentoo.org>
+ -emul-linux-x86-soundlibs-20091231.ebuild,
+ +emul-linux-x86-soundlibs-20091231-r1.ebuild:
+ pulseaudio USE flag added per bug 302003, thanks to Marcel for reporting;
+ cleaning old testing to force people to test this revision
15 Jan 2010; Samuli Suominen <ssuominen@gentoo.org> metadata.xml:
Move USE arts here, and remove from use.desc.
diff --git a/app-emulation/emul-linux-x86-soundlibs/emul-linux-x86-soundlibs-20091231.ebuild b/app-emulation/emul-linux-x86-soundlibs/emul-linux-x86-soundlibs-20091231-r1.ebuild
index a341196791ac..4773bd843b8d 100644
--- a/app-emulation/emul-linux-x86-soundlibs/emul-linux-x86-soundlibs-20091231.ebuild
+++ b/app-emulation/emul-linux-x86-soundlibs/emul-linux-x86-soundlibs-20091231-r1.ebuild
@@ -1,15 +1,15 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-soundlibs/emul-linux-x86-soundlibs-20091231.ebuild,v 1.2 2010/01/03 13:25:12 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-soundlibs/emul-linux-x86-soundlibs-20091231-r1.ebuild,v 1.1 2010/01/24 20:54:52 pacho Exp $
-EAPI=1
inherit emul-linux-x86
LICENSE="as-is BSD GPL-2 LGPL-2 LGPL-2.1 gsm"
KEYWORDS="-* ~amd64"
-IUSE="alsa"
+IUSE="alsa pulseaudio"
-RDEPEND="~app-emulation/emul-linux-x86-baselibs-${PV}
+RDEPEND="pulseaudio? ( media-sound/pulseaudio )
+ ~app-emulation/emul-linux-x86-baselibs-${PV}
~app-emulation/emul-linux-x86-medialibs-${PV}"
QA_DT_HASH="usr/lib32/.*"
@@ -24,4 +24,9 @@ src_unpack() {
if use alsa; then
mv -f "${S}"/usr/bin/aoss{,32} || die
fi
+
+ # libs without the rest of pulseaudio cause problems, bug 302003
+ if ! use pulseaudio; then
+ rm -rf $(find "${S}" -name '*pulse*' -not -name '*impulse*') || die
+ fi
}