summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrej Kacian <ticho@gentoo.org>2007-07-05 00:05:19 +0000
committerAndrej Kacian <ticho@gentoo.org>2007-07-05 00:05:19 +0000
commit083368bb1034a55a88c347ba8d049de93224a80e (patch)
treed589b20bffc2a5d590348eb5fe5bbadb30f94c57
parentCosmetic fixes. (diff)
downloadgentoo-2-083368bb1034a55a88c347ba8d049de93224a80e.tar.gz
gentoo-2-083368bb1034a55a88c347ba8d049de93224a80e.tar.bz2
gentoo-2-083368bb1034a55a88c347ba8d049de93224a80e.zip
Add check for correct USE flag for x11-libs/gtk+-2.
(Portage version: 2.1.3_rc4)
-rw-r--r--media-plugins/gmpc-lastfm/ChangeLog5
-rw-r--r--media-plugins/gmpc-lastfm/gmpc-lastfm-0.15.0.ebuild12
2 files changed, 15 insertions, 2 deletions
diff --git a/media-plugins/gmpc-lastfm/ChangeLog b/media-plugins/gmpc-lastfm/ChangeLog
index 7e3761bed01e..0c3c8784ddc9 100644
--- a/media-plugins/gmpc-lastfm/ChangeLog
+++ b/media-plugins/gmpc-lastfm/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-plugins/gmpc-lastfm
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/gmpc-lastfm/ChangeLog,v 1.4 2007/07/03 12:47:33 angelos Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/gmpc-lastfm/ChangeLog,v 1.5 2007/07/05 00:05:19 ticho Exp $
+
+ 05 Jul 2007; Andrej Kacian <ticho@gentoo.org> gmpc-lastfm-0.15.0.ebuild:
+ Add check for correct USE flag for x11-libs/gtk+-2.
03 Jul 2007; Christoph Mende <angelos@gentoo.org>
gmpc-lastfm-0.15.0.ebuild:
diff --git a/media-plugins/gmpc-lastfm/gmpc-lastfm-0.15.0.ebuild b/media-plugins/gmpc-lastfm/gmpc-lastfm-0.15.0.ebuild
index 3bcf6905900a..3dda048ee6c6 100644
--- a/media-plugins/gmpc-lastfm/gmpc-lastfm-0.15.0.ebuild
+++ b/media-plugins/gmpc-lastfm/gmpc-lastfm-0.15.0.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/gmpc-lastfm/gmpc-lastfm-0.15.0.ebuild,v 1.3 2007/07/03 12:47:33 angelos Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/gmpc-lastfm/gmpc-lastfm-0.15.0.ebuild,v 1.4 2007/07/05 00:05:19 ticho Exp $
+
+inherit eutils
DESCRIPTION="The last.fm plugin can fetch artist images, from last.fm. This plugin doesn't scrobble your music, use a dedicated client like mpdscribble for this."
HOMEPAGE="http://sarine.nl/gmpc-plugins-lastfm"
@@ -14,6 +16,14 @@ IUSE=""
DEPEND=">=media-sound/gmpc-${PV}
dev-libs/libxml2"
+pkg_setup() {
+ if ! built_with_use =x11-libs/gtk+-2* jpeg ; then
+ echo
+ eerror "x11-libs/gtk+-2 needs to be built with \"jpeg\" USE flag"
+ die "x11-libs/gtk+-2 needs to be built with \"jpeg\" USE flag"
+ fi
+}
+
src_compile ()
{
econf || die