[notify] firefox: enable gstreamer support.

This port is now prepared for html5 video via the gstreamer framework.
Two new ports have been added as dependencies:

gstreamer
gst-plugins-base

For full support you will also need to install gst-plugins-good and
gst-libav. These ports can be added at a later date without having to
rebuild gstreamer or firefox. See the README for more (the same) info
and feel free to contact me with any issues.
This commit is contained in:
Fredrik Rinnestam 2015-07-20 17:30:32 +02:00
parent ba736c6560
commit 91cfed8c91
3 changed files with 18 additions and 5 deletions

View File

@ -143,6 +143,10 @@ drwxr-xr-x root/root usr/include/firefox/
-rw-r--r-- root/root usr/include/firefox/GMPVideoHost.h
-rw-r--r-- root/root usr/include/firefox/GMPVideoPlaneImpl.h
-rw-r--r-- root/root usr/include/firefox/GMPVideoi420FrameImpl.h
-rw-r--r-- root/root usr/include/firefox/GStreamerDecoder.h
-rw-r--r-- root/root usr/include/firefox/GStreamerFormatHelper.h
-rw-r--r-- root/root usr/include/firefox/GStreamerLoader.h
-rw-r--r-- root/root usr/include/firefox/GStreamerReader.h
-rw-r--r-- root/root usr/include/firefox/GeckoProfiler.h
-rw-r--r-- root/root usr/include/firefox/GeckoProfilerFunc.h
-rw-r--r-- root/root usr/include/firefox/GeckoProfilerImpl.h

View File

@ -1,11 +1,11 @@
# Description: The Mozilla Firefox browser
# URL: http://www.mozilla.com/firefox/
# Maintainer: Fredrik Rinnestam, fredrik at crux dot nu
# Depends on: nss, libidl, gtk, python, alsa-lib, yasm, mesa3d
# Depends on: nss, libidl, gtk, python, alsa-lib, xorg-libxt, yasm, mesa3d, gst-plugins-base
name=firefox
version=39.0
release=1
release=2
source=(http://ftp.mozilla.org/pub/firefox/releases/$version/source/firefox-$version.source.tar.bz2
firefox-install-dir.patch firefox.desktop)
@ -31,6 +31,7 @@ cat <<- EOF > .mozconfig
ac_add_options --with-pthreads
ac_add_options --enable-optimize="$CFLAGS"
ac_add_options --enable-official-branding
ac_add_options --with-distribution-id=nu.crux
ac_add_options --enable-extensions=default,-gnomevfs
ac_add_options --enable-shared
ac_add_options --enable-svg
@ -42,7 +43,8 @@ cat <<- EOF > .mozconfig
ac_add_options --enable-places_bookmarks
ac_add_options --enable-image-encoder=all
ac_add_options --enable-xft
ac_add_options --disable-static
ac_add_options --enable-gstreamer=1.0
ac_add_options --enable-pic
ac_add_options --disable-tests
ac_add_options --disable-mochitest
ac_add_options --disable-dbus
@ -57,9 +59,7 @@ cat <<- EOF > .mozconfig
ac_add_options --disable-crashreporter
ac_add_options --disable-necko-wifi
ac_add_options --disable-libnotify
ac_add_options --disable-gstreamer
ac_add_options --disable-pulseaudio
ac_add_options --enable-pic
EOF
make -f client.mk build

9
firefox/README Normal file
View File

@ -0,0 +1,9 @@
For html5 video and h.264 support you will need to install the additional ports:
gst-plugins-good
gst-libav
Depending on what version of firefox in use, you may also need to play around
with the about:config options:
media.mediasource.*