commit:     2872d4b91ee4d89abfdb9c80d4fcebf6f117eadd
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 14 12:09:00 2019 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Mon Oct 14 12:10:08 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2872d4b9

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 <AT> gentoo.org>

 media-gfx/potrace/Manifest            |  1 +
 media-gfx/potrace/potrace-1.16.ebuild | 33 +++++++++++++++++++++++++++++++++
 2 files changed, 34 insertions(+)

diff --git a/media-gfx/potrace/Manifest b/media-gfx/potrace/Manifest
index 67ad372b390..71ef344c089 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 00000000000..ac56cfcdbd3
--- /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[@]}"
+}

Reply via email to