remmina: disable web browser plugin by default (#340237)
This commit is contained in:
commit
6a151ca956
@ -2,17 +2,18 @@
|
||||
, curl, fuse3, fetchpatch2
|
||||
, desktopToDarwinBundle
|
||||
, glib, gtk3, gettext, libxkbfile, libX11, python3
|
||||
, freerdp3, libssh, libgcrypt, gnutls, vte
|
||||
, freerdp3, libssh, libgcrypt, gnutls
|
||||
, pcre2, libdbusmenu-gtk3, libappindicator-gtk3
|
||||
, libvncserver, libpthreadstubs, libXdmcp, libxkbcommon
|
||||
, libsecret, libsoup_3, spice-protocol, spice-gtk, libepoxy, at-spi2-core
|
||||
, openssl, gsettings-desktop-schemas, json-glib, libsodium, webkitgtk_4_1, harfbuzz
|
||||
, openssl, gsettings-desktop-schemas, json-glib, libsodium, harfbuzz
|
||||
, wayland
|
||||
# The themes here are soft dependencies; only icons are missing without them.
|
||||
, adwaita-icon-theme
|
||||
, withKf5Wallet ? stdenv.isLinux, libsForQt5
|
||||
, withLibsecret ? stdenv.isLinux
|
||||
, withVte ? true
|
||||
, withWebkitGtk ? false, webkitgtk_4_1
|
||||
, withVte ? true, vte
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
@ -50,9 +51,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
openssl adwaita-icon-theme json-glib libsodium
|
||||
harfbuzz python3
|
||||
wayland
|
||||
] ++ lib.optionals stdenv.isLinux [ fuse3 libappindicator-gtk3 libdbusmenu-gtk3 webkitgtk_4_1 ]
|
||||
] ++ lib.optionals stdenv.isLinux [ fuse3 libappindicator-gtk3 libdbusmenu-gtk3 ]
|
||||
++ lib.optionals withLibsecret [ libsecret ]
|
||||
++ lib.optionals withKf5Wallet [ libsForQt5.kwallet ]
|
||||
++ lib.optionals withWebkitGtk [ webkitgtk_4_1 ]
|
||||
++ lib.optionals withVte [ vte ];
|
||||
|
||||
cmakeFlags = [
|
||||
@ -62,11 +64,11 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
"-DWITH_AVAHI=OFF"
|
||||
"-DWITH_KF5WALLET=${if withKf5Wallet then "ON" else "OFF"}"
|
||||
"-DWITH_LIBSECRET=${if withLibsecret then "ON" else "OFF"}"
|
||||
"-DWITH_WEBKIT2GTK=${if withWebkitGtk then "ON" else "OFF"}"
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
"-DHAVE_LIBAPPINDICATOR=OFF"
|
||||
"-DWITH_CUPS=OFF"
|
||||
"-DWITH_ICON_CACHE=OFF"
|
||||
"-DWITH_WEBKIT2GTK=OFF"
|
||||
];
|
||||
|
||||
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin (toString [
|
||||
|
Loading…
Reference in New Issue
Block a user