summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/pdf2svg/pdf2svg-0.2.1.ebuild')
-rw-r--r--media-gfx/pdf2svg/pdf2svg-0.2.1.ebuild20
1 files changed, 7 insertions, 13 deletions
diff --git a/media-gfx/pdf2svg/pdf2svg-0.2.1.ebuild b/media-gfx/pdf2svg/pdf2svg-0.2.1.ebuild
index b1621df20069..5d63cd75bc0d 100644
--- a/media-gfx/pdf2svg/pdf2svg-0.2.1.ebuild
+++ b/media-gfx/pdf2svg/pdf2svg-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/pdf2svg/pdf2svg-0.2.1.ebuild,v 1.1 2008/06/27 13:05:44 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/pdf2svg/pdf2svg-0.2.1.ebuild,v 1.2 2009/03/30 13:40:33 loki_val Exp $
+
+EAPI=2
inherit eutils
@@ -13,21 +15,13 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
-RDEPEND=">=app-text/poppler-0.5.4
- >=x11-libs/cairo-1.2.6
+RDEPEND=">=virtual/poppler-glib-0.5.4[cairo]
+ >=x11-libs/cairo-1.2.6[svg]
>=x11-libs/gtk+-2"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
-pkg_setup() {
- if ! built_with_use x11-libs/cairo svg; then
- die "Re-emerge x11-libs/cairo with USE svg."
- fi
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
sed -i -e \
's:#include <stdio.h>:#include <stdio.h>\n#include <stdlib.h>:' \
${PN}.c || die "sed failed."