2021-10-20 15:59:12 +00:00
|
|
|
{
|
|
|
|
stdenv,
|
|
|
|
lib,
|
2019-03-16 00:19:13 +00:00
|
|
|
fetchurl,
|
2021-10-20 15:59:12 +00:00
|
|
|
meson,
|
|
|
|
ninja,
|
2021-01-19 06:50:56 +00:00
|
|
|
pkg-config,
|
2019-03-16 00:19:13 +00:00
|
|
|
gobject-introspection,
|
|
|
|
vala,
|
|
|
|
gtk-doc,
|
2021-10-20 15:59:12 +00:00
|
|
|
docbook-xsl-nons,
|
2019-03-16 00:19:13 +00:00
|
|
|
docbook_xml_dtd_412,
|
|
|
|
libxml2,
|
|
|
|
gst_all_1,
|
2021-05-07 21:18:14 +00:00
|
|
|
gnome,
|
2019-03-16 00:19:13 +00:00
|
|
|
}:
|
2017-08-30 22:21:50 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-03-16 00:19:13 +00:00
|
|
|
pname = "gupnp-dlna";
|
2021-10-20 15:59:12 +00:00
|
|
|
version = "0.12.0";
|
2018-08-14 22:58:52 +00:00
|
|
|
|
|
|
|
outputs = [
|
|
|
|
"out"
|
|
|
|
"dev"
|
|
|
|
"devdoc"
|
|
|
|
];
|
2017-08-30 22:21:50 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-01-21 17:00:13 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2021-10-20 15:59:12 +00:00
|
|
|
sha256 = "PVO5b4W8VijTPjZ+yb8q2zjvKzTXrQQ0proM9K2QSOY=";
|
2017-08-30 22:21:50 +00:00
|
|
|
};
|
|
|
|
|
2019-03-16 00:19:13 +00:00
|
|
|
nativeBuildInputs = [
|
2021-10-20 15:59:12 +00:00
|
|
|
meson
|
|
|
|
ninja
|
2021-01-19 06:50:56 +00:00
|
|
|
pkg-config
|
2019-03-16 00:19:13 +00:00
|
|
|
gobject-introspection
|
|
|
|
vala
|
|
|
|
gtk-doc
|
2021-10-20 15:59:12 +00:00
|
|
|
docbook-xsl-nons
|
2019-03-16 00:19:13 +00:00
|
|
|
docbook_xml_dtd_412
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
libxml2
|
|
|
|
gst_all_1.gst-plugins-base
|
|
|
|
];
|
2018-08-14 22:58:52 +00:00
|
|
|
|
2021-10-20 15:59:12 +00:00
|
|
|
mesonFlags = [
|
|
|
|
"-Dgtk_doc=true"
|
2018-08-14 22:58:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
chmod +x tests/test-discoverer.sh.in
|
|
|
|
patchShebangs tests/test-discoverer.sh.in
|
|
|
|
'';
|
2017-08-30 22:21:50 +00:00
|
|
|
|
2019-03-16 00:19:13 +00:00
|
|
|
passthru = {
|
2021-05-07 21:18:14 +00:00
|
|
|
updateScript = gnome.updateScript {
|
2019-03-16 00:19:13 +00:00
|
|
|
packageName = pname;
|
2021-03-20 23:57:24 +00:00
|
|
|
versionPolicy = "odd-unstable";
|
2019-03-16 00:19:13 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2024-04-30 14:44:27 +00:00
|
|
|
homepage = "https://gitlab.gnome.org/GNOME/gupnp-dlna";
|
2017-08-30 22:21:50 +00:00
|
|
|
description = "Library to ease DLNA-related bits for applications using GUPnP";
|
2018-08-14 22:58:52 +00:00
|
|
|
license = licenses.lgpl2Plus;
|
2022-10-20 01:04:08 +00:00
|
|
|
platforms = platforms.unix;
|
2017-08-30 22:21:50 +00:00
|
|
|
};
|
|
|
|
}
|