2021-10-14 20:48:14 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchurl
|
|
|
|
, meson
|
2022-08-06 22:48:42 +00:00
|
|
|
, mesonEmulatorHook
|
2021-10-14 20:48:14 +00:00
|
|
|
, ninja
|
|
|
|
, pkg-config
|
2023-05-10 07:43:54 +00:00
|
|
|
, python3
|
2021-10-14 20:48:14 +00:00
|
|
|
, gettext
|
|
|
|
, vala
|
|
|
|
, glib
|
|
|
|
, liboauth
|
|
|
|
, gtk3
|
|
|
|
, gtk-doc
|
|
|
|
, docbook-xsl-nons
|
|
|
|
, docbook_xml_dtd_43
|
|
|
|
, libxml2
|
|
|
|
, gnome
|
|
|
|
, gobject-introspection
|
2022-08-16 19:27:24 +00:00
|
|
|
, libsoup_3
|
2021-10-14 20:48:14 +00:00
|
|
|
, totem-pl-parser
|
|
|
|
}:
|
2016-09-18 19:35:23 +00:00
|
|
|
|
2021-10-14 20:48:14 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2018-03-03 06:09:13 +00:00
|
|
|
pname = "grilo";
|
2023-05-10 07:43:54 +00:00
|
|
|
version = "0.3.16"; # if you change minor, also change ./setup-hook.sh
|
2016-09-18 19:35:23 +00:00
|
|
|
|
2018-06-18 01:59:02 +00:00
|
|
|
outputs = [ "out" "dev" "man" "devdoc" ];
|
|
|
|
outputBin = "dev";
|
|
|
|
|
2021-10-14 20:48:14 +00:00
|
|
|
setupHook = ./setup-hook.sh;
|
|
|
|
|
2016-09-18 19:35:23 +00:00
|
|
|
src = fetchurl {
|
2021-10-14 20:48:14 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2023-05-10 07:43:54 +00:00
|
|
|
sha256 = "iEWA6MXs4oDfI6pj/1I0t9SJiKQE331r/M0ed7RzvZY=";
|
2016-09-18 19:35:23 +00:00
|
|
|
};
|
|
|
|
|
2018-11-20 19:34:13 +00:00
|
|
|
mesonFlags = [
|
2019-09-15 02:05:16 +00:00
|
|
|
"-Denable-gtk-doc=true"
|
2019-07-19 02:50:02 +00:00
|
|
|
];
|
|
|
|
|
2018-06-18 01:59:02 +00:00
|
|
|
nativeBuildInputs = [
|
2021-10-14 20:48:14 +00:00
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
2023-05-10 07:43:54 +00:00
|
|
|
python3
|
2021-10-14 20:48:14 +00:00
|
|
|
gettext
|
|
|
|
gobject-introspection
|
|
|
|
vala
|
|
|
|
gtk-doc
|
|
|
|
docbook-xsl-nons
|
|
|
|
docbook_xml_dtd_43
|
2022-08-06 22:48:42 +00:00
|
|
|
] ++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
|
|
|
|
mesonEmulatorHook
|
2021-10-14 20:48:14 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
glib
|
|
|
|
liboauth
|
|
|
|
gtk3
|
|
|
|
libxml2
|
2022-08-16 19:27:24 +00:00
|
|
|
libsoup_3
|
2021-10-14 20:48:14 +00:00
|
|
|
totem-pl-parser
|
2018-06-18 01:59:02 +00:00
|
|
|
];
|
2016-09-18 19:35:23 +00:00
|
|
|
|
2018-03-03 06:09:13 +00:00
|
|
|
passthru = {
|
2021-05-07 21:18:14 +00:00
|
|
|
updateScript = gnome.updateScript {
|
2018-03-03 06:09:13 +00:00
|
|
|
packageName = pname;
|
|
|
|
versionPolicy = "none";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://wiki.gnome.org/Projects/Grilo";
|
2016-09-18 19:35:23 +00:00
|
|
|
description = "Framework that provides access to various sources of multimedia content, using a pluggable system";
|
2020-04-01 12:40:51 +00:00
|
|
|
maintainers = teams.gnome.members;
|
2021-10-14 20:48:14 +00:00
|
|
|
license = licenses.lgpl2Plus;
|
2022-11-14 13:23:30 +00:00
|
|
|
platforms = platforms.unix;
|
2016-09-18 19:35:23 +00:00
|
|
|
};
|
|
|
|
}
|