summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Mende <angelos@gentoo.org>2009-01-03 23:46:39 +0000
committerChristoph Mende <angelos@gentoo.org>2009-01-03 23:46:39 +0000
commit8315a5bbc6874aa66db60e8f41d1e6e3655f37ae (patch)
tree052f035f8ccb2e16e851b20849f9dc27fedb3c3f /media-plugins/gmpc-coveramazon
parentStable on amd64/x86 (bug #253501) (diff)
downloadgentoo-2-8315a5bbc6874aa66db60e8f41d1e6e3655f37ae.tar.gz
gentoo-2-8315a5bbc6874aa66db60e8f41d1e6e3655f37ae.tar.bz2
gentoo-2-8315a5bbc6874aa66db60e8f41d1e6e3655f37ae.zip
Bumped to EAPI2 to replace built_with_use+die
(Portage version: 2.2_rc20/cvs/Linux 2.6.28 x86_64)
Diffstat (limited to 'media-plugins/gmpc-coveramazon')
-rw-r--r--media-plugins/gmpc-coveramazon/ChangeLog8
-rw-r--r--media-plugins/gmpc-coveramazon/gmpc-coveramazon-0.17.0.ebuild19
2 files changed, 12 insertions, 15 deletions
diff --git a/media-plugins/gmpc-coveramazon/ChangeLog b/media-plugins/gmpc-coveramazon/ChangeLog
index 6cf741b02f7b..95d52602c3ff 100644
--- a/media-plugins/gmpc-coveramazon/ChangeLog
+++ b/media-plugins/gmpc-coveramazon/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-plugins/gmpc-coveramazon
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/gmpc-coveramazon/ChangeLog,v 1.19 2008/12/29 23:20:52 tcunha Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/gmpc-coveramazon/ChangeLog,v 1.20 2009/01/03 23:46:39 angelos Exp $
+
+ 03 Jan 2009; Christoph Mende <angelos@gentoo.org>
+ gmpc-coveramazon-0.17.0.ebuild:
+ Bumped to EAPI2 to replace built_with_use+die
29 Dec 2008; Tiago Cunha <tcunha@gentoo.org>
gmpc-coveramazon-0.16.0.ebuild:
diff --git a/media-plugins/gmpc-coveramazon/gmpc-coveramazon-0.17.0.ebuild b/media-plugins/gmpc-coveramazon/gmpc-coveramazon-0.17.0.ebuild
index 828ec5495120..ed59dae94925 100644
--- a/media-plugins/gmpc-coveramazon/gmpc-coveramazon-0.17.0.ebuild
+++ b/media-plugins/gmpc-coveramazon/gmpc-coveramazon-0.17.0.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/gmpc-coveramazon/gmpc-coveramazon-0.17.0.ebuild,v 1.2 2008/12/26 19:38:16 angelos Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/gmpc-coveramazon/gmpc-coveramazon-0.17.0.ebuild,v 1.3 2009/01/03 23:46:39 angelos Exp $
-inherit eutils
+EAPI=2
DESCRIPTION="This plugin fetches cover art and album information from Amazon"
HOMEPAGE="http://gmpcwiki.sarine.nl/index.php/Coveramazon"
@@ -14,18 +14,11 @@ KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE=""
RDEPEND=">=media-sound/gmpc-${PV}
- dev-libs/libxml2"
+ dev-libs/libxml2
+ x11-libs/gtk+:2[jpeg]"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
-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_install () {
- emake DESTDIR="${D}" install || die
+ emake DESTDIR="${D}" install || die "emake install failed"
}