gecko/media/libsydneyaudio/update.sh
Matthew Gregan 89ceb5ea4b Bug 495558 - Initialize sydneyaudio/ALSA with host endian format (fixes sound on big endian machines). r=chris.double
--HG--
extra : rebase_source : d2635e23f0e65a7e9db397d54f998610fa2348f6
2009-09-07 14:44:39 +12:00

14 lines
490 B
Bash

# Usage: ./update.sh <oggplay_src_directory>
#
# Copies the needed files from a directory containing the original
# liboggplay source that we need for the Mozilla HTML5 media support.
cp $1/include/sydney_audio.h include/sydney_audio.h
cp $1/src/*.c src/
cp $1/AUTHORS ./AUTHORS
patch -p4 <pause-resume.patch
patch -p4 <include-CoreServices.patch
patch -p4 <sydney_os2_base.patch
patch -p4 <sydney_os2_moz.patch
patch -p3 <bug495794_closeAudio.patch
patch -p3 < bug495558_alsa_endian.patch