diff options
author | Samuli Suominen <drac@gentoo.org> | 2008-06-27 13:05:44 +0000 |
---|---|---|
committer | Samuli Suominen <drac@gentoo.org> | 2008-06-27 13:05:44 +0000 |
commit | 1254adf9e126059cfcd1c5a9cc2085e3c3367efa (patch) | |
tree | 4b9c4cf826bde547cf8f4bbad5ca7ada2b90c7f1 /media-gfx/pdf2svg | |
parent | mentioned wrong bug # in changelog (diff) | |
download | gentoo-2-1254adf9e126059cfcd1c5a9cc2085e3c3367efa.tar.gz gentoo-2-1254adf9e126059cfcd1c5a9cc2085e3c3367efa.tar.bz2 gentoo-2-1254adf9e126059cfcd1c5a9cc2085e3c3367efa.zip |
Initial commit for bug 207693, thanks to Oliver Borm.
(Portage version: 2.2_rc1/cvs/Linux 2.6.26-rc3 x86_64)
Diffstat (limited to 'media-gfx/pdf2svg')
-rw-r--r-- | media-gfx/pdf2svg/ChangeLog | 9 | ||||
-rw-r--r-- | media-gfx/pdf2svg/Manifest | 4 | ||||
-rw-r--r-- | media-gfx/pdf2svg/metadata.xml | 5 | ||||
-rw-r--r-- | media-gfx/pdf2svg/pdf2svg-0.2.1.ebuild | 38 |
4 files changed, 56 insertions, 0 deletions
diff --git a/media-gfx/pdf2svg/ChangeLog b/media-gfx/pdf2svg/ChangeLog new file mode 100644 index 000000000000..e12833ad5fc8 --- /dev/null +++ b/media-gfx/pdf2svg/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for media-gfx/pdf2svg +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/pdf2svg/ChangeLog,v 1.1 2008/06/27 13:05:44 drac Exp $ + +*pdf2svg-0.2.1 (27 Jun 2008) + + 27 Jun 2008; Samuli Suominen <drac@gentoo.org> +pdf2svg-0.2.1.ebuild: + Initial commit for bug 207693, thanks to Oliver Borm. + diff --git a/media-gfx/pdf2svg/Manifest b/media-gfx/pdf2svg/Manifest new file mode 100644 index 000000000000..c26c040d2853 --- /dev/null +++ b/media-gfx/pdf2svg/Manifest @@ -0,0 +1,4 @@ +DIST pdf2svg-0.2.1.tar.gz 77601 RMD160 ccf1c6304ecb0fe4c54164996f4cf785a6ebaf22 SHA1 12f9d1bde6aa2e396eb7f196b6d8e29ade3cafe6 SHA256 96e6902e0bca6aeb70f3c6621d0d95b346b14c6a0282c12c1e7635f67af0c74b +EBUILD pdf2svg-0.2.1.ebuild 890 RMD160 9fede693bc31a75c633f0f9e625a7789e4f7b647 SHA1 65ef097b0fee4f85f5b9910df36836090fcad206 SHA256 aabe7ea457c6c8ad63f72d8124cd7d057c3198e8ea98b6dc315bd1b9d59b9bda +MISC ChangeLog 277 RMD160 ddde98624c94a02923ed0889058a48f35b45ffb2 SHA1 ed80a8116f7867880e84da8a85eb066e0ff944db SHA256 ab548d1f3e9ef6f2e7330539048f84851a00152553d405cd5975051b92f7a7e0 +MISC metadata.xml 162 RMD160 724f25e8bd2d17056a9f820449e0ddc858f31cce SHA1 620b205b2cddc55f63199267eeb30e9f4c6a817b SHA256 7cccbeab15ef93a962010750e32971ffff1226321adc83df7ff572dea8ff63c2 diff --git a/media-gfx/pdf2svg/metadata.xml b/media-gfx/pdf2svg/metadata.xml new file mode 100644 index 000000000000..a083c07fab9e --- /dev/null +++ b/media-gfx/pdf2svg/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>graphics</herd> +</pkgmetadata> diff --git a/media-gfx/pdf2svg/pdf2svg-0.2.1.ebuild b/media-gfx/pdf2svg/pdf2svg-0.2.1.ebuild new file mode 100644 index 000000000000..b1621df20069 --- /dev/null +++ b/media-gfx/pdf2svg/pdf2svg-0.2.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2008 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 $ + +inherit eutils + +DESCRIPTION="pdf2svg is based on poppler and cairo and can convert pdf to svg files" +HOMEPAGE="http://www.cityinthesky.co.uk/pdf2svg.html" +SRC_URI="http://www.cityinthesky.co.uk/files/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=app-text/poppler-0.5.4 + >=x11-libs/cairo-1.2.6 + >=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}" + sed -i -e \ + 's:#include <stdio.h>:#include <stdio.h>\n#include <stdlib.h>:' \ + ${PN}.c || die "sed failed." +} +src_install() { + emake DESTDIR="${D}" install || die "emake install failed." + dodoc AUTHORS ChangeLog README +} |