summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/xsvg/xsvg-0.2.1.ebuild')
-rw-r--r--media-gfx/xsvg/xsvg-0.2.1.ebuild21
1 files changed, 8 insertions, 13 deletions
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
}