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
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')
-rw-r--r--media-gfx/potrace/Manifest1
-rw-r--r--media-gfx/potrace/potrace-1.16.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/media-gfx/potrace/Manifest b/media-gfx/potrace/Manifest
index 67ad372b3904..71ef344c089b 100644
--- a/media-gfx/potrace/Manifest
+++ b/media-gfx/potrace/Manifest
@@ -1 +1,2 @@
DIST potrace-1.15.tar.gz 650840 BLAKE2B 1a2074ff0ff958e1c9cbcd35a6267ef7f4bdfa5ba9b511413fa2c5db16a7263ed27291a0bf7c76feb25abd59db099e1096b736eab28a6397accfce88f42fdeff SHA512 c9a8edd4f3339da587b9b32e12c83c8f7b993c7c23f551fa267545d9411679bc024924e23596ed1c83985693fc894b65dfa9f860275de395d9e0a88da37a4f02
+DIST potrace-1.16.tar.gz 657314 BLAKE2B ee6b04f355d593dd1ebcc4833b244e25eaaa69c91f90987d530a4e5a454668dff6ecfb7a5d8270ebbd9e7c177fd447d1b3fe2a343fc4b9413dd3f507c0c6e417 SHA512 10d85ed3fada80951223c65e923b5e6ee3e76e071575971d5b09b996b477ec5ff2403e0337c44963c6b441cc3ba6c4f7009541124a25c16b7721fdebd1f774b9
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[@]}"
+}