summaryrefslogtreecommitdiff
path: root/Ports/libtiff
diff options
context:
space:
mode:
authorjonno85uk <jonnobleuk@gmail.com>2021-02-17 21:54:04 +0000
committerGitHub <noreply@github.com>2021-02-17 22:54:04 +0100
commit6e1117a688385bb509900a2fcb985e2974061b20 (patch)
tree2dedaa8f8bd8bd720c65fcf970feda3e6b74dd38 /Ports/libtiff
parentfe266e03b6954f3eb8ee8994445498db299cff67 (diff)
downloadserenity-6e1117a688385bb509900a2fcb985e2974061b20.zip
Ports: Add libtiff (#5383)
Diffstat (limited to 'Ports/libtiff')
-rwxr-xr-xPorts/libtiff/package.sh9
-rw-r--r--Ports/libtiff/patches/system-detect.patch11
2 files changed, 20 insertions, 0 deletions
diff --git a/Ports/libtiff/package.sh b/Ports/libtiff/package.sh
new file mode 100755
index 0000000000..258cb25f10
--- /dev/null
+++ b/Ports/libtiff/package.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env -S bash ../.port_include.sh
+port=tiff
+version=4.2.0
+useconfigure=true
+files="http://download.osgeo.org/libtiff/tiff-${version}.tar.gz tiff-${version}.tar.gz
+http://download.osgeo.org/libtiff/tiff-${version}.tar.gz.sig tiff-${version}.tar.gz.sig"
+auth_type="sig"
+auth_import_key="EBDFDB21B020EE8FD151A88DE301047DE1198975"
+auth_opts="tiff-${version}.tar.gz.sig tiff-${version}.tar.gz"
diff --git a/Ports/libtiff/patches/system-detect.patch b/Ports/libtiff/patches/system-detect.patch
new file mode 100644
index 0000000000..2feb9db5c1
--- /dev/null
+++ b/Ports/libtiff/patches/system-detect.patch
@@ -0,0 +1,11 @@
+--- tiff-4.2.0/config/config.sub.orig 2021-02-16 23:55:55.240259207 +0000
++++ tiff-4.2.0/config/config.sub 2021-02-16 23:55:59.792227377 +0000
+@@ -1393,7 +1393,7 @@
+ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
+ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
+ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
+- | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* | -tirtos*)
++ | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* | -tirtos* | -serenity* )
+ # Remember, each alternative MUST END IN *, to match a version number.
+ ;;
+ -qnx*)