/media/libogg/update.sh

http://github.com/zpao/v8monkey · Shell · 14 lines · 10 code · 0 blank · 4 comment · 0 complexity · 07cce5b168d761b1e7a32ffecf0c10c3 MD5 · raw file

  1. # Usage: ./update.sh <ogg_src_directory>
  2. #
  3. # Copies the needed files from a directory containing the original
  4. # libogg source that we need for the Mozilla HTML5 media support.
  5. cp $1/include/ogg/config_types.h ./include/ogg/config_types.h
  6. cp $1/include/ogg/ogg.h ./include/ogg/ogg.h
  7. cp $1/include/ogg/os_types.h ./include/ogg/os_types.h
  8. cp $1/CHANGES ./CHANGES
  9. cp $1/COPYING ./COPYING
  10. cp $1/README ./README
  11. cp $1/src/bitwise.c ./src/ogg_bitwise.c
  12. cp $1/src/framing.c ./src/ogg_framing.c
  13. cp $1/AUTHORS ./AUTHORS
  14. patch -p0 < solaris-types.patch