diff options
author | Alexander <electrodeyt@gmail.com> | 2021-04-01 00:12:26 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-04-01 08:28:20 +0200 |
commit | 86ecbd809fd5282b8d5a2bd37e98e7ed83a8df04 (patch) | |
tree | 9e1c7744ed725e54be5ed2f9faf619da1a68c34d /Ports/libvorbis | |
parent | 1ea8d73628e64b49326247ed049a7607facc195f (diff) | |
download | serenity-86ecbd809fd5282b8d5a2bd37e98e7ed83a8df04.zip |
Ports: add libvorbis
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*) |