mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
gnome3.rygel: init at 0.36.2
This commit is contained in:
parent
b18461b085
commit
feb18af060
54
pkgs/desktops/gnome-3/core/rygel/default.nix
Normal file
54
pkgs/desktops/gnome-3/core/rygel/default.nix
Normal 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;
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user