From 06e33788ea1cbe5a4f3e2ab3faef6403f0159cdc Mon Sep 17 00:00:00 2001 From: Joe Petrus Date: Fri, 11 Feb 2022 20:37:16 -0500 Subject: [PATCH] Ports: Add ImageMagick --- Ports/AvailablePorts.md | 1 + Ports/imagemagick/package.sh | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100755 Ports/imagemagick/package.sh diff --git a/Ports/AvailablePorts.md b/Ports/AvailablePorts.md index ccffe1fe40..bd67528f91 100644 --- a/Ports/AvailablePorts.md +++ b/Ports/AvailablePorts.md @@ -69,6 +69,7 @@ Please make sure to keep this list up to date when adding and updating ports. :^ | [`halflife`](halflife/) | Half-Life | 1.0.0 | https://github.com/SerenityPorts/xash3d-fwgs | | [`harfbuzz`](harfbuzz/) | HarfBuzz | 2.8.1 | https://github.com/harfbuzz/harfbuzz | | [`hatari`](hatari/) | Atari ST/STE/TT/Falcon emulator | 2.4.0-devel | https://hatari.tuxfamily.org/ | +| [`imagemagick`](imagemagick/) | ImageMagick | 7.1.0-23 | https://imagemagick.org | | [`imgcat`](imgcat/) | imgcat | 2.5.0 | https://github.com/eddieantonio/imgcat | | [`indent`](indent/) | GNU indent | 2.2.11 | https://www.gnu.org/software/indent/ | | [`jot`](jot/) | jot (OpenBSD) | 6.6 | https://github.com/ibara/libpuffy | diff --git a/Ports/imagemagick/package.sh b/Ports/imagemagick/package.sh new file mode 100755 index 0000000000..026c0861d9 --- /dev/null +++ b/Ports/imagemagick/package.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env -S bash ../.port_include.sh +port=ImageMagick +version=7.1.0-23 +workdir="${port}-${version}" +useconfigure="true" +files="https://github.com/ImageMagick/ImageMagick/archive/refs/tags/${version}.tar.gz imagemagick-v${version}.tar.gz 62c24362891d0af2be9a81d01117195ba0ec8e6982c7568195a33019bfc82188" +auth_type=sha256 +configopts=("--host=${SERENITY_ARCH}") +depends=("libpng" "libtiff" "libjpeg")