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