xwaylandvideobridge: add
parent
9130e4602a
commit
c17199d87a
|
@ -258,5 +258,6 @@ in {
|
||||||
# zoom-us
|
# zoom-us
|
||||||
bin.y-cal-widget
|
bin.y-cal-widget
|
||||||
obsidian
|
obsidian
|
||||||
|
xwaylandvideobridge
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -43,5 +43,6 @@
|
||||||
libscrc = pyself.callPackage ./libscrc.nix {};
|
libscrc = pyself.callPackage ./libscrc.nix {};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
xwaylandvideobridge = self.callPackage ./xwaylandvideobridge.nix {};
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|
|
@ -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=";
|
||||||
|
};
|
||||||
|
}))
|
||||||
|
];
|
||||||
|
}
|
Loading…
Reference in New Issue