summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Cloos <cloos@jhcloos.com>2010-12-27 17:10:27 -0500
committerJames Cloos <cloos@jhcloos.com>2010-12-27 17:10:27 -0500
commitfe39bff5c824b5e28da279c338c186f28abff60d (patch)
tree7f5149f36a8ff13902f6b76a3c336f529d490bdb
parent895c01b29ab83bf9e2b97ed5abc45ca565a68e75 (diff)
Add media-gfx/potrace-1.9
-rw-r--r--media-gfx/potrace/Manifest3
-rw-r--r--media-gfx/potrace/metadata.xml14
-rw-r--r--media-gfx/potrace/potrace-1.9.ebuild29
3 files changed, 46 insertions, 0 deletions
diff --git a/media-gfx/potrace/Manifest b/media-gfx/potrace/Manifest
new file mode 100644
index 0000000..3ca65b0
--- /dev/null
+++ b/media-gfx/potrace/Manifest
@@ -0,0 +1,3 @@
+DIST potrace-1.9.tar.gz 601675 RMD160 a8e35a216684b5ac7cf2753c31023bee397179eb SHA1 c3ace609c24a0d5e03bbab5f22478c2af69cf1c4 SHA256 edce2dff19f91e727a4f39e1839b582b83d49ef252af429a0772ddc3626349be
+EBUILD potrace-1.9.ebuild 757 RMD160 887769d0ced320efbf8e4b62f560bac6aa40e9bb SHA1 7dd40fe67be7cab47ecdfcfc347e8e7890205c56 SHA256 0dbbb13acba193d90a2e47622605370cea983bdf24f8beb67ee6f18bd1eabb6c
+MISC metadata.xml 344 RMD160 b1db384aede6d7d761ca1e56c2378a106e5c804f SHA1 20818c804ab7557b4c92f3d12385dddc7fa67d10 SHA256 fa42c7552b9e60ed7935b51a7245deff2f99f2d005e66b7b0c6730505bf5798f
diff --git a/media-gfx/potrace/metadata.xml b/media-gfx/potrace/metadata.xml
new file mode 100644
index 0000000..95b4942
--- /dev/null
+++ b/media-gfx/potrace/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>fonts</herd>
+ <herd>graphics</herd>
+ <maintainer>
+ <email>fonts@gentoo.org</email>
+ </maintainer>
+ <use>
+ <flag name='metric'>
+ default to a4 paper size and metric measurement
+ </flag>
+ </use>
+</pkgmetadata>
diff --git a/media-gfx/potrace/potrace-1.9.ebuild b/media-gfx/potrace/potrace-1.9.ebuild
new file mode 100644
index 0000000..f5b48cb
--- /dev/null
+++ b/media-gfx/potrace/potrace-1.9.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/potrace/potrace-1.8.ebuild,v 1.8 2010/01/07 22:33:26 fauli Exp $
+
+DESCRIPTION="Transforming bitmaps into vector graphics"
+HOMEPAGE="http://potrace.sourceforge.net/"
+SRC_URI="http://potrace.sourceforge.net/download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="alpha amd64 ia64 ppc sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
+
+IUSE="metric"
+
+src_compile() {
+ econf \
+ --enable-zlib\
+ $(use_enable metric a4) \
+ $(use_enable metric) \
+ || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed."
+
+ dodoc AUTHORS NEWS README
+}