media/libogg/update.sh

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/media/libogg/update.sh	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,18 @@
     1.4 +# Usage: ./update.sh <ogg_src_directory>
     1.5 +#
     1.6 +# Copies the needed files from a directory containing the original
     1.7 +# libogg source that we need for the Mozilla HTML5 media support.
     1.8 +cp $1/include/ogg/config_types.h ./include/ogg/config_types.h
     1.9 +cp $1/include/ogg/ogg.h ./include/ogg/ogg.h
    1.10 +cp $1/include/ogg/os_types.h ./include/ogg/os_types.h
    1.11 +cp $1/CHANGES ./CHANGES
    1.12 +cp $1/COPYING ./COPYING
    1.13 +cp $1/README ./README
    1.14 +cp $1/src/bitwise.c ./src/ogg_bitwise.c
    1.15 +cp $1/src/framing.c ./src/ogg_framing.c
    1.16 +cp $1/AUTHORS ./AUTHORS
    1.17 +patch -p0 < solaris-types.patch
    1.18 +# memory-reporting.patch adds ogg_alloc.c, make sure it doesn't exist to avoid
    1.19 +# unpleasantries.
    1.20 +rm -f ./src/ogg_alloc.c
    1.21 +patch -p0 < memory-reporting.patch
    1.22 \ No newline at end of file

mercurial