3
0
Fork 0
forked from mirrors/nixpkgs

gnome3.rygel: init at 0.36.2

This commit is contained in:
Jan Tojnar 2018-08-15 00:11:34 +02:00
parent b18461b085
commit feb18af060
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4
2 changed files with 56 additions and 0 deletions

View file

@ -0,0 +1,54 @@
{ stdenv, fetchurl, pkgconfig, vala, gettext, libxml2, gobjectIntrospection, gtk-doc, wrapGAppsHook, glib, gssdp, gupnp, gupnp-av, gupnp-dlna, gst_all_1, libgee, libsoup, gtk3, libmediaart, sqlite, systemd, tracker, shared-mime-info, gnome3 }:
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 = [
pkgconfig vala gettext libxml2 gobjectIntrospection gtk-doc wrapGAppsHook
];
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;
};
}

View file

@ -216,6 +216,8 @@ lib.makeScope pkgs.newScope (self: with self; {
rest = callPackage ./core/rest { };
rygel = callPackage ./core/rygel { };
simple-scan = callPackage ./core/simple-scan { };
sushi = callPackage ./core/sushi { };