From 04b9d31c87a46ca4b792825d11afafa9ff5307bf Mon Sep 17 00:00:00 2001 From: Diego Elio Pettenò Date: Thu, 24 Jan 2008 01:21:51 +0000 Subject: Add check for glib USE flag on pulseaudio for next revision. Package-Manager: portage-2.1.4 --- media-sound/paprefs/paprefs-0.9.6.ebuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'media-sound/paprefs/paprefs-0.9.6.ebuild') diff --git a/media-sound/paprefs/paprefs-0.9.6.ebuild b/media-sound/paprefs/paprefs-0.9.6.ebuild index ed8841d9bcdf..13bd9393099b 100644 --- a/media-sound/paprefs/paprefs-0.9.6.ebuild +++ b/media-sound/paprefs/paprefs-0.9.6.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/paprefs/paprefs-0.9.6.ebuild,v 1.3 2008/01/03 22:51:52 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/paprefs/paprefs-0.9.6.ebuild,v 1.4 2008/01/24 01:20:09 flameeyes Exp $ DESCRIPTION="PulseAudio Preferences, configuration dialog for PulseAudio" HOMEPAGE="http://0pointer.de/lennart/projects/paprefs" @@ -21,6 +21,13 @@ DEPEND="${RDEPEND} nls? ( sys-devel/gettext dev-util/intltool ) dev-util/pkgconfig" +pkg_setup() { + if ! built_with_use --missing true media-sound/pulseaudio glib; then + eerror "You need to build media-sound/pulseaudio with 'glib' use flag enabled." + die "Missing glib use flag on media-sound/pulseaudio." + fi +} + src_compile() { econf $(use_enable nls) --disable-lynx emake || die "emake failed." -- cgit v1.2.3-65-gdbad