diff options
Diffstat (limited to 'Ports/libvorbis')
-rwxr-xr-x | Ports/libvorbis/package.sh | 7 | ||||
-rw-r--r-- | Ports/libvorbis/patches/01-add-serenity-system.patch | 11 |
2 files changed, 18 insertions, 0 deletions
diff --git a/Ports/libvorbis/package.sh b/Ports/libvorbis/package.sh new file mode 100755 index 0000000000..7a47c1e467 --- /dev/null +++ b/Ports/libvorbis/package.sh @@ -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 diff --git a/Ports/libvorbis/patches/01-add-serenity-system.patch b/Ports/libvorbis/patches/01-add-serenity-system.patch new file mode 100644 index 0000000000..bc4aa117b5 --- /dev/null +++ b/Ports/libvorbis/patches/01-add-serenity-system.patch @@ -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*) |