about summary refs log tree commit diff
path: root/pkgs/tools
diff options
context:
space:
mode:
authorK900 <me@0upti.me>2024-09-27 10:03:24 +0300
committerGitHub <noreply@github.com>2024-09-27 10:03:24 +0300
commit1e15add1c28614820fcd4b75e8a5001f1e0b290f (patch)
tree88c911041e344e75306a946560193e72c08a8730 /pkgs/tools
parentb4c968acd77ab5573dff0a5ff13c50e3a979720f (diff)
parente23ad5ca0e261b7dfc87bf61d4f1eb10bfac37c5 (diff)
xwaylandvideobridge refactor + default in Plasma (#344808)
Diffstat (limited to 'pkgs/tools')
-rw-r--r--pkgs/tools/wayland/xwaylandvideobridge/default.nix20
1 files changed, 15 insertions, 5 deletions
diff --git a/pkgs/tools/wayland/xwaylandvideobridge/default.nix b/pkgs/tools/wayland/xwaylandvideobridge/default.nix
index 5614ef40d5374..f87e678bdba98 100644
--- a/pkgs/tools/wayland/xwaylandvideobridge/default.nix
+++ b/pkgs/tools/wayland/xwaylandvideobridge/default.nix
@@ -5,10 +5,14 @@
 , extra-cmake-modules
 , pkg-config
 , qtbase
-, qtquickcontrols2
-, qtx11extras
-, kdelibs4support
+, qtdeclarative
+, qtx11extras ? null  # qt5 only
+, kcoreaddons
+, ki18n
+, knotifications
 , kpipewire
+, kstatusnotifieritem ? null  # qt6 only
+, kwindowsystem
 , wrapQtAppsHook
 }:
 
@@ -30,12 +34,18 @@ stdenv.mkDerivation (finalAttrs: {
 
   buildInputs = [
     qtbase
-    qtquickcontrols2
+    qtdeclarative
     qtx11extras
-    kdelibs4support
+    kcoreaddons
+    ki18n
+    knotifications
     kpipewire
+    kstatusnotifieritem
+    kwindowsystem
   ];
 
+  cmakeFlags = ["-DQT_MAJOR_VERSION=${lib.versions.major qtbase.version}"];
+
   meta = {
     description = "Utility to allow streaming Wayland windows to X applications";
     homepage = "https://invent.kde.org/system/xwaylandvideobridge";