2021-10-17 02:12:59 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchurl
|
|
|
|
, meson
|
2022-09-30 11:47:45 +00:00
|
|
|
, mesonEmulatorHook
|
2021-10-17 02:12:59 +00:00
|
|
|
, ninja
|
|
|
|
, pkg-config
|
|
|
|
, gettext
|
|
|
|
, vala
|
|
|
|
, glib
|
|
|
|
, liboauth
|
|
|
|
, gtk3
|
|
|
|
, gtk-doc
|
|
|
|
, docbook-xsl-nons
|
|
|
|
, docbook_xml_dtd_43
|
|
|
|
, libxml2
|
|
|
|
, gnome
|
|
|
|
, gobject-introspection
|
2022-10-21 18:38:19 +00:00
|
|
|
, libsoup_3
|
2021-10-17 02:12:59 +00:00
|
|
|
, totem-pl-parser
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-10-17 02:12:59 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "grilo";
|
2022-10-21 18:38:19 +00:00
|
|
|
version = "0.3.15"; # if you change minor, also change ./setup-hook.sh
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
outputs = [ "out" "dev" "man" "devdoc" ];
|
|
|
|
outputBin = "dev";
|
|
|
|
|
2021-10-17 02:12:59 +00:00
|
|
|
setupHook = ./setup-hook.sh;
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchurl {
|
2021-10-17 02:12:59 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2022-10-21 18:38:19 +00:00
|
|
|
sha256 = "81Ks9zZlZpk0JwY2/t5mtS2mgB/iD2OMQEirJnhXey0=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
mesonFlags = [
|
|
|
|
"-Denable-gtk-doc=true"
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2021-10-17 02:12:59 +00:00
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
|
|
|
gettext
|
|
|
|
gobject-introspection
|
|
|
|
vala
|
|
|
|
gtk-doc
|
|
|
|
docbook-xsl-nons
|
|
|
|
docbook_xml_dtd_43
|
2022-09-30 11:47:45 +00:00
|
|
|
] ++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
|
|
|
|
mesonEmulatorHook
|
2021-10-17 02:12:59 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
glib
|
|
|
|
liboauth
|
|
|
|
gtk3
|
|
|
|
libxml2
|
2022-10-21 18:38:19 +00:00
|
|
|
libsoup_3
|
2021-10-17 02:12:59 +00:00
|
|
|
totem-pl-parser
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
passthru = {
|
2021-05-20 23:08:51 +00:00
|
|
|
updateScript = gnome.updateScript {
|
2020-04-24 23:36:52 +00:00
|
|
|
packageName = pname;
|
|
|
|
versionPolicy = "none";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://wiki.gnome.org/Projects/Grilo";
|
|
|
|
description = "Framework that provides access to various sources of multimedia content, using a pluggable system";
|
|
|
|
maintainers = teams.gnome.members;
|
2021-10-17 02:12:59 +00:00
|
|
|
license = licenses.lgpl2Plus;
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|