From 70daeea1c01e1531135db8cab53dc2dbee376e8c Mon Sep 17 00:00:00 2001 From: Nikolay Korotkiy Date: Wed, 29 Jun 2022 21:08:03 +0300 Subject: [PATCH] surf: enable audio & video support --- .../networking/browsers/surf/default.nix | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/browsers/surf/default.nix b/pkgs/applications/networking/browsers/surf/default.nix index c79aa1d6f1d6..6573821d0598 100644 --- a/pkgs/applications/networking/browsers/surf/default.nix +++ b/pkgs/applications/networking/browsers/surf/default.nix @@ -1,7 +1,7 @@ { lib, stdenv, fetchgit , pkg-config, wrapGAppsHook , glib, gcr, glib-networking, gsettings-desktop-schemas, gtk, libsoup, webkitgtk -, xorg, dmenu, findutils, gnused, coreutils +, xorg, dmenu, findutils, gnused, coreutils, gst_all_1 , patches ? null }: @@ -17,7 +17,21 @@ stdenv.mkDerivation rec { }; nativeBuildInputs = [ pkg-config wrapGAppsHook ]; - buildInputs = [ glib gcr glib-networking gsettings-desktop-schemas gtk libsoup webkitgtk ]; + buildInputs = [ + glib + gcr + glib-networking + gsettings-desktop-schemas + gtk + libsoup + webkitgtk + ] ++ (with gst_all_1; [ + # Audio & video support for webkitgtk WebView + gstreamer + gst-plugins-base + gst-plugins-good + gst-plugins-bad + ]); inherit patches;