forked from mirrors/nixpkgs
vino: fix dependencies again, fixes #16457
My previous pull request was for release-15.09, and as such has not been reapplied in master (and thus release-16.09). Previous message: The libXtst dependency was missing, which was required to enable remote control. The other dependencies have been updated as well to reflect the dependencies stated at: https://wiki.gnome.org/Projects/Vino https://git.gnome.org/browse/vino/tree/configure.ac
This commit is contained in:
parent
687a012ba8
commit
216ae3141a
|
@ -1,14 +1,28 @@
|
||||||
{ stdenv, intltool, fetchurl, gtk3, glib, libsoup, pkgconfig, makeWrapper
|
{ stdenv, fetchurl, lib, makeWrapper
|
||||||
, gnome3, libnotify, file, telepathy_glib, dbus_glib }:
|
, pkgconfig, gnome3, gtk3, glib, intltool, libXtst, libnotify, libsoup
|
||||||
|
, telepathySupport ? false, dbus_glib ? null, telepathy_glib ? null
|
||||||
|
, libsecret ? null, gnutls ? null, libgcrypt ? null, avahi ? null
|
||||||
|
, zlib ? null, libjpeg ? null
|
||||||
|
, libXdamage ? null, libXfixes ? null, libXext ? null
|
||||||
|
, gnomeKeyringSupport ? false, libgnome_keyring3 ? null
|
||||||
|
, networkmanager ? null }:
|
||||||
|
|
||||||
|
with lib;
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
inherit (import ./src.nix fetchurl) name src;
|
inherit (import ./src.nix fetchurl) name src;
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
buildInputs = [ gtk3 intltool glib libsoup pkgconfig libnotify
|
buildInputs = [
|
||||||
gnome3.defaultIconTheme dbus_glib telepathy_glib file
|
makeWrapper
|
||||||
makeWrapper ];
|
pkgconfig gnome3.defaultIconTheme gtk3 glib intltool libXtst libnotify libsoup
|
||||||
|
] ++ optionals telepathySupport [ dbus_glib telepathy_glib ]
|
||||||
|
++ optional gnomeKeyringSupport libgnome_keyring3
|
||||||
|
++ filter (p: p != null) [
|
||||||
|
libsecret gnutls libgcrypt avahi zlib libjpeg
|
||||||
|
libXdamage libXfixes libXext networkmanager
|
||||||
|
];
|
||||||
|
|
||||||
preFixup = ''
|
preFixup = ''
|
||||||
wrapProgram "$out/libexec/vino-server" \
|
wrapProgram "$out/libexec/vino-server" \
|
||||||
|
|
Loading…
Reference in a new issue