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