summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-08-31 11:11:16 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-08-31 11:11:16 +0000
commit166c075ef8f774ded32367dd337b041a04b92805 (patch)
treeae96d499bd2fac1015e31aebc3dac90ca9d12e93 /media-sound/padevchooser/padevchooser-0.9.3.ebuild
parentFixed double-utf8 encoding, see bug #125288. (diff)
downloadgentoo-2-166c075ef8f774ded32367dd337b041a04b92805.tar.gz
gentoo-2-166c075ef8f774ded32367dd337b041a04b92805.tar.bz2
gentoo-2-166c075ef8f774ded32367dd337b041a04b92805.zip
Check for avahi useflag as it's needed to have libpulse-browse, thanks to Alessandro Chirico in bug #145648 for reporting.
(Portage version: 2.1.1_rc1-r2)
Diffstat (limited to 'media-sound/padevchooser/padevchooser-0.9.3.ebuild')
-rw-r--r--media-sound/padevchooser/padevchooser-0.9.3.ebuild12
1 files changed, 11 insertions, 1 deletions
diff --git a/media-sound/padevchooser/padevchooser-0.9.3.ebuild b/media-sound/padevchooser/padevchooser-0.9.3.ebuild
index a2cb5c45016f..abf158c4e5e4 100644
--- a/media-sound/padevchooser/padevchooser-0.9.3.ebuild
+++ b/media-sound/padevchooser/padevchooser-0.9.3.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/padevchooser/padevchooser-0.9.3.ebuild,v 1.1 2006/08/31 09:35:57 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/padevchooser/padevchooser-0.9.3.ebuild,v 1.2 2006/08/31 11:11:16 flameeyes Exp $
+
+inherit eutils
DESCRIPTION="PulseAudio Device Chooser, tool for quick access to PulseAudio features"
HOMEPAGE="http://0pointer.de/lennart/projects/pavucontrol/"
@@ -18,6 +20,14 @@ RDEPEND=">=x11-libs/gtk+-2.0
x11-libs/libnotify
>=media-sound/pulseaudio-0.9.2"
+pkg_setup() {
+ # See bug #145648
+ if ! built_with_use media-sound/pulseaudio avahi; then
+ eerror "You need to build media-sound/pulseaudio with 'avahi' use flag enabled."
+ die "Missing avahi use flag on media-sound/pulseaudio."
+ fi
+}
+
src_compile() {
# Lynx is used during make dist basically
econf \