gupnp-dlna: clean up & add updateScript
This commit is contained in:
parent
21f198ff59
commit
e5e0d13224
@ -1,18 +1,40 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, gobject-introspection, vala, gtk-doc, docbook_xsl, docbook_xml_dtd_412, gupnp, gst_all_1 }:
|
{ stdenv
|
||||||
|
, fetchurl
|
||||||
|
, pkgconfig
|
||||||
|
, gobject-introspection
|
||||||
|
, vala
|
||||||
|
, gtk-doc
|
||||||
|
, docbook_xsl
|
||||||
|
, docbook_xml_dtd_412
|
||||||
|
, libxml2
|
||||||
|
, gst_all_1
|
||||||
|
, gnome3
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "gupnp-dlna-${version}";
|
pname = "gupnp-dlna";
|
||||||
version = "0.10.5";
|
version = "0.10.5";
|
||||||
|
|
||||||
outputs = [ "out" "dev" "devdoc" ];
|
outputs = [ "out" "dev" "devdoc" ];
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/gupnp-dlna/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "0spzd2saax7w776p5laixdam6d7smyynr9qszhbmq7f14y13cghj";
|
sha256 = "0spzd2saax7w776p5laixdam6d7smyynr9qszhbmq7f14y13cghj";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig gobject-introspection vala gtk-doc docbook_xsl docbook_xml_dtd_412 ];
|
nativeBuildInputs = [
|
||||||
buildInputs = [ gupnp gst_all_1.gst-plugins-base ];
|
pkgconfig
|
||||||
|
gobject-introspection
|
||||||
|
vala
|
||||||
|
gtk-doc
|
||||||
|
docbook_xsl
|
||||||
|
docbook_xml_dtd_412
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
libxml2
|
||||||
|
gst_all_1.gst-plugins-base
|
||||||
|
];
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--enable-gtk-doc"
|
"--enable-gtk-doc"
|
||||||
@ -25,6 +47,12 @@ stdenv.mkDerivation rec {
|
|||||||
patchShebangs tests/test-discoverer.sh.in
|
patchShebangs tests/test-discoverer.sh.in
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
updateScript = gnome3.updateScript {
|
||||||
|
packageName = pname;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://wiki.gnome.org/Projects/GUPnP/;
|
homepage = https://wiki.gnome.org/Projects/GUPnP/;
|
||||||
description = "Library to ease DLNA-related bits for applications using GUPnP";
|
description = "Library to ease DLNA-related bits for applications using GUPnP";
|
||||||
|
Loading…
Reference in New Issue
Block a user