2019-03-16 00:03:31 +00:00
|
|
|
{ stdenv
|
|
|
|
, fetchurl
|
2021-01-19 06:50:56 +00:00
|
|
|
, pkg-config
|
2019-03-16 00:03:31 +00:00
|
|
|
, gobject-introspection
|
|
|
|
, vala
|
|
|
|
, gtk-doc
|
|
|
|
, docbook_xsl
|
|
|
|
, docbook_xml_dtd_412
|
|
|
|
, glib
|
|
|
|
, libxml2
|
|
|
|
, gnome3
|
|
|
|
}:
|
2014-01-11 12:28:12 +00:00
|
|
|
|
2014-01-14 20:33:11 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-03-16 00:03:31 +00:00
|
|
|
pname = "gupnp-av";
|
2018-12-16 01:39:26 +00:00
|
|
|
version = "0.12.11";
|
2018-08-15 00:25:51 +01:00
|
|
|
|
|
|
|
outputs = [ "out" "dev" "devdoc" ];
|
2015-08-03 21:54:38 +01:00
|
|
|
|
2014-01-11 12:28:12 +00:00
|
|
|
src = fetchurl {
|
2019-03-16 00:03:31 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2018-12-16 01:39:26 +00:00
|
|
|
sha256 = "1p3grslwqm9bc8rmpn4l48d7v9s84nina4r9xbd932dbj8acz7b8";
|
2014-01-11 12:28:12 +00:00
|
|
|
};
|
2018-08-15 00:25:51 +01:00
|
|
|
|
2019-03-16 00:03:31 +00:00
|
|
|
nativeBuildInputs = [
|
2021-01-19 06:50:56 +00:00
|
|
|
pkg-config
|
2019-03-16 00:03:31 +00:00
|
|
|
gobject-introspection
|
|
|
|
vala
|
|
|
|
gtk-doc
|
|
|
|
docbook_xsl
|
|
|
|
docbook_xml_dtd_412
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
glib
|
|
|
|
libxml2
|
|
|
|
];
|
2014-01-11 12:28:12 +00:00
|
|
|
|
2018-08-15 00:25:51 +01:00
|
|
|
configureFlags = [
|
|
|
|
"--enable-gtk-doc"
|
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
2019-03-16 00:03:31 +00:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2018-08-15 00:25:51 +01:00
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://gupnp.org/";
|
2014-11-11 13:20:43 +00:00
|
|
|
description = "A collection of helpers for building AV (audio/video) applications using GUPnP";
|
2018-08-15 00:25:51 +01:00
|
|
|
license = licenses.lgpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
2014-01-11 12:28:12 +00:00
|
|
|
};
|
2015-08-03 21:54:38 +01:00
|
|
|
}
|