summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrej Kacian <ticho@gentoo.org>2007-07-04 23:59:45 +0000
committerAndrej Kacian <ticho@gentoo.org>2007-07-04 23:59:45 +0000
commitfff6cf1b6c4723131ccf241134fe6f6d5a1274f4 (patch)
tree45468252a265a19f91a8c1ca5b087b0715ce77f8 /media-plugins/gmpc-mdcover
parentUpdate Manifest. (diff)
downloadgentoo-2-fff6cf1b6c4723131ccf241134fe6f6d5a1274f4.tar.gz
gentoo-2-fff6cf1b6c4723131ccf241134fe6f6d5a1274f4.tar.bz2
gentoo-2-fff6cf1b6c4723131ccf241134fe6f6d5a1274f4.zip
Add check for correct USE flag for x11-libs/gtk+-2.
(Portage version: 2.1.3_rc4)
Diffstat (limited to 'media-plugins/gmpc-mdcover')
-rw-r--r--media-plugins/gmpc-mdcover/ChangeLog6
-rw-r--r--media-plugins/gmpc-mdcover/gmpc-mdcover-0.14.0.ebuild12
-rw-r--r--media-plugins/gmpc-mdcover/gmpc-mdcover-0.15.0.ebuild12
3 files changed, 27 insertions, 3 deletions
diff --git a/media-plugins/gmpc-mdcover/ChangeLog b/media-plugins/gmpc-mdcover/ChangeLog
index 676221fbd59a..564125788a48 100644
--- a/media-plugins/gmpc-mdcover/ChangeLog
+++ b/media-plugins/gmpc-mdcover/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-plugins/gmpc-mdcover
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/gmpc-mdcover/ChangeLog,v 1.3 2007/06/27 18:22:11 gustavoz Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/gmpc-mdcover/ChangeLog,v 1.4 2007/07/04 23:59:45 ticho Exp $
+
+ 04 Jul 2007; Andrej Kacian <ticho@gentoo.org> gmpc-mdcover-0.14.0.ebuild,
+ gmpc-mdcover-0.15.0.ebuild:
+ Add check for correct USE flag for x11-libs/gtk+-2.
27 Jun 2007; Gustavo Zacarias <gustavoz@gentoo.org>
gmpc-mdcover-0.15.0.ebuild:
diff --git a/media-plugins/gmpc-mdcover/gmpc-mdcover-0.14.0.ebuild b/media-plugins/gmpc-mdcover/gmpc-mdcover-0.14.0.ebuild
index 7c62249a0103..e1f290feac15 100644
--- a/media-plugins/gmpc-mdcover/gmpc-mdcover-0.14.0.ebuild
+++ b/media-plugins/gmpc-mdcover/gmpc-mdcover-0.14.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-mdcover/gmpc-mdcover-0.14.0.ebuild,v 1.2 2007/04/15 15:35:10 ticho Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/gmpc-mdcover/gmpc-mdcover-0.14.0.ebuild,v 1.3 2007/07/04 23:59:45 ticho Exp $
+
+inherit eutils
DESCRIPTION="This plugin fetches cover art, artist art,album and artist information from the file system."
HOMEPAGE="http://sarine.nl/gmpc-plugins-mdcover"
@@ -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
diff --git a/media-plugins/gmpc-mdcover/gmpc-mdcover-0.15.0.ebuild b/media-plugins/gmpc-mdcover/gmpc-mdcover-0.15.0.ebuild
index 8cc9dae1c814..537bd61238cf 100644
--- a/media-plugins/gmpc-mdcover/gmpc-mdcover-0.15.0.ebuild
+++ b/media-plugins/gmpc-mdcover/gmpc-mdcover-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-mdcover/gmpc-mdcover-0.15.0.ebuild,v 1.2 2007/06/27 18:22:11 gustavoz Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/gmpc-mdcover/gmpc-mdcover-0.15.0.ebuild,v 1.3 2007/07/04 23:59:45 ticho Exp $
+
+inherit eutils
DESCRIPTION="This plugin fetches cover art, artist art,album and artist information from the file system."
HOMEPAGE="http://sarine.nl/gmpc-plugins-mdcover"
@@ -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