summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2019-10-14 14:09:00 +0200
committerLars Wendler <polynomial-c@gentoo.org>2019-10-14 14:10:08 +0200
commit2872d4b91ee4d89abfdb9c80d4fcebf6f117eadd (patch)
treedb64c69580e779a4a2439f13ed5d143e55a182d7 /media-gfx/potrace/potrace-1.16.ebuild
parentgames-simulation/openttd: Bump to version 1.9.3 (diff)
downloadgentoo-2872d4b91ee4d89abfdb9c80d4fcebf6f117eadd.tar.gz
gentoo-2872d4b91ee4d89abfdb9c80d4fcebf6f117eadd.tar.bz2
gentoo-2872d4b91ee4d89abfdb9c80d4fcebf6f117eadd.zip
media-gfx/potrace: Bump to version 1.16
Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'media-gfx/potrace/potrace-1.16.ebuild')
-rw-r--r--media-gfx/potrace/potrace-1.16.ebuild33
1 files changed, 33 insertions, 0 deletions
diff --git a/media-gfx/potrace/potrace-1.16.ebuild b/media-gfx/potrace/potrace-1.16.ebuild
new file mode 100644
index 000000000000..ac56cfcdbd3e
--- /dev/null
+++ b/media-gfx/potrace/potrace-1.16.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="Transforming bitmaps into vector graphics"
+HOMEPAGE="http://potrace.sourceforge.net/"
+SRC_URI="http://potrace.sourceforge.net/download/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+IUSE="metric static-libs"
+
+RDEPEND="sys-libs/zlib:="
+DEPEND="${RDEPEND}"
+
+DOCS=( AUTHORS ChangeLog NEWS README )
+
+src_configure() {
+ tc-export CC # bug 610098
+ local myeconfargs=(
+ --enable-shared
+ --enable-zlib
+ --with-libpotrace
+ $(use_enable metric a4)
+ $(use_enable metric)
+ $(use_enable static-libs static)
+ )
+ econf "${myeconfargs[@]}"
+}