chromium: Add flag to disable Gnome support.
This also separates gcrypt and gconf from the basic dependencies. Unfortunately we cannot get rid of dbus_glib altogether, but maybe we want to work on a patch to get rid of it? On the other hand it seems to be a TODO of the chromium project itself, so let's wait and see.
This commit is contained in:
parent
c2b145c32f
commit
57e127099b
@ -18,6 +18,7 @@
|
|||||||
, useSELinux ? false
|
, useSELinux ? false
|
||||||
, naclSupport ? false
|
, naclSupport ? false
|
||||||
, useOpenSSL ? true
|
, useOpenSSL ? true
|
||||||
|
, enableGnomeSupport ? false
|
||||||
, gnomeKeyringSupport ? false
|
, gnomeKeyringSupport ? false
|
||||||
, useProprietaryCodecs ? false
|
, useProprietaryCodecs ? false
|
||||||
}:
|
}:
|
||||||
@ -83,9 +84,10 @@ in stdenv.mkDerivation rec {
|
|||||||
utillinux alsaLib
|
utillinux alsaLib
|
||||||
gcc bison gperf
|
gcc bison gperf
|
||||||
krb5
|
krb5
|
||||||
glib gtk gconf libgcrypt dbus_glib
|
glib gtk dbus_glib
|
||||||
libXScrnSaver libXcursor
|
libXScrnSaver libXcursor
|
||||||
] ++ stdenv.lib.optional gnomeKeyringSupport libgnome_keyring;
|
] ++ stdenv.lib.optional gnomeKeyringSupport libgnome_keyring
|
||||||
|
++ stdenv.lib.optionals enableGnomeSupport [ gconf libgcrypt ];
|
||||||
|
|
||||||
opensslPatches = stdenv.lib.optional useOpenSSL openssl.patches;
|
opensslPatches = stdenv.lib.optional useOpenSSL openssl.patches;
|
||||||
|
|
||||||
@ -102,6 +104,8 @@ in stdenv.mkDerivation rec {
|
|||||||
linux_use_gold_flags = false;
|
linux_use_gold_flags = false;
|
||||||
proprietary_codecs = false;
|
proprietary_codecs = false;
|
||||||
use_gnome_keyring = gnomeKeyringSupport;
|
use_gnome_keyring = gnomeKeyringSupport;
|
||||||
|
use_gconf = enableGnomeSupport;
|
||||||
|
use_gio = enableGnomeSupport;
|
||||||
disable_nacl = !naclSupport;
|
disable_nacl = !naclSupport;
|
||||||
use_openssl = useOpenSSL;
|
use_openssl = useOpenSSL;
|
||||||
selinux = useSELinux;
|
selinux = useSELinux;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user