summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafał Babiarz <5783815+sauler@users.noreply.github.com>2022-01-06 00:11:53 +0100
committerLinus Groh <mail@linusgroh.de>2022-01-06 23:19:20 +0100
commitea90a1ebac85b3aa84f1daf8193e9b248a74980e (patch)
treebd1164f7d9b74021368495b013cfd94bce878e37
parent626507943c0e7bd824c9e97a1de2659e50cb2865 (diff)
downloadserenity-ea90a1ebac85b3aa84f1daf8193e9b248a74980e.zip
Ports: Add liboggz port
-rw-r--r--Ports/AvailablePorts.md1
-rwxr-xr-xPorts/liboggz/package.sh7
-rw-r--r--Ports/liboggz/patches/configure.patch11
3 files changed, 19 insertions, 0 deletions
diff --git a/Ports/AvailablePorts.md b/Ports/AvailablePorts.md
index 2a3ef714f8..ac16c314a8 100644
--- a/Ports/AvailablePorts.md
+++ b/Ports/AvailablePorts.md
@@ -84,6 +84,7 @@ Please make sure to keep this list up to date when adding and updating ports. :^
| [`libjpeg`](libjpeg/) | libjpeg | 9d | https://ijg.org/ |
| [`libmodplug`](libmodplug/) | libmodplug | 0.8.8.5 | http://modplug-xmms.sourceforge.net/ |
| [`libogg`](libogg/) | libogg | 1.3.5 | https://github.com/xiph/ogg |
+| [`liboggz`](liboggz/) | liboggz | 1.1.1 | https://www.xiph.org/oggz/ |
| [`libopenal`](libopenal/) | OpenAL soft | 1.21.1 | https://openal-soft.org/ |
| [`libphysfs`](libphysfs/) | PhysicsFS | 3.0.2 | https://icculus.org/physfs/ |
| [`libpng`](libpng/) | libpng | 1.6.37 | https://libpng.org/ |
diff --git a/Ports/liboggz/package.sh b/Ports/liboggz/package.sh
new file mode 100755
index 0000000000..cf3ba58fc1
--- /dev/null
+++ b/Ports/liboggz/package.sh
@@ -0,0 +1,7 @@
+#!/usr/bin/env -S bash ../.port_include.sh
+port=liboggz
+version=1.1.1
+useconfigure=true
+files="https://downloads.xiph.org/releases/liboggz/liboggz-${version}.tar.gz liboggz-${version}.tar.gz 6bafadb1e0a9ae4ac83304f38621a5621b8e8e32927889e65a98706d213d415a"
+auth_type=sha256
+depends=("libogg")
diff --git a/Ports/liboggz/patches/configure.patch b/Ports/liboggz/patches/configure.patch
new file mode 100644
index 0000000000..08109f3b44
--- /dev/null
+++ b/Ports/liboggz/patches/configure.patch
@@ -0,0 +1,11 @@
+--- liboggz-1.1.1/config.sub.orig 2022-01-05 23:56:43.372206851 +0100
++++ liboggz-1.1.1/config.sub 2022-01-05 23:57:54.265540213 +0100
+@@ -1266,7 +1266,7 @@
+ # The portable systems comes first.
+ # Each alternative MUST END IN A *, to match a version number.
+ # -sysv* is not here because it comes later, after sysvr4.
+- -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
++ -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -serenity* | -irix* \
+ | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
+ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
+ | -kopensolaris* \