diff options
author | Markus Meier <maekke@gentoo.org> | 2009-08-16 10:05:58 +0000 |
---|---|---|
committer | Markus Meier <maekke@gentoo.org> | 2009-08-16 10:05:58 +0000 |
commit | b60daa2631c53ee551cd7c6db31afffe5cc52b5a (patch) | |
tree | f8d180e3c90bdbbec693594b12f8931b1ae2df5b /media-gfx | |
parent | migrate to EAPI=2 (diff) | |
download | gentoo-2-b60daa2631c53ee551cd7c6db31afffe5cc52b5a.tar.gz gentoo-2-b60daa2631c53ee551cd7c6db31afffe5cc52b5a.tar.bz2 gentoo-2-b60daa2631c53ee551cd7c6db31afffe5cc52b5a.zip |
migrate to EAPI=2
(Portage version: 2.2_rc38/cvs/Linux i686)
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/xsvg/ChangeLog | 7 | ||||
-rw-r--r-- | media-gfx/xsvg/xsvg-0.2.1.ebuild | 21 |
2 files changed, 13 insertions, 15 deletions
diff --git a/media-gfx/xsvg/ChangeLog b/media-gfx/xsvg/ChangeLog index 415670bdec55..bbb86d075b1a 100644 --- a/media-gfx/xsvg/ChangeLog +++ b/media-gfx/xsvg/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for media-gfx/xsvg -# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/xsvg/ChangeLog,v 1.24 2008/06/25 18:00:48 maekke Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/xsvg/ChangeLog,v 1.25 2009/08/16 10:05:58 maekke Exp $ + + 16 Aug 2009; Markus Meier <maekke@gentoo.org> xsvg-0.2.1.ebuild: + migrate to EAPI=2 25 Jun 2008; Markus Meier <maekke@gentoo.org> xsvg-0.2.1.ebuild: x11-libs/cairo must be built with USE="X", bug #225223 diff --git a/media-gfx/xsvg/xsvg-0.2.1.ebuild b/media-gfx/xsvg/xsvg-0.2.1.ebuild index 161a09338c01..be343f11dc12 100644 --- a/media-gfx/xsvg/xsvg-0.2.1.ebuild +++ b/media-gfx/xsvg/xsvg-0.2.1.ebuild @@ -1,6 +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-gfx/xsvg/xsvg-0.2.1.ebuild,v 1.12 2008/06/25 18:00:48 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/xsvg/xsvg-0.2.1.ebuild,v 1.13 2009/08/16 10:05:58 maekke Exp $ + +EAPI=2 inherit autotools eutils @@ -13,21 +15,14 @@ SLOT="0" KEYWORDS="amd64 hppa ppc ~sparc x86" IUSE="" -RDEPEND="x11-libs/libsvg-cairo" +RDEPEND=" + x11-libs/cairo[X] + x11-libs/libsvg-cairo" DEPEND="${RDEPEND} x11-libs/libXt x11-libs/libXcursor" -pkg_setup() { - if ! built_with_use x11-libs/cairo X ; then - eerror "x11-libs/cairo needs to be built with USE=\"X\"" - die "remerge x11-libs/cairo with USE=\"X\"" - fi -} - -src_unpack() { - unpack ${A} - cd "${S}" +src_prepare() { epatch "${FILESDIR}"/${P}-asneeded.patch eautoreconf } |