49 lines
1.1 KiB
Nix
49 lines
1.1 KiB
Nix
{ 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=";
|
|
};
|
|
}))
|
|
];
|
|
}
|