mirror of
https://github.com/levogevo/ffmpeg-builder.git
synced 2026-01-15 19:06:17 +00:00
add libvpx/vorbis
This commit is contained in:
24
patches/libvorbis/add-lm-to-pc.patch
Normal file
24
patches/libvorbis/add-lm-to-pc.patch
Normal file
@@ -0,0 +1,24 @@
|
||||
diff --git a/vorbis.pc.in b/vorbis.pc.in
|
||||
index f5ca77d..50cad9e 100644
|
||||
--- a/vorbis.pc.in
|
||||
+++ b/vorbis.pc.in
|
||||
@@ -10,6 +10,6 @@ Description: vorbis is the primary Ogg Vorbis library
|
||||
Version: @VERSION@
|
||||
Requires.private: ogg
|
||||
Conflicts:
|
||||
-Libs: -L${libdir} -lvorbis
|
||||
-Libs.private: @VORBIS_LIBS@
|
||||
+Libs: -L${libdir} -lvorbis
|
||||
+Libs.private: @VORBIS_LIBS@ -lm
|
||||
Cflags: -I${includedir}
|
||||
diff --git a/vorbisenc.pc.in b/vorbisenc.pc.in
|
||||
index a412b7a..4222daf 100644
|
||||
--- a/vorbisenc.pc.in
|
||||
+++ b/vorbisenc.pc.in
|
||||
@@ -10,5 +10,5 @@ Description: vorbisenc is a library that provides a convenient API for setting u
|
||||
Version: @VERSION@
|
||||
Requires.private: vorbis
|
||||
Conflicts:
|
||||
-Libs: -L${libdir} -lvorbisenc
|
||||
+Libs: -L${libdir} -lvorbisenc -lm
|
||||
Cflags: -I${includedir}
|
||||
13
patches/libvpx/ignore-unknown-configure-options.patch
Normal file
13
patches/libvpx/ignore-unknown-configure-options.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
diff --git a/build/make/configure.sh b/build/make/configure.sh
|
||||
index cc5bf6c..c229965 100644
|
||||
--- a/build/make/configure.sh
|
||||
+++ b/build/make/configure.sh
|
||||
@@ -16,8 +16,6 @@
|
||||
die_unknown(){
|
||||
echo "Unknown option \"$1\"."
|
||||
echo "See $0 --help for available options."
|
||||
- clean_temp_files
|
||||
- exit 1
|
||||
}
|
||||
|
||||
die() {
|
||||
Reference in New Issue
Block a user