瀏覽代碼

Ports: Add ImageMagick

Joe Petrus 3 年之前
父節點
當前提交
06e33788ea
共有 2 個文件被更改,包括 10 次插入0 次删除
  1. 1 0
      Ports/AvailablePorts.md
  2. 9 0
      Ports/imagemagick/package.sh

+ 1 - 0
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                                   |
 | [`halflife`](halflife/)                | Half-Life                                                       | 1.0.0                    | https://github.com/SerenityPorts/xash3d-fwgs                                   |
 | [`harfbuzz`](harfbuzz/)                | HarfBuzz                                                        | 2.8.1                    | https://github.com/harfbuzz/harfbuzz                                           |
 | [`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/                                                  |
 | [`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                                         |
 | [`imgcat`](imgcat/)                    | imgcat                                                          | 2.5.0                    | https://github.com/eddieantonio/imgcat                                         |
 | [`indent`](indent/)                    | GNU indent                                                      | 2.2.11                   | https://www.gnu.org/software/indent/                                           |
 | [`indent`](indent/)                    | GNU indent                                                      | 2.2.11                   | https://www.gnu.org/software/indent/                                           |
 | [`jot`](jot/)                          | jot (OpenBSD)                                                   | 6.6                      | https://github.com/ibara/libpuffy                                              |
 | [`jot`](jot/)                          | jot (OpenBSD)                                                   | 6.6                      | https://github.com/ibara/libpuffy                                              |

+ 9 - 0
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")