grilo: add darwin support

This commit is contained in:
Weijia Wang 2022-11-14 14:23:30 +01:00
parent 0b5f3feddf
commit bd2baae6d1
4 changed files with 12 additions and 4 deletions

View File

@ -58,7 +58,7 @@ stdenv.mkDerivation rec {
description = "A GObject to SQLite object mapper";
homepage = "https://wiki.gnome.org/Projects/Gom";
license = licenses.lgpl21Plus;
platforms = platforms.linux;
platforms = platforms.unix;
maintainers = teams.gnome.members;
};
}

View File

@ -94,6 +94,6 @@ stdenv.mkDerivation rec {
description = "A collection of plugins for the Grilo framework";
maintainers = teams.gnome.members;
license = licenses.lgpl21Plus;
platforms = platforms.linux;
platforms = platforms.unix;
};
}

View File

@ -1,6 +1,7 @@
{ stdenv
, lib
, fetchurl
, fetchpatch
, meson
, mesonEmulatorHook
, ninja
@ -34,6 +35,13 @@ stdenv.mkDerivation rec {
sha256 = "81Ks9zZlZpk0JwY2/t5mtS2mgB/iD2OMQEirJnhXey0=";
};
patches = [
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/grilo/-/commit/b0d75be00b06cb0163dabbedecf9122a55273349.patch";
sha256 = "sha256-Hwnc3TLN6n3w/MAFcprHv7nbTcwRfI0cmfDriNLnAvQ=";
})
];
mesonFlags = [
"-Denable-gtk-doc=true"
];
@ -73,6 +81,6 @@ stdenv.mkDerivation rec {
description = "Framework that provides access to various sources of multimedia content, using a pluggable system";
maintainers = teams.gnome.members;
license = licenses.lgpl2Plus;
platforms = platforms.linux;
platforms = platforms.unix;
};
}

View File

@ -33,6 +33,6 @@ stdenv.mkDerivation rec {
description = "Library tasked with managing, extracting and handling media art caches";
maintainers = teams.gnome.members;
license = licenses.gpl2;
platforms = platforms.linux;
platforms = platforms.unix;
};
}