diff options
author | K900 <me@0upti.me> | 2024-09-27 08:16:34 +0300 |
---|---|---|
committer | K900 <me@0upti.me> | 2024-09-27 08:16:34 +0300 |
commit | 41b117f6eda2cc12d079679a60e7c523514cd5a3 (patch) | |
tree | 567b83386d876f487e99cc7ed6e6ae2880897558 /pkgs/tools | |
parent | 5e8bde69b9ba8fc79ecc4c6472b4e2806d5e035c (diff) |
xwaylandvideobridge: support building with qt6, clean up dependencies
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/wayland/xwaylandvideobridge/default.nix | 20 |
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"; |