2018-12-02 12:41:15 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, vala, gettext, libxml2, gobject-introspection, gtk-doc, wrapGAppsHook, glib, gssdp, gupnp, gupnp-av, gupnp-dlna, gst_all_1, libgee, libsoup, gtk3, libmediaart, sqlite, systemd, tracker, shared-mime-info, gnome3 }:
|
2018-08-15 00:11:34 +02:00
|
|
|
|
|
|
|
let
|
|
|
|
pname = "rygel";
|
|
|
|
version = "0.36.2";
|
|
|
|
in stdenv.mkDerivation rec {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
# TODO: split out lib
|
|
|
|
outputs = [ "out" "dev" "devdoc" ];
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
|
|
|
sha256 = "0i12z6bzfzgcjidhxa2jsvpm4hqpab0s032z13jy2vbifrncfcnk";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2018-12-02 12:41:15 +01:00
|
|
|
pkgconfig vala gettext libxml2 gobject-introspection gtk-doc wrapGAppsHook
|
2018-08-15 00:11:34 +02:00
|
|
|
];
|
|
|
|
buildInputs = [
|
|
|
|
glib gssdp gupnp gupnp-av gupnp-dlna libgee libsoup gtk3 libmediaart sqlite systemd tracker shared-mime-info
|
|
|
|
] ++ (with gst_all_1; [
|
|
|
|
gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly
|
|
|
|
]);
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--with-systemduserunitdir=$(out)/lib/systemd/user"
|
|
|
|
"--enable-apidocs"
|
|
|
|
"--sysconfdir=/etc"
|
|
|
|
];
|
|
|
|
|
|
|
|
installFlags = [
|
|
|
|
"sysconfdir=$(out)/etc"
|
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
attrPath = "gnome3.${pname}";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A home media solution (UPnP AV MediaServer) that allows you to easily share audio, video and pictures to other devices";
|
|
|
|
homepage = https://wiki.gnome.org/Projects/Rygel;
|
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
maintainers = gnome3.maintainers;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|