grilo: 0.3.13 → 0.3.14
This commit is contained in:
parent
075483973b
commit
50eac60da0
@ -1,40 +1,62 @@
|
|||||||
{ lib, stdenv, fetchurl, fetchpatch, meson, ninja, pkg-config, gettext, vala, glib, liboauth, gtk3
|
{ stdenv
|
||||||
, gtk-doc, docbook_xsl, docbook_xml_dtd_43
|
, lib
|
||||||
, libxml2, gnome, gobject-introspection, libsoup, totem-pl-parser }:
|
, fetchurl
|
||||||
|
, meson
|
||||||
|
, ninja
|
||||||
|
, pkg-config
|
||||||
|
, gettext
|
||||||
|
, vala
|
||||||
|
, glib
|
||||||
|
, liboauth
|
||||||
|
, gtk3
|
||||||
|
, gtk-doc
|
||||||
|
, docbook-xsl-nons
|
||||||
|
, docbook_xml_dtd_43
|
||||||
|
, libxml2
|
||||||
|
, gnome
|
||||||
|
, gobject-introspection
|
||||||
|
, libsoup
|
||||||
|
, totem-pl-parser
|
||||||
|
}:
|
||||||
|
|
||||||
let
|
stdenv.mkDerivation rec {
|
||||||
pname = "grilo";
|
pname = "grilo";
|
||||||
version = "0.3.13"; # if you change minor, also change ./setup-hook.sh
|
version = "0.3.14"; # if you change minor, also change ./setup-hook.sh
|
||||||
in stdenv.mkDerivation rec {
|
|
||||||
name = "${pname}-${version}";
|
|
||||||
|
|
||||||
outputs = [ "out" "dev" "man" "devdoc" ];
|
outputs = [ "out" "dev" "man" "devdoc" ];
|
||||||
outputBin = "dev";
|
outputBin = "dev";
|
||||||
|
|
||||||
src = fetchurl {
|
|
||||||
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${name}.tar.xz";
|
|
||||||
sha256 = "0ywjvh7xw4ql1q4fvl0q5n06n08pga1g1nc9l7c3x5214gr3fj6i";
|
|
||||||
};
|
|
||||||
|
|
||||||
patches = [
|
|
||||||
(fetchpatch {
|
|
||||||
name = "CVE-2021-39365.patch";
|
|
||||||
url = "https://gitlab.gnome.org/GNOME/grilo/-/commit/cd2472e506dafb1bb8ae510e34ad4797f63e263e.patch";
|
|
||||||
sha256 = "1i1p21vlms43iawg4dl1dibnpsbnkx27kcfvllnx76q07bfrpwzm";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
setupHook = ./setup-hook.sh;
|
setupHook = ./setup-hook.sh;
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||||
|
sha256 = "A2nQsAuw9Zul966oz8Zl843xSltBgtKMfB4s0VtRh0M=";
|
||||||
|
};
|
||||||
|
|
||||||
mesonFlags = [
|
mesonFlags = [
|
||||||
"-Denable-gtk-doc=true"
|
"-Denable-gtk-doc=true"
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
meson ninja pkg-config gettext gobject-introspection vala
|
meson
|
||||||
gtk-doc docbook_xsl docbook_xml_dtd_43
|
ninja
|
||||||
|
pkg-config
|
||||||
|
gettext
|
||||||
|
gobject-introspection
|
||||||
|
vala
|
||||||
|
gtk-doc
|
||||||
|
docbook-xsl-nons
|
||||||
|
docbook_xml_dtd_43
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
glib
|
||||||
|
liboauth
|
||||||
|
gtk3
|
||||||
|
libxml2
|
||||||
|
libsoup
|
||||||
|
totem-pl-parser
|
||||||
];
|
];
|
||||||
buildInputs = [ glib liboauth gtk3 libxml2 libsoup totem-pl-parser ];
|
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateScript = gnome.updateScript {
|
updateScript = gnome.updateScript {
|
||||||
@ -47,7 +69,7 @@ in stdenv.mkDerivation rec {
|
|||||||
homepage = "https://wiki.gnome.org/Projects/Grilo";
|
homepage = "https://wiki.gnome.org/Projects/Grilo";
|
||||||
description = "Framework that provides access to various sources of multimedia content, using a pluggable system";
|
description = "Framework that provides access to various sources of multimedia content, using a pluggable system";
|
||||||
maintainers = teams.gnome.members;
|
maintainers = teams.gnome.members;
|
||||||
license = licenses.lgpl2;
|
license = licenses.lgpl2Plus;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user