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
commitcc7309cd3ee21a6ed9add0850b826bad8a40d03f (patch)
treec1262d1111d5eb8e8e13aabc8d905ba19ba148ab /media-plugins
parentCosmetic fixes. (diff)
downloadhistorical-cc7309cd3ee21a6ed9add0850b826bad8a40d03f.tar.gz
historical-cc7309cd3ee21a6ed9add0850b826bad8a40d03f.tar.bz2
historical-cc7309cd3ee21a6ed9add0850b826bad8a40d03f.zip
Add check for correct USE flag for x11-libs/gtk+-2.
Package-Manager: portage-2.1.3_rc4
Diffstat (limited to 'media-plugins')
-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