diff options
| author | Sefa Eyeoglu <[email protected]> | 2023-09-01 17:36:18 +0200 |
|---|---|---|
| committer | seth <[email protected]> | 2023-09-01 16:58:12 -0400 |
| commit | 4f44b33efad1bb74b270f6a75df049c99a62083b (patch) | |
| tree | 8a296357a4ab4c255fccf52548ddfa9196d5a382 | |
| parent | 584fab5b00d5d6016ba11a30c8e31a6314a5ce65 (diff) | |
pkgs/xwaylandvideobridge: use upstream kpipewire
nixpkgs has kpipewire 5.27.7 for both nixos-unstable and nixos-23.05
Signed-off-by: Sefa Eyeoglu <[email protected]>
| -rw-r--r-- | pkgs/xwaylandvideobridge.nix | 88 |
1 files changed, 38 insertions, 50 deletions
diff --git a/pkgs/xwaylandvideobridge.nix b/pkgs/xwaylandvideobridge.nix index 1d812f1..b4aa980 100644 --- a/pkgs/xwaylandvideobridge.nix +++ b/pkgs/xwaylandvideobridge.nix @@ -8,57 +8,45 @@ pkg-config, stdenv, xorg, -}: let - kpipewire' = libsForQt5.kpipewire.overrideAttrs (prev: { - version = "5.27"; +}: +stdenv.mkDerivation rec { + pname = "xwaylandvideobridge"; + version = "unstable-2023-08-20"; - src = fetchFromGitLab { - domain = "invent.kde.org"; - owner = "plasma"; - repo = prev.pname; - rev = "Plasma/5.27"; - sha256 = "sha256-u+CGk/jm5pHTPJYwKHwHc01c9E+ElsfKkzYg5NfIaJ8="; - }; - }); -in - stdenv.mkDerivation rec { - pname = "xwaylandvideobridge"; - version = "unstable-2023-08-20"; + src = fetchFromGitLab { + domain = "invent.kde.org"; + owner = "system"; + repo = pname; + rev = "4555293e49129dcb5f8c3354c86b29d561ca4034"; + sha256 = "sha256-YtFcf43DQy7ImFYYQ45ELPRdFYVrBkpL/Bam8SUEVfE="; + }; - src = fetchFromGitLab { - domain = "invent.kde.org"; - owner = "system"; - repo = pname; - rev = "4555293e49129dcb5f8c3354c86b29d561ca4034"; - sha256 = "sha256-YtFcf43DQy7ImFYYQ45ELPRdFYVrBkpL/Bam8SUEVfE="; - }; + nativeBuildInputs = [ + cmake + extra-cmake-modules + ninja + libsForQt5.qt5.wrapQtAppsHook + pkg-config + ]; - nativeBuildInputs = [ - cmake - extra-cmake-modules - ninja - libsForQt5.qt5.wrapQtAppsHook - pkg-config - ]; + buildInputs = with libsForQt5; [ + kcoreaddons + kdbusaddons + ki18n + knotifications + kpipewire + kwidgetsaddons + kwindowsystem + qt5.qtquickcontrols2 + qt5.qtx11extras + xorg.libxcb + ]; - buildInputs = with libsForQt5; [ - kcoreaddons - kdbusaddons - ki18n - knotifications - kpipewire' - kwidgetsaddons - kwindowsystem - qt5.qtquickcontrols2 - qt5.qtx11extras - xorg.libxcb - ]; - - meta = with lib; { - description = "Utility to allow streaming Wayland windows to X applications"; - homepage = "https://invent.kde.org/system/xwaylandvideobridge"; - license = licenses.gpl2Plus; - maintainer = [maintainers.getchoo]; - platforms = platforms.linux; - }; - } + meta = with lib; { + description = "Utility to allow streaming Wayland windows to X applications"; + homepage = "https://invent.kde.org/system/xwaylandvideobridge"; + license = licenses.gpl2Plus; + maintainer = [maintainers.getchoo]; + platforms = platforms.linux; + }; +} |
