ports/opt (3.1): [notify] firefox: enable gstreamer support.
commit 91cfed8c917172836a19141f61ca667ea5dabc9c Author: Fredrik Rinnestam <fredrik@crux.nu> Date: Mon Jul 20 17:30:32 2015 +0200 [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. diff --git a/firefox/.footprint b/firefox/.footprint index f75b60b..faaeb44 100644 --- a/firefox/.footprint +++ b/firefox/.footprint @@ -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 diff --git a/firefox/Pkgfile b/firefox/Pkgfile index bfb1b3d..12a24ea 100644 --- a/firefox/Pkgfile +++ b/firefox/Pkgfile @@ -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... 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 diff --git a/firefox/README b/firefox/README new file mode 100644 index 0000000..1863939 --- /dev/null +++ b/firefox/README @@ -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.*
participants (1)
-
crux@crux.nu