update xwaylandvideobridge
parent
6943046de7
commit
3d82efbc4c
|
@ -41,7 +41,7 @@
|
|||
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;
|
||||
wl-clipboard = super.wl-clipboard.overrideAttrs (o: {
|
||||
# todo: upstream
|
||||
|
|
|
@ -1,52 +1,48 @@
|
|||
{ stdenv
|
||||
, fetchFromGitLab
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, cmake
|
||||
, fetchpatch
|
||||
, pkg-config
|
||||
, extra-cmake-modules
|
||||
, qt5
|
||||
, libsForQt5
|
||||
}: stdenv.mkDerivation rec {
|
||||
pname = "xwaylandvideobridge";
|
||||
version = "unstable-2023-06-04";
|
||||
, pkg-config
|
||||
, qtbase
|
||||
, qtquickcontrols2
|
||||
, qtx11extras
|
||||
, kdelibs4support
|
||||
, kpipewire
|
||||
, wrapQtAppsHook
|
||||
}:
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "invent.kde.org";
|
||||
owner = "system";
|
||||
repo = "xwaylandvideobridge";
|
||||
rev = "75f68526fb3d2a4e1af6644e49dfdc8d9e56985c";
|
||||
hash = "sha256-GvutiwF9FxtZ2ehd6dsR3ZY8Mq6/4k1TDpz+xE8SusE=";
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "xwaylandvideobridge";
|
||||
version = "0.4.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://kde/stable/xwaylandvideobridge/xwaylandvideobridge-${finalAttrs.version}.tar.xz";
|
||||
hash = "sha256-6nKseypnV46ZlNywYZYC6tMJekb7kzZmHaIA5jkn6+Y=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
extra-cmake-modules
|
||||
pkg-config
|
||||
qt5.wrapQtAppsHook
|
||||
];
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = "https://aur.archlinux.org/cgit/aur.git/plain/cursor-mode.patch?h=xwaylandvideobridge-cursor-mode-2-git";
|
||||
hash = "sha256-649kCs3Fsz8VCgGpZ952Zgl8txAcTgakLoMusaJQYa4=";
|
||||
})
|
||||
wrapQtAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
qt5.qtbase
|
||||
qt5.qtquickcontrols2
|
||||
qt5.qtx11extras
|
||||
libsForQt5.kdelibs4support
|
||||
(libsForQt5.kpipewire.overrideAttrs (oldAttrs: {
|
||||
version = "5.27.5";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "invent.kde.org";
|
||||
owner = "plasma";
|
||||
repo = "kpipewire";
|
||||
rev = "v5.27.5";
|
||||
hash = "sha256-xcuSWURiyY9iuayeY9w6G59UJTbYXyPWGg8x+EiXNsY=";
|
||||
};
|
||||
}))
|
||||
qtbase
|
||||
qtquickcontrols2
|
||||
qtx11extras
|
||||
kdelibs4support
|
||||
kpipewire
|
||||
];
|
||||
}
|
||||
|
||||
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