update xwaylandvideobridge
parent
6943046de7
commit
3d82efbc4c
|
@ -41,7 +41,7 @@
|
||||||
libscrc = pyself.callPackage ./libscrc.nix {};
|
libscrc = pyself.callPackage ./libscrc.nix {};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
xwaylandvideobridge = self.callPackage ./xwaylandvideobridge.nix {};
|
xwaylandvideobridge = self.libsForQt5.callPackage ./xwaylandvideobridge.nix {};
|
||||||
timesync = self.flake-inputs.timesync.packages.${self.system}.default;
|
timesync = self.flake-inputs.timesync.packages.${self.system}.default;
|
||||||
wl-clipboard = super.wl-clipboard.overrideAttrs (o: {
|
wl-clipboard = super.wl-clipboard.overrideAttrs (o: {
|
||||||
# todo: upstream
|
# todo: upstream
|
||||||
|
|
|
@ -1,52 +1,48 @@
|
||||||
{ stdenv
|
{ lib
|
||||||
, fetchFromGitLab
|
, stdenv
|
||||||
|
, fetchurl
|
||||||
, cmake
|
, cmake
|
||||||
, fetchpatch
|
|
||||||
, pkg-config
|
|
||||||
, extra-cmake-modules
|
, extra-cmake-modules
|
||||||
, qt5
|
, pkg-config
|
||||||
, libsForQt5
|
, qtbase
|
||||||
}: stdenv.mkDerivation rec {
|
, qtquickcontrols2
|
||||||
pname = "xwaylandvideobridge";
|
, qtx11extras
|
||||||
version = "unstable-2023-06-04";
|
, kdelibs4support
|
||||||
|
, kpipewire
|
||||||
|
, wrapQtAppsHook
|
||||||
|
}:
|
||||||
|
|
||||||
src = fetchFromGitLab {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
domain = "invent.kde.org";
|
pname = "xwaylandvideobridge";
|
||||||
owner = "system";
|
version = "0.4.0";
|
||||||
repo = "xwaylandvideobridge";
|
|
||||||
rev = "75f68526fb3d2a4e1af6644e49dfdc8d9e56985c";
|
src = fetchurl {
|
||||||
hash = "sha256-GvutiwF9FxtZ2ehd6dsR3ZY8Mq6/4k1TDpz+xE8SusE=";
|
url = "mirror://kde/stable/xwaylandvideobridge/xwaylandvideobridge-${finalAttrs.version}.tar.xz";
|
||||||
|
hash = "sha256-6nKseypnV46ZlNywYZYC6tMJekb7kzZmHaIA5jkn6+Y=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
cmake
|
cmake
|
||||||
extra-cmake-modules
|
extra-cmake-modules
|
||||||
pkg-config
|
pkg-config
|
||||||
qt5.wrapQtAppsHook
|
wrapQtAppsHook
|
||||||
];
|
|
||||||
|
|
||||||
patches = [
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://aur.archlinux.org/cgit/aur.git/plain/cursor-mode.patch?h=xwaylandvideobridge-cursor-mode-2-git";
|
|
||||||
hash = "sha256-649kCs3Fsz8VCgGpZ952Zgl8txAcTgakLoMusaJQYa4=";
|
|
||||||
})
|
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
qt5.qtbase
|
qtbase
|
||||||
qt5.qtquickcontrols2
|
qtquickcontrols2
|
||||||
qt5.qtx11extras
|
qtx11extras
|
||||||
libsForQt5.kdelibs4support
|
kdelibs4support
|
||||||
(libsForQt5.kpipewire.overrideAttrs (oldAttrs: {
|
kpipewire
|
||||||
version = "5.27.5";
|
|
||||||
|
|
||||||
src = fetchFromGitLab {
|
|
||||||
domain = "invent.kde.org";
|
|
||||||
owner = "plasma";
|
|
||||||
repo = "kpipewire";
|
|
||||||
rev = "v5.27.5";
|
|
||||||
hash = "sha256-xcuSWURiyY9iuayeY9w6G59UJTbYXyPWGg8x+EiXNsY=";
|
|
||||||
};
|
|
||||||
}))
|
|
||||||
];
|
];
|
||||||
}
|
|
||||||
|
meta = {
|
||||||
|
description = "Utility to allow streaming Wayland windows to X applications";
|
||||||
|
homepage = "https://invent.kde.org/system/xwaylandvideobridge";
|
||||||
|
license = with lib.licenses; [ bsd3 cc0 gpl2Plus ];
|
||||||
|
maintainers = with lib.maintainers; [ stepbrobd ];
|
||||||
|
platforms = lib.platforms.linux;
|
||||||
|
mainProgram = "xwaylandvideobridge";
|
||||||
|
};
|
||||||
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue