From c0af32a83d9f345346444204cfdc5d0105e10a89 Mon Sep 17 00:00:00 2001 From: Liav A Date: Sun, 16 Oct 2022 23:37:42 +0300 Subject: [PATCH] Ports: Add potrace utility port --- Ports/AvailablePorts.md | 1 + Ports/potrace/package.sh | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100755 Ports/potrace/package.sh diff --git a/Ports/AvailablePorts.md b/Ports/AvailablePorts.md index 5b10d88b8b..aa5a7eafb0 100644 --- a/Ports/AvailablePorts.md +++ b/Ports/AvailablePorts.md @@ -196,6 +196,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n | [`php`](php/) | PHP | 8.1.6 | https://www.php.net/ | | [`pixman`](pixman/) | pixman | 0.40.0 | http://pixman.org | | [`pkgconf`](pkgconf/) | pkgconf | 1.8.0 | https://github.com/pkgconf/pkgconf | +| [`potrace`](potrace/) | Bitmap tracing utility | 1.16 | https://potrace.sourceforge.net/ | | [`powdertoy`](powdertoy/) | The Powder Toy | 96.2.350 | https://powdertoy.co.uk/ | | [`prboom-plus`](prboom-plus/) | PrBoom+ | 2.6.2 | https://prboom-plus.sourceforge.io/ | | [`printf`](printf/) | printf (OpenBSD) | 6.6 | https://github.com/ibara/libpuffy | diff --git a/Ports/potrace/package.sh b/Ports/potrace/package.sh new file mode 100755 index 0000000000..fb536ac24e --- /dev/null +++ b/Ports/potrace/package.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env -S bash ../.port_include.sh +port='potrace' +version='1.16' +useconfigure='true' +use_fresh_config_sub='true' +config_sub_paths=('config.sub') +files="https://potrace.sourceforge.net/download/${version}/potrace-${version}.tar.gz potrace-${version}.tar.gz be8248a17dedd6ccbaab2fcc45835bb0502d062e40fbded3bc56028ce5eb7acc" +auth_type='sha256' +configopts=( + "--with-libpotrace" +)