summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2014-12-05 15:26:17 +0000
committerMichał Górny <mgorny@gentoo.org>2014-12-05 15:26:17 +0000
commite7e07311ab1d462d955f82c3148e607103a89c7d (patch)
tree247ffd8c6f952462803eeb5e3420187b3ea91e7e /media-sound
parentversion bump (diff)
downloadgentoo-2-e7e07311ab1d462d955f82c3148e607103a89c7d.tar.gz
gentoo-2-e7e07311ab1d462d955f82c3148e607103a89c7d.tar.bz2
gentoo-2-e7e07311ab1d462d955f82c3148e607103a89c7d.zip
USE default-enabled USE=alsa-plugin to control installing the plugin, as agreed between the maintainers and QA.
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/pulseaudio/ChangeLog7
-rw-r--r--media-sound/pulseaudio/metadata.xml5
-rw-r--r--media-sound/pulseaudio/pulseaudio-5.0-r6.ebuild14
3 files changed, 16 insertions, 10 deletions
diff --git a/media-sound/pulseaudio/ChangeLog b/media-sound/pulseaudio/ChangeLog
index 9c562ed4a2ac..945a5f55f898 100644
--- a/media-sound/pulseaudio/ChangeLog
+++ b/media-sound/pulseaudio/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-sound/pulseaudio
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/pulseaudio/ChangeLog,v 1.360 2014/12/05 10:30:55 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/pulseaudio/ChangeLog,v 1.361 2014/12/05 15:26:17 mgorny Exp $
+
+ 05 Dec 2014; Michał Górny <mgorny@gentoo.org> metadata.xml,
+ pulseaudio-5.0-r6.ebuild:
+ USE default-enabled USE=alsa-plugin to control installing the plugin, as
+ agreed between the maintainers and QA.
05 Dec 2014; Pacho Ramos <pacho@gentoo.org> pulseaudio-5.0-r6.ebuild:
Increase severity of the messages as people wanting to run pulseaudio[alsa]
diff --git a/media-sound/pulseaudio/metadata.xml b/media-sound/pulseaudio/metadata.xml
index 25afd41c86d8..8bf704bbeb7f 100644
--- a/media-sound/pulseaudio/metadata.xml
+++ b/media-sound/pulseaudio/metadata.xml
@@ -10,6 +10,11 @@
flag if you want to use a system wide instance. If unsure, enable
this flag.
</flag>
+ <flag name="alsa-plugin">
+ Request installing <pkg>media-sound/alsa-plugins</pkg> with
+ PulseAudio plugin enabled. This ensures that clients supporting
+ ALSA only will use PulseAudio.
+ </flag>
<flag name="gnome">
Use GConf to store user preferences on streams and so on. Don't
enable this flag if you want to use a system wide instance. If
diff --git a/media-sound/pulseaudio/pulseaudio-5.0-r6.ebuild b/media-sound/pulseaudio/pulseaudio-5.0-r6.ebuild
index 6639d877cdd5..3c054471d648 100644
--- a/media-sound/pulseaudio/pulseaudio-5.0-r6.ebuild
+++ b/media-sound/pulseaudio/pulseaudio-5.0-r6.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/pulseaudio/pulseaudio-5.0-r6.ebuild,v 1.2 2014/12/05 10:30:55 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/pulseaudio/pulseaudio-5.0-r6.ebuild,v 1.3 2014/12/05 15:26:17 mgorny Exp $
EAPI="5"
inherit autotools bash-completion-r1 eutils flag-o-matic linux-info readme.gentoo systemd user versionator udev multilib-minimal
@@ -18,8 +18,8 @@ LICENSE="!gdbm? ( LGPL-2.1 ) gdbm? ( GPL-2 )"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
-IUSE="+alsa +asyncns bluetooth +caps dbus doc equalizer +gdbm +glib gnome
-gtk ipv6 jack libsamplerate lirc neon +orc oss qt4 realtime ssl systemd
+IUSE="+alsa +alsa-plugin +asyncns bluetooth +caps dbus doc equalizer +gdbm +glib
+gnome gtk ipv6 jack libsamplerate lirc neon +orc oss qt4 realtime ssl systemd
system-wide tcpd test +udev +webrtc-aec +X xen zeroconf"
# See "*** BLUEZ support not found (requires D-Bus)" in configure.ac
@@ -88,6 +88,8 @@ DEPEND="${RDEPEND}
dev-util/intltool
>=sys-devel/gettext-0.18.1
"
+# This is a PDEPEND to avoid a circular dep
+PDEPEND="alsa-plugin? ( >=media-plugins/alsa-plugins-1.0.27-r1[pulseaudio] )"
# alsa-utils dep is for the alsasound init.d script (see bug #155707)
# bluez dep is for the bluetooth init.d script
@@ -350,10 +352,4 @@ pkg_postinst() {
elog "This will build the equalizer module, but the 'qpaeq' tool"
elog "which is required to set equalizer levels will not work."
fi
-
- if use alsa && ! has_version 'media-plugins/alsa-plugins[pulseaudio]'; then
- ewarn
- ewarn "You will need to install media-plugins/alsa-plugins[pulseaudio]"
- ewarn "if you want ALSA-only apps to automatically use PulseAudio."
- fi
}