subtitle-editor: fix build

Apply Debian patch that makes the project build with later GStreamer
versions.
This commit is contained in:
Robert Helgesson 2017-02-12 21:14:09 +01:00
parent 2dba30af72
commit 446aa6834a
No known key found for this signature in database
GPG key ID: C3DB11069E65DC86

View file

@ -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