summaryrefslogtreecommitdiff
path: root/media/libtheora/update.sh
diff options
context:
space:
mode:
Diffstat (limited to 'media/libtheora/update.sh')
-rw-r--r--[-rwxr-xr-x]media/libtheora/update.sh14
1 files changed, 10 insertions, 4 deletions
diff --git a/media/libtheora/update.sh b/media/libtheora/update.sh
index acfde68922..e1a95425a6 100755..100644
--- a/media/libtheora/update.sh
+++ b/media/libtheora/update.sh
@@ -2,9 +2,6 @@
#
# Copies the needed files from a directory containing the original
# libtheora source that we need for the Mozilla HTML5 media support.
-
-mkdir -p include/theora lib lib/arm lib/x86 lib/x86_vc
-
sed \
-e s/\#define\ OC_X86_ASM//g \
-e s/\#define\ OC_X86_64_ASM//g \
@@ -22,11 +19,14 @@ sed \
cp $1/LICENSE ./LICENSE
cp $1/CHANGES ./CHANGES
cp $1/COPYING ./COPYING
-cp $1/README.md ./README.md
+cp $1/README ./README
cp $1/AUTHORS ./AUTHORS
+cp $1/lib/apiwrapper.c ./lib/
+cp $1/lib/apiwrapper.h ./lib/
cp $1/lib/bitpack.c ./lib/
cp $1/lib/bitpack.h ./lib/
cp $1/lib/dct.h ./lib/
+cp $1/lib/decapiwrapper.c ./lib/
cp $1/lib/decinfo.c ./lib/
cp $1/lib/decint.h ./lib/
cp $1/lib/decode.c ./lib/
@@ -76,5 +76,11 @@ cp $1/lib/x86_vc/x86int.h ./lib/x86_vc/
cp $1/lib/x86_vc/x86state.c ./lib/x86_vc/
cp $1/include/theora/theora.h ./include/theora/theora.h
cp $1/include/theora/theoradec.h ./include/theora/theoradec.h
+cp $1/include/theora/theoraenc.h ./include/theora/theoraenc.h
cp $1/include/theora/codec.h ./include/theora/codec.h
+patch -p3 < ./bug625773-r17780.patch
+patch -p3 < ./bug468275-r18219.patch
+patch -p3 < ./bug752139-r18031.patch
+patch -p3 < ./bug752668-r18268.patch
patch -p3 < ./bug703135.patch
+patch -p3 < ./bug920992.patch