Skip to content

Commit

Permalink
remmina: enable gvnc plugin
Browse files Browse the repository at this point in the history
The Gtk-VNC pluging has broader VNC protocol support so including it can
be useful when connecting to VNC servers that the VNC plugin does not
gel with.
  • Loading branch information
ghthor committed Dec 12, 2024
1 parent 8d6242f commit 7725b66
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkgs/applications/networking/remote/remmina/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@
wayland,
# The themes here are soft dependencies; only icons are missing without them.
adwaita-icon-theme,
withGtkVnc ? stdenv.hostPlatform.isLinux,
gtk-vnc,
withKf5Wallet ? stdenv.hostPlatform.isLinux,
libsForQt5,
withLibsecret ? stdenv.hostPlatform.isLinux,
Expand Down Expand Up @@ -104,6 +106,7 @@ stdenv.mkDerivation (finalAttrs: {
libappindicator-gtk3
libdbusmenu-gtk3
]
++ lib.optionals withGtkVnc [ gtk-vnc ]
++ lib.optionals withLibsecret [ libsecret ]
++ lib.optionals withKf5Wallet [ libsForQt5.kwallet ]
++ lib.optionals withWebkitGtk [ webkitgtk_4_1 ]
Expand All @@ -119,6 +122,9 @@ stdenv.mkDerivation (finalAttrs: {
"-DWITH_LIBSECRET=${if withLibsecret then "ON" else "OFF"}"
"-DWITH_WEBKIT2GTK=${if withWebkitGtk then "ON" else "OFF"}"
]
++ lib.optionals withGtkVnc [
"-DWITH_GVNC=ON"
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
"-DHAVE_LIBAPPINDICATOR=OFF"
"-DWITH_CUPS=OFF"
Expand Down

0 comments on commit 7725b66

Please sign in to comment.