diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2008-01-24 01:21:51 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2008-01-24 01:21:51 +0000 |
commit | 04b9d31c87a46ca4b792825d11afafa9ff5307bf (patch) | |
tree | 64ef57a88bdbc4e1586ff7a83eeeca7e751b0305 /media-sound/paprefs/paprefs-0.9.6.ebuild | |
parent | Need to set RDEPEND too (diff) | |
download | historical-04b9d31c87a46ca4b792825d11afafa9ff5307bf.tar.gz historical-04b9d31c87a46ca4b792825d11afafa9ff5307bf.tar.bz2 historical-04b9d31c87a46ca4b792825d11afafa9ff5307bf.zip |
Add check for glib USE flag on pulseaudio for next revision.
Package-Manager: portage-2.1.4
Diffstat (limited to 'media-sound/paprefs/paprefs-0.9.6.ebuild')
-rw-r--r-- | media-sound/paprefs/paprefs-0.9.6.ebuild | 9 |
1 files changed, 8 insertions, 1 deletions
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." |