diff options
author | Yifei Sun <ysun+git@stepbrobd.com> | 2023-10-15 20:35:33 -0400 |
---|---|---|
committer | Yifei Sun <ysun+git@stepbrobd.com> | 2023-10-15 23:35:39 -0400 |
commit | 8bd1f2dbb3a158a1bb45315c24e7db3bb57ec7ee (patch) | |
tree | 191f34badd1e638addf07984bb6c89d319caacc8 /pkgs/tools/wayland/xwaylandvideobridge | |
parent | 954b40cd40a12e29dd901f88e53a64ae7a151dc9 (diff) | |
download | nixlib-8bd1f2dbb3a158a1bb45315c24e7db3bb57ec7ee.tar nixlib-8bd1f2dbb3a158a1bb45315c24e7db3bb57ec7ee.tar.gz nixlib-8bd1f2dbb3a158a1bb45315c24e7db3bb57ec7ee.tar.bz2 nixlib-8bd1f2dbb3a158a1bb45315c24e7db3bb57ec7ee.tar.lz nixlib-8bd1f2dbb3a158a1bb45315c24e7db3bb57ec7ee.tar.xz nixlib-8bd1f2dbb3a158a1bb45315c24e7db3bb57ec7ee.tar.zst nixlib-8bd1f2dbb3a158a1bb45315c24e7db3bb57ec7ee.zip |
xwaylandvideobridge: init at 0.2
added xwaylandvideobridge (https://github.com/NixOS/nixpkgs/issues/222741) Co-authored-by: Dacio Romero <dacioromero@gmail.com>
Diffstat (limited to 'pkgs/tools/wayland/xwaylandvideobridge')
-rw-r--r-- | pkgs/tools/wayland/xwaylandvideobridge/default.nix | 50 |
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"; + }; +}) |