ports: Add libvorbis port
This commit is contained in:
parent
c9159b81c8
commit
fdc1daefb6
|
|
@ -0,0 +1,14 @@
|
|||
#!/bin/bash ../install.sh
|
||||
|
||||
NAME='libvorbis'
|
||||
VERSION='1.3.7'
|
||||
DOWNLOAD_URL="https://github.com/xiph/vorbis/releases/download/v$VERSION/libvorbis-$VERSION.tar.gz#0e982409a9c3fc82ee06e08205b1355e5c6aa4c36bca58146ef399621b0ce5ab"
|
||||
DEPENDENCIES=('libogg')
|
||||
CONFIG_SUB=('config.sub')
|
||||
|
||||
post_install() {
|
||||
# remove libtool files
|
||||
rm -f $BANAN_SYSROOT/usr/lib/libvorbis.la
|
||||
rm -f $BANAN_SYSROOT/usr/lib/libvorbisenc.la
|
||||
rm -f $BANAN_SYSROOT/usr/lib/libvorbisfile.la
|
||||
}
|
||||
|
|
@ -0,0 +1,41 @@
|
|||
diff -ruN libvorbis-1.3.7/configure libvorbis-1.3.7-banan_os/configure
|
||||
--- libvorbis-1.3.7/configure 2020-07-04 09:20:13.000000000 +0300
|
||||
+++ libvorbis-1.3.7-banan_os/configure 2025-10-31 22:34:50.365978022 +0200
|
||||
@@ -5772,6 +5772,10 @@
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
|
||||
+banan_os*)
|
||||
+ lt_cv_deplibs_check_method=pass_all
|
||||
+ ;;
|
||||
+
|
||||
beos*)
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
@@ -8886,6 +8890,9 @@
|
||||
fi
|
||||
;;
|
||||
|
||||
+ banan_os*)
|
||||
+ ;;
|
||||
+
|
||||
darwin* | rhapsody*)
|
||||
# PIC is the default on this platform
|
||||
# Common symbols not allowed in MH_DYLIB files
|
||||
@@ -11082,6 +11089,16 @@
|
||||
esac
|
||||
;;
|
||||
|
||||
+banan_os*)
|
||||
+ version_type=linux # correct to gnu/linux during the next big refactor
|
||||
+ need_lib_prefix=no
|
||||
+ need_version=no
|
||||
+ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
|
||||
+ soname_spec='$libname$release$shared_ext$major'
|
||||
+ dynamic_linker="$host_os DynamicLoader.so"
|
||||
+ shlibpath_var=LD_LIBRARY_PATH
|
||||
+ ;;
|
||||
+
|
||||
beos*)
|
||||
library_names_spec='$libname$shared_ext'
|
||||
dynamic_linker="$host_os ld.so"
|
||||
Loading…
Reference in New Issue