xwaylandvideobridge: add

master
Yorick van Pelt 2023-04-29 12:52:24 +02:00
parent 9130e4602a
commit c17199d87a
Signed by: yorick
GPG Key ID: A36E70F9DC014A15
3 changed files with 50 additions and 0 deletions

View File

@ -258,5 +258,6 @@ in {
# zoom-us
bin.y-cal-widget
obsidian
xwaylandvideobridge
];
}

View File

@ -43,5 +43,6 @@
libscrc = pyself.callPackage ./libscrc.nix {};
};
};
xwaylandvideobridge = self.callPackage ./xwaylandvideobridge.nix {};
})

View File

@ -0,0 +1,48 @@
{ stdenv
, fetchFromGitLab
, cmake
, pkg-config
, extra-cmake-modules
, qt5
, libsForQt5
}: stdenv.mkDerivation rec {
pname = "xwaylandvideobridge";
version = "unstable-2023-04-29";
src = fetchFromGitLab {
domain = "invent.kde.org";
owner = "davidedmundson";
repo = "xwaylandvideobridge";
rev = "5efe47fdd6b90ed197c3e849fb7a1750bca3b643";
hash = "sha256-gfQkOIZegxdFQ9IV2Qp/lLRtfI5/g6bDD3XRBdLh4q0=";
};
nativeBuildInputs = [
cmake
extra-cmake-modules
pkg-config
qt5.wrapQtAppsHook
];
postPatch = ''
sed -i /cursor_mode/d src/pwbypass.cpp
'';
buildInputs = [
qt5.qtbase
qt5.qtquickcontrols2
qt5.qtx11extras
libsForQt5.kdelibs4support
(libsForQt5.kpipewire.overrideAttrs (oldAttrs: {
version = "unstable-2023-03-28";
src = fetchFromGitLab {
domain = "invent.kde.org";
owner = "plasma";
repo = "kpipewire";
rev = "ed99b94be40bd8c5b7b2a2f17d0622f11b2ab7fb";
hash = "sha256-KhmhlH7gaFGrvPaB3voQ57CKutnw5DlLOz7gy/3Mzms=";
};
}))
];
}