2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl, meson, ninja, pkg-config, vala, gtk-doc, docbook_xsl, docbook_xml_dtd_412, glib, gdk-pixbuf, gobject-introspection, gnome3, fetchpatch }:
|
2016-09-18 20:35:23 +01:00
|
|
|
|
2018-12-25 17:01:39 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2018-03-03 05:18:12 +00:00
|
|
|
pname = "libmediaart";
|
|
|
|
version = "1.9.4";
|
2018-12-25 17:01:39 +00:00
|
|
|
|
|
|
|
outputs = [ "out" "dev" "devdoc" ];
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-01-21 17:00:13 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2017-12-03 23:27:25 +00:00
|
|
|
sha256 = "a57be017257e4815389afe4f58fdacb6a50e74fd185452b23a652ee56b04813d";
|
2016-09-18 20:35:23 +01:00
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ meson ninja pkg-config vala gtk-doc docbook_xsl docbook_xml_dtd_412 gobject-introspection ];
|
2019-05-22 12:03:39 +01:00
|
|
|
buildInputs = [ glib gdk-pixbuf ];
|
2016-09-18 20:35:23 +01:00
|
|
|
|
2019-10-04 13:44:07 +01:00
|
|
|
patches = [
|
|
|
|
# https://bugzilla.gnome.org/show_bug.cgi?id=792272
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://gitlab.gnome.org/GNOME/libmediaart/commit/a704d0b6cfea091274bd79aca6d15f19b4f6e5b5.patch";
|
|
|
|
sha256 = "0606qfmdqxcxrydv1fgwq11hmas34ba4a5kzbbqdhfh0h9ldgwkv";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2019-01-10 07:06:55 +00:00
|
|
|
# FIXME: Turn on again when https://github.com/NixOS/nixpkgs/issues/53701
|
|
|
|
# is fixed on master.
|
|
|
|
doCheck = false;
|
2018-12-25 17:01:39 +00:00
|
|
|
|
2018-03-03 05:18:12 +00:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
versionPolicy = "none";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2016-09-18 20:35:23 +01:00
|
|
|
description = "Library tasked with managing, extracting and handling media art caches";
|
2020-04-01 13:40:51 +01:00
|
|
|
maintainers = teams.gnome.members;
|
2016-09-18 20:35:23 +01:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|