From ea90a1ebac85b3aa84f1daf8193e9b248a74980e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Babiarz?= <5783815+sauler@users.noreply.github.com> Date: Thu, 6 Jan 2022 00:11:53 +0100 Subject: [PATCH] Ports: Add liboggz port --- Ports/AvailablePorts.md | 1 + Ports/liboggz/package.sh | 7 +++++++ Ports/liboggz/patches/configure.patch | 11 +++++++++++ 3 files changed, 19 insertions(+) create mode 100755 Ports/liboggz/package.sh create mode 100644 Ports/liboggz/patches/configure.patch 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* \