summaryrefslogtreecommitdiff
path: root/media/libtheora/update.sh
diff options
context:
space:
mode:
Diffstat (limited to 'media/libtheora/update.sh')
-rwxr-xr-x[-rw-r--r--]media/libtheora/update.sh14
1 files changed, 4 insertions, 10 deletions
diff --git a/media/libtheora/update.sh b/media/libtheora/update.sh
index e1a95425a6..acfde68922 100644..100755
--- a/media/libtheora/update.sh
+++ b/media/libtheora/update.sh
@@ -2,6 +2,9 @@
#
# 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 \
@@ -19,14 +22,11 @@ sed \
cp $1/LICENSE ./LICENSE
cp $1/CHANGES ./CHANGES
cp $1/COPYING ./COPYING
-cp $1/README ./README
+cp $1/README.md ./README.md
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,11 +76,5 @@ 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