Skip to content

Commit

Permalink
wl-screenrec: 0.1.3 -> 0.1.4-unstable-2024-07-28
Browse files Browse the repository at this point in the history
Includes support for FFmpeg 7. We can’t use
the release tag because of a Cargo build issue; see
<russelltg/wl-screenrec#77>. Hopefully
there’ll be a new release tag soon.

Diff: <russelltg/wl-screenrec@v0.1.3...b817acc>
  • Loading branch information
emilazy authored and gador committed Aug 4, 2024
1 parent 6981336 commit 9051172
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
12 changes: 6 additions & 6 deletions pkgs/tools/wayland/wl-screenrec/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,22 @@
, fetchFromGitHub
, pkg-config
, libdrm
, ffmpeg
, ffmpeg_7
, wayland
}:

rustPlatform.buildRustPackage rec {
pname = "wl-screenrec";
version = "0.1.3";
version = "0.1.4-unstable-2024-07-28";

src = fetchFromGitHub {
owner = "russelltg";
repo = pname;
rev = "v${version}";
hash = "sha256-ThPZPV1GyMFRu94O9WwUpXbR4gnIML26K7TyIfXZlcI=";
rev = "b817accf1d4f2373cb6f466f760de35e5b8626bd";
hash = "sha256-07O2YM9dOHWzriM2+uiBWjEt2hKAuXtRtnKBuzb02Us=";
};

cargoHash = "sha256-DtlVsUFKNKXcwqNvGvqkSKUE+kRHX8wajL4fR0c9ZuQ=";
cargoHash = "sha256-AYirjrnk8SGTXk5IjzCep2AQJYPbgHAOOf47MUDYj4k=";

nativeBuildInputs = [
pkg-config
Expand All @@ -28,7 +28,7 @@ rustPlatform.buildRustPackage rec {
buildInputs = [
wayland
libdrm
ffmpeg
ffmpeg_7
];

doCheck = false; # tests use host compositor, etc
Expand Down
4 changes: 1 addition & 3 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4654,9 +4654,7 @@ with pkgs;

wl-mirror = callPackage ../tools/wayland/wl-mirror { };

wl-screenrec = callPackage ../tools/wayland/wl-screenrec {
ffmpeg = ffmpeg_6;
};
wl-screenrec = callPackage ../tools/wayland/wl-screenrec { };

wleave = callPackage ../tools/wayland/wleave { };

Expand Down

0 comments on commit 9051172

Please sign in to comment.