Ports: add libvorbis

This commit is contained in:
Alexander 2021-04-01 00:12:26 +02:00 committed by Andreas Kling
parent 1ea8d73628
commit 86ecbd809f
Notes: sideshowbarker 2024-07-18 20:55:29 +09:00
3 changed files with 19 additions and 0 deletions

View file

@ -44,6 +44,7 @@ Please make sure to keep this list up to date when adding and updating ports. :^
| [`libpng`](libpng/) | libpng | 1.6.37 | https://libpng.org/ |
| [`libpuffy`](libpuffy/) | libpuffy | 1.0 | https://github.com/ibara/libpuffy |
| [`libtiff`](libtiff/) | libtiff | 4.2.0 | http://www.libtiff.org/ |
| [`libvorbis`](libvorbis/) | libvorbis | 1.3.7 | https://github.com/xiph/vorbis |
| [`links`](links/) | Links web browser | 2.22 | http://links.twibright.com/ |
| [`lua`](lua/) | Lua | 5.3.5 | https://www.lua.org/ |
| [`m4`](m4/) | GNU M4 | 1.4.9 | https://www.gnu.org/software/m4/ |

7
Ports/libvorbis/package.sh Executable file
View file

@ -0,0 +1,7 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=libvorbis
version=1.3.7
useconfigure=true
configopts="--prefix=${SERENITY_BUILD_DIR}/Root/usr/local"
files="https://github.com/xiph/vorbis/releases/download/v${version}/libvorbis-${version}.tar.gz libvorbis-${version}.tar.gz"
depends=libogg

View file

@ -0,0 +1,11 @@
--- libvorbis-1.3.7/config.sub 2020-07-04 08:20:15.000000000 +0200
+++ libvorbis-1.3.7.patched/config.sub 2021-03-30 18:28:04.784175977 +0200
@@ -1390,7 +1390,7 @@
| -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*)