From 446aa6834aae0c585a94688247608458a0f93e4b Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Sun, 12 Feb 2017 21:14:09 +0100 Subject: [PATCH] subtitle-editor: fix build Apply Debian patch that makes the project build with later GStreamer versions. --- pkgs/applications/video/subtitleeditor/default.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/video/subtitleeditor/default.nix b/pkgs/applications/video/subtitleeditor/default.nix index 3f8f683e0ca9..88768b3cb8f6 100644 --- a/pkgs/applications/video/subtitleeditor/default.nix +++ b/pkgs/applications/video/subtitleeditor/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, pkgconfig, intltool, file, desktop_file_utils, +{ stdenv, fetchurl, fetchpatch, pkgconfig, intltool, file, desktop_file_utils, enchant, gnome3, gst_all_1, hicolor_icon_theme, libsigcxx, libxmlxx, xdg_utils, isocodes, wrapGAppsHook }: @@ -16,6 +16,13 @@ stdenv.mkDerivation rec { sha256 = "087rxignjawby4z3lwnh9m6pcjphl3a0jf7gfp83h92mzcq79b4g"; }; + patches = [ + (fetchpatch { + url = "https://sources.debian.net/data/main/s/subtitleeditor/0.53.0-2/debian/patches/03-fix-build-gstreamermm-1.8.0.patch"; + sha256 = "0di2i34id5dqnd3glibhifair1kdfnv8ay3k64lirad726ardw2c"; + }) + ]; + nativeBuildInputs = [ pkgconfig intltool