libmediaart: apply patch to fix gnome-music crash

See https://bugzilla.gnome.org/show_bug.cgi?id=792272
This commit is contained in:
worldofpeace 2019-10-04 08:44:07 -04:00
parent 448bed5653
commit 85b7d89892

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, meson, ninja, pkgconfig, vala, gtk-doc, docbook_xsl, docbook_xml_dtd_412, glib, gdk-pixbuf, gobject-introspection, gnome3 }:
{ stdenv, fetchurl, meson, ninja, pkgconfig, vala, gtk-doc, docbook_xsl, docbook_xml_dtd_412, glib, gdk-pixbuf, gobject-introspection, gnome3, fetchpatch }:
stdenv.mkDerivation rec {
pname = "libmediaart";
@ -14,6 +14,14 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ meson ninja pkgconfig vala gtk-doc docbook_xsl docbook_xml_dtd_412 gobject-introspection ];
buildInputs = [ glib gdk-pixbuf ];
patches = [
# https://bugzilla.gnome.org/show_bug.cgi?id=792272
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/libmediaart/commit/a704d0b6cfea091274bd79aca6d15f19b4f6e5b5.patch";
sha256 = "0606qfmdqxcxrydv1fgwq11hmas34ba4a5kzbbqdhfh0h9ldgwkv";
})
];
# FIXME: Turn on again when https://github.com/NixOS/nixpkgs/issues/53701
# is fixed on master.
doCheck = false;