Commit 725ef5e4 authored by Orson Teodoro's avatar Orson Teodoro Committed by Natanael Copa

testing/firefox: add H.264 support with ffmpeg for YouTube live streams and...

testing/firefox: add H.264 support with ffmpeg for YouTube live streams and some Internet radio stations
parent 429d18eb
......@@ -20,6 +20,7 @@ makedepends="
cargo
clang-dev
dbus-glib-dev
ffmpeg-dev
gconf-dev
gtk+2.0-dev
gtk+3.0-dev
......@@ -92,6 +93,12 @@ prepare() {
cp "$srcdir"/stab.h toolkit/crashreporter/google-breakpad/src/
# https://bugzilla.mozilla.org/show_bug.cgi?id=1341234
echo "ac_add_options BINDGEN_CFLAGS='-I/usr/include/nspr -I/usr/include/pixman-1'" >>.mozconfig
for f in $(grep -l -r -e "use std::ascii::AsciiExt;" "${srcdir}/firefox-$pkgver/servo/components/style/"); do
msg "Patching $f"
sed -i -e 's|#[allow(unused_imports)] use std::ascii::AsciiExt;|use std::ascii::AsciiExt;|g' \
-e 's|use std::ascii::AsciiExt;|#[allow(unused_imports)] use std::ascii::AsciiExt;|g' "${f}" || return 1
done
}
build() {
......@@ -130,6 +137,7 @@ build() {
--enable-system-ffi \
--enable-system-hunspell \
--enable-system-sqlite \
--enable-ffmpeg \
\
--with-pthreads \
--with-system-bz2 \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment