summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Alfredsen <loki_val@gentoo.org>2009-03-30 13:40:33 +0000
committerPeter Alfredsen <loki_val@gentoo.org>2009-03-30 13:40:33 +0000
commit59ab43b329ee28da55ff15f8bb8c2206400f0138 (patch)
tree4b570d8f111eebb2c2bd6eea595ebac174ffa250 /media-gfx/pdf2svg/pdf2svg-0.2.1.ebuild
parentarm/sh/sparc stable (diff)
downloadgentoo-2-59ab43b329ee28da55ff15f8bb8c2206400f0138.tar.gz
gentoo-2-59ab43b329ee28da55ff15f8bb8c2206400f0138.tar.bz2
gentoo-2-59ab43b329ee28da55ff15f8bb8c2206400f0138.zip
Update dependencies w.r.t. bug 264230, fully-split-out poppler transition. Also use EAPI=2.
(Portage version: 2.2_rc28/cvs/Linux x86_64)
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."