about summary refs log tree commit diff
path: root/pkgs/tools/wayland
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2023-10-19 00:02:54 +0000
committerGitHub <noreply@github.com>2023-10-19 00:02:54 +0000
commitbb7c6d7a793b712ac5993d95041e4bdb296e4d04 (patch)
treeb9267749bffe72073f12f94c4acd93644e06e05d /pkgs/tools/wayland
parent5a1cc0e11dc9f5916db4c93d3080aa295f7f9247 (diff)
parent4b9cf6ff6eebded20718a58eeb06fbdda16b2521 (diff)
downloadnixlib-bb7c6d7a793b712ac5993d95041e4bdb296e4d04.tar
nixlib-bb7c6d7a793b712ac5993d95041e4bdb296e4d04.tar.gz
nixlib-bb7c6d7a793b712ac5993d95041e4bdb296e4d04.tar.bz2
nixlib-bb7c6d7a793b712ac5993d95041e4bdb296e4d04.tar.lz
nixlib-bb7c6d7a793b712ac5993d95041e4bdb296e4d04.tar.xz
nixlib-bb7c6d7a793b712ac5993d95041e4bdb296e4d04.tar.zst
nixlib-bb7c6d7a793b712ac5993d95041e4bdb296e4d04.zip
Merge staging-next into staging
Diffstat (limited to 'pkgs/tools/wayland')
-rw-r--r--pkgs/tools/wayland/xwaylandvideobridge/default.nix50
1 files changed, 50 insertions, 0 deletions
diff --git a/pkgs/tools/wayland/xwaylandvideobridge/default.nix b/pkgs/tools/wayland/xwaylandvideobridge/default.nix
new file mode 100644
index 000000000000..83b2186c8ab1
--- /dev/null
+++ b/pkgs/tools/wayland/xwaylandvideobridge/default.nix
@@ -0,0 +1,50 @@
+{ lib
+, stdenv
+, fetchFromGitLab
+, cmake
+, extra-cmake-modules
+, pkg-config
+, qtbase
+, qtquickcontrols2
+, qtx11extras
+, kdelibs4support
+, kpipewire
+, wrapQtAppsHook
+}:
+
+stdenv.mkDerivation (finalAttrs: {
+  pname = "xwaylandvideobridge";
+  version = "0.2";
+
+  src = fetchFromGitLab {
+    domain = "invent.kde.org";
+    owner = "system";
+    repo = "xwaylandvideobridge";
+    rev = "v${finalAttrs.version}";
+    hash = "sha256-79Z4BH7C85ZF+1Zivs3bTey7IdUnaDKhvZxzL6sDqUs=";
+  };
+
+  nativeBuildInputs = [
+    cmake
+    extra-cmake-modules
+    pkg-config
+    wrapQtAppsHook
+  ];
+
+  buildInputs = [
+    qtbase
+    qtquickcontrols2
+    qtx11extras
+    kdelibs4support
+    kpipewire
+  ];
+
+  meta = {
+    description = "Utility to allow streaming Wayland windows to X applications";
+    homepage = "https://invent.kde.org/system/xwaylandvideobridge";
+    license = lib.licenses.gpl2Plus;
+    maintainers = with lib.maintainers; [ stepbrobd ];
+    platforms = lib.platforms.linux;
+    mainProgram = "xwaylandvideobridge";
+  };
+})