Unverified Commit c4223d76 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

Merge pull request #261302 from stepbrobd/xwaylandvideobridge

xwaylandvideobridge: init at 0.2
parents f643ac2e 8bd1f2db
Loading
Loading
Loading
Loading
+50 −0
Original line number Diff line number Diff line
{ 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";
  };
})
+2 −0
Original line number Diff line number Diff line
@@ -27521,6 +27521,8 @@ with pkgs;
  xwayland = callPackage ../servers/x11/xorg/xwayland.nix { };
  xwaylandvideobridge = libsForQt5.callPackage ../tools/wayland/xwaylandvideobridge { };
  yaws = callPackage ../servers/http/yaws { };
  youtrack = callPackage ../servers/jetbrains/youtrack.nix { };