diff options
author | Nico Weber <thakis@chromium.org> | 2021-08-15 09:41:39 -0400 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-08-15 19:48:11 +0100 |
commit | 788472f91a099147af96e1b714ab330c33e6c990 (patch) | |
tree | 5f2f9f37ea12fad667b690c083aaa623a8ad96a5 /Ports/libsixel | |
parent | 8157e7740b1c1bd139941c8c5c63fe914ca8031f (diff) | |
download | serenity-788472f91a099147af96e1b714ab330c33e6c990.zip |
Ports: Add libsixel
This contains `img2sixel`.
Diffstat (limited to 'Ports/libsixel')
-rwxr-xr-x | Ports/libsixel/package.sh | 11 | ||||
-rw-r--r-- | Ports/libsixel/patches/config.sub.patch | 13 |
2 files changed, 24 insertions, 0 deletions
diff --git a/Ports/libsixel/package.sh b/Ports/libsixel/package.sh new file mode 100755 index 0000000000..f0396e5e04 --- /dev/null +++ b/Ports/libsixel/package.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env -S bash ../.port_include.sh +port=libsixel +version=1.8.6 +files="https://github.com/saitoha/libsixel/archive/refs/tags/v${version}.tar.gz ${port}-${version}.tar.gz 37611d60c7dbcee701346967336dbf135fdd5041024d5f650d52fae14c731ab9" +useconfigure=true +auth_type=sha256 +configopts="--prefix=${SERENITY_INSTALL_ROOT}/usr/local" + +install() { + run make install +} diff --git a/Ports/libsixel/patches/config.sub.patch b/Ports/libsixel/patches/config.sub.patch new file mode 100644 index 0000000000..782e94db6a --- /dev/null +++ b/Ports/libsixel/patches/config.sub.patch @@ -0,0 +1,13 @@ +diff --git a/config.sub b/config.sub +index 9ccf09a..3f638ab 100755 +--- a/config.sub ++++ b/config.sub +@@ -1390,7 +1390,7 @@ case $os in + | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ + | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \ + | -onefs* | -tirtos* | -phoenix* | -fuchsia* | -redox* | -bme* \ +- | -midnightbsd*) ++ | -midnightbsd* | -serenity*) + # Remember, each alternative MUST END IN *, to match a version number. + ;; + -qnx*) |