1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-29 15:07:45 +00:00

Ports: Add libogg

This library will allow us to port more multimedia programs and games,
since it's a common dependency of such projects. I was looking at
Scummvm's dependencies in particular, with a goal of porting them all
eventually, so that we can have Myst running in Serenity!
This commit is contained in:
AnicJov 2021-03-08 16:04:27 +01:00 committed by Andreas Kling
parent 389dddd4b3
commit 68f2ef1097
3 changed files with 19 additions and 0 deletions

6
Ports/libogg/package.sh Normal file
View file

@ -0,0 +1,6 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=libogg
version=1.3.4
useconfigure=true
files="https://github.com/xiph/ogg/releases/download/v${version}/libogg-${version}.tar.gz libogg-${version}.tar.gz"
workdir="libogg-${version}"

View file

@ -0,0 +1,12 @@
diff -ru libogg-1.3.4/config.sub libogg-1.3.4-patched/config.sub
--- libogg-1.3.4/config.sub 2021-03-08 15:40:56.932153900 +0100
+++ libogg-1.3.4-patched/config.sub 2021-03-08 15:40:43.633856800 +0100
@@ -1333,7 +1333,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* | esix* | aix* | cnk* | sunos | sunos[34]*\
| hpux* | unos* | osf* | luna* | dgux* | auroraux* | solaris* \
| sym* | kopensolaris* | plan9* \