2023-10-16 02:35:33 +02:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
2023-12-11 02:03:05 +01:00
|
|
|
, fetchurl
|
2023-10-16 02:35:33 +02:00
|
|
|
, cmake
|
|
|
|
, extra-cmake-modules
|
|
|
|
, pkg-config
|
|
|
|
, qtbase
|
|
|
|
, qtquickcontrols2
|
|
|
|
, qtx11extras
|
|
|
|
, kdelibs4support
|
|
|
|
, kpipewire
|
|
|
|
, wrapQtAppsHook
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
|
|
pname = "xwaylandvideobridge";
|
2023-12-25 07:12:25 +01:00
|
|
|
version = "0.4.0";
|
2023-10-16 02:35:33 +02:00
|
|
|
|
2023-12-11 02:03:05 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://kde/stable/xwaylandvideobridge/xwaylandvideobridge-${finalAttrs.version}.tar.xz";
|
2023-12-25 07:12:25 +01:00
|
|
|
hash = "sha256-6nKseypnV46ZlNywYZYC6tMJekb7kzZmHaIA5jkn6+Y=";
|
2023-10-16 02:35:33 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
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";
|
2023-12-11 02:03:05 +01:00
|
|
|
license = with lib.licenses; [ bsd3 cc0 gpl2Plus ];
|
2023-10-16 02:35:33 +02:00
|
|
|
maintainers = with lib.maintainers; [ stepbrobd ];
|
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
mainProgram = "xwaylandvideobridge";
|
|
|
|
};
|
|
|
|
})
|