Port details |
- wl-screenrec High performance wlroots screen recording, featuring hardware encoding
- 0.1.5_6 multimedia
=3 0.1.5_4Version of this port present on the latest quarterly branch. - Maintainer: jbeich@FreeBSD.org
 - Port Added: 2023-07-03 04:18:21
- Last Update: 2025-02-24 07:55:52
- Commit Hash: cf7c4b0
- People watching this port, also watch:: ncspot, wlr-randr, spotify-player, sway, tarsnap-gui
- Also Listed In: wayland
- License: APACHE20
- WWW:
- https://github.com/russelltg/wl-screenrec
- Description:
- High performance screen recorder for wlroots Wayland.
Uses dma-buf transfers to get surface, and uses the GPU to do both the
pixel format conversion and the encoding, meaning the raw video data
never touches the CPU, leaving it free to run your applications.
System Requirements:
* Wayland compositor supporting the following protocols:
* wlr-output-management-unstable-v1 (missing in hikari, cagebreak, gamescope)
* wlr-screencopy-unstable-v1 (missing in gamescope and theseus-ship)
Known working examples: sway, hyprland, wayfire, labwc.
* VA-API encoding:
* Intel iGPUs: libva-intel-media-driver or libva-intel-driver
* AMD/ATI GPUs: mesa-gallium-va
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- wl-screenrec>0:multimedia/wl-screenrec
- To install the port:
- cd /usr/ports/multimedia/wl-screenrec/ && make install clean
- To add the package, run one of these commands:
- pkg install multimedia/wl-screenrec
- pkg install wl-screenrec
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: wl-screenrec
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1722791434
SHA256 (rust/crates/aho-corasick-1.1.3.crate) = 8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916
SIZE (rust/crates/aho-corasick-1.1.3.crate) = 183311
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- rust>=1.85.0 : lang/rust
- pkgconf>=1.3.0_1 : devel/pkgconf
- llvm-config15 : devel/llvm15
- Library dependencies:
-
- libdrm.so : graphics/libdrm
- libavformat.so : multimedia/ffmpeg
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- multimedia_wl-screenrec
- USES:
- cargo llvm
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
0.1.5_6 24 Feb 2025 07:55:52
    |
Mikael Urankar (mikael)  |
lang/rust: Bump revisions after 1.85.0
PR: 284884 |
0.1.5_5 20 Jan 2025 11:06:50
    |
Mikael Urankar (mikael)  |
lang/rust: Bump revisions after 1.84.0
PR: 283962 |
0.1.5_4 01 Dec 2024 09:24:18
    |
Mikael Urankar (mikael)  |
lang/rust: Bump revisions after 1.83.0
PR: 283000 |
0.1.5_3 16 Nov 2024 00:33:12
    |
Jan Beich (jbeich)  |
multimedia/wl-screenrec: temporarily skip updates |
0.1.5_3 08 Nov 2024 08:24:20
    |
Mikael Urankar (mikael)  |
lang/rust: Bump revisions after 1.82.0
PR: 282516 |
0.1.5_2 23 Oct 2024 03:11:24
    |
Yuri Victorovich (yuri)  |
Mk/Uses/cargo.mk: Remove cross-compilation options for Rust-based ports
Reasons:
* Port build shouldn't use cross-compilation mode
because it buids for the same architecture.
* RUSTFLAGS isn't passed to the build of all or some Rust ports
in the cross-compilation mode.
Essential changes:
* Remove the CARGO_BUILD_TARGET make variable.
* Remove CARGO_BUILD_TARGET and CARGO_TARGET_* from CARGO_ENV.
* Update many ports that used CARGO_BUILD_TARGET.
* Build paths now don't include the architecture triplet part.
Immadiate benefits: (Only the first 15 lines of the commit message are shown above ) |
0.1.5_2 10 Sep 2024 11:00:34
    |
Mikael Urankar (mikael)  |
lang/rust: Bump revisions after 1.81.0
PR: 281300 |
0.1.5_1 10 Sep 2024 10:58:07
    |
Mikael Urankar (mikael)  Author: Siva Mahadevan |
*/*: remove STRIP_CMD calls in rust based ports
This is not needed after bc4fedc1fec0d359365c04d43be9e32bf101a50e
PR: 246993
Differential Revision: https://reviews.freebsd.org/D46503 |
0.1.5_1 26 Aug 2024 08:08:01
    |
Mikael Urankar (mikael)  |
lang/rust: Bump revisions after 1.80.1
PR: 280490 |
0.1.5 04 Aug 2024 19:36:28
    |
Jan Beich (jbeich)  |
multimedia/wl-screenrec: update to 0.1.5
Changes: https://github.com/russelltg/wl-screenrec/releases/tag/v0.1.5
Reported by: GitHub (watch releases) |
0.1.4 16 Jul 2024 02:32:28
    |
Jan Beich (jbeich)  |
multimedia/wl-screenrec: update to 0.1.4
Changes: https://github.com/russelltg/wl-screenrec/releases/tag/v0.1.4
Reported by: GitHub (watch releases) |
0.1.3_5 16 Jul 2024 02:32:26
    |
Jan Beich (jbeich)  |
multimedia/wl-screenrec: drop unused patch after c61ec243ce20
https://github.com/russelltg/wl-screenrec/commit/af46c4af3e14 |
0.1.3_5 18 Jun 2024 10:59:14
    |
Mikael Urankar (mikael)  |
lang/rust: Bump revisions after 1.79.0
PR: 279707 |
0.1.3_4 20 May 2024 07:02:22
    |
Jan Beich (jbeich)  |
multimedia/wl-screenrec: unbreak build with ffmpeg 7.0
error[E0425]: cannot find value `AV_CH_LAYOUT_NATIVE` in this scope
--> cargo-crates/ffmpeg-next-6.1.1/src/util/channel_layout.rs:31:39
|
31 | const NATIVE = AV_CH_LAYOUT_NATIVE;
| ^^^^^^^^^^^^^^^^^^^ help: a
constant with a similar name exists: `AV_CH_LAYOUT_STEREO`
|
:::
../target/x86_64-unknown-freebsd/release/build/ffmpeg-sys-next-71257b07c8bd5e07/out/bindings.rs:20795:1
|
20795 | pub const AV_CH_LAYOUT_STEREO: libc::c_ulonglong = 3;
| ------------------------------------------------ similarly named
constant `AV_CH_LAYOUT_STEREO` defined here
error[E0425]: cannot find value `AV_CH_LAYOUT_3POINT1POINT2` in this scope
--> cargo-crates/ffmpeg-next-6.1.1/src/util/channel_layout.rs:63:37 (Only the first 15 lines of the commit message are shown above ) |
0.1.3_3 13 May 2024 11:03:24
    |
Mikael Urankar (mikael)  |
lang/rust: Bump revisions after 1.78.0
PR: 278834 |
0.1.3_2 13 Apr 2024 05:14:59
    |
Jan Beich (jbeich)  |
x11-wm/theseus-ship: update to 6.0.0
Changes: https://github.com/winft/theseus-ship/releases/tag/v6.0.0
Reported by: GitHub (watch releases) |
0.1.3_2 23 Mar 2024 09:41:46
    |
Mikael Urankar (mikael)  |
lang/rust: Bump revisions after 1.77.0
PR: 277786 |
0.1.3_1 19 Feb 2024 11:59:23
    |
Mikael Urankar (mikael)  |
lang/rust: Bump revisions after 1.76.0
PR: 276920 |
0.1.3 16 Feb 2024 12:39:04
    |
Jan Beich (jbeich)  |
multimedia/wl-screenrec: update to 0.1.3
Changes: https://github.com/russelltg/wl-screenrec/releases/tag/v0.1.3
Reported by: GitHub (watch releases) |
0.1.2_2 09 Jan 2024 12:15:54
    |
Mikael Urankar (mikael)  |
lang/rust: Bump revisions after 1.75.0
PR: 276033 |
0.1.2_1 08 Dec 2023 15:04:09
    |
Mikael Urankar (mikael)  |
lang/rust: Bump revisions after 1.74.1
PR: 275243 |
0.1.2 04 Dec 2023 04:44:17
    |
Jan Beich (jbeich)  |
multimedia/wl-screenrec: update to 0.1.2
Changes: https://github.com/russelltg/wl-screenrec/releases/tag/v0.1.2
Reported by: GitHub (watch releases) |
0.1.1 03 Dec 2023 18:57:33
    |
Jan Beich (jbeich)  |
multimedia/wl-screenrec: document cagebreak isn't supported unlike cage
$ cagebreak
$ wl-screenrec
thread 'main' panicked at src/main.rs:851:14:
Your compositor does not seem to support the wlr-output-manager protocol.
wl-screenrec requires a wlroots based compositor like sway or Hyprland:
NotPresent
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace |
0.1.1 03 Dec 2023 18:54:54
    |
Jan Beich (jbeich)  |
multimedia/wl-screenrec: document cage support after 3a87cb34b894
https://github.com/cage-kiosk/cage/commit/6f78d9d5b2a9 |
0.1.1 18 Nov 2023 19:00:33
    |
Jan Beich (jbeich)  |
multimedia/wl-screenrec: update to 0.1.1
Changes: https://github.com/russelltg/wl-screenrec/releases/tag/v0.1.1
Reported by: GitHub (watch releases) |
0.1.0_1 12 Nov 2023 09:39:15
    |
Jan Beich (jbeich)  |
multimedia/wl-screenrec: unbreak build with ffmpeg 6.1
error[E0004]: non-exhaustive patterns: `sys::AVPixelFormat::AV_PIX_FMT_P212BE`,
`sys::AVPixelFormat::AV_PIX_FMT_P212LE`, `sys::AVPixelFormat::AV_PIX_FMT_P412BE`
and 3 more not covered
--> cargo-crates/ffmpeg-next-6.0.0/src/util/format/pixel.rs:467:15
|
467 | match value {
| ^^^^^ patterns `sys::AVPixelFormat::AV_PIX_FMT_P212BE`,
`sys::AVPixelFormat::AV_PIX_FMT_P212LE`, `sys::AVPixelFormat::AV_PIX_FMT_P412BE`
and 3 more not covered
|
note: `sys::AVPixelFormat` defined here
-->
/wrkdirs/usr/ports/multimedia/wl-screenrec/work/target/x86_64-unknown-freebsd/release/build/ffmpeg-sys-next-8e1bcbc25d8d3e7a/out/bindings.rs:4814:1
|
4814 | pub enum AVPixelFormat {
| ^^^^^^^^^^^^^^^^^^^^^^
= note: the matched value is of type `sys::AVPixelFormat`
help: ensure that all possible cases are being handled by adding a match arm
with a wildcard pattern as shown, or multiple match arms (Only the first 15 lines of the commit message are shown above ) |
0.1.0_1 24 Oct 2023 10:22:32
    |
Mikael Urankar (mikael)  |
lang/rust: Bump revisions after 1.73.0
PR: 274499 |
0.1.0 02 Oct 2023 03:43:50
    |
Jan Beich (jbeich)  |
multimedia/wl-screenrec: update to 0.1.0
Changes: https://github.com/russelltg/wl-screenrec/compare/a36c592...v0.1.0
Changes: https://github.com/russelltg/wl-screenrec/releases/tag/v0.1.0
Reported by: GitHub (watch releases) |
s20230920 30 Sep 2023 00:58:12
    |
Jan Beich (jbeich)  |
multimedia/wl-screenrec: update to s20230920
Changes: https://github.com/russelltg/wl-screenrec/compare/f08aed5...a36c592 |
s20230916 19 Sep 2023 15:39:53
    |
Jan Beich (jbeich)  |
multimedia/wl-screenrec: update to s20230916
Changes: https://github.com/russelltg/wl-screenrec/compare/e4d708e...f08aed5 |
s20230808_1 08 Sep 2023 09:06:24
    |
Mikael Urankar (mikael)  |
lang/rust: Bump revisions after 1.72.0
PR: 273331 |
s20230808 12 Aug 2023 00:31:42
    |
Jan Beich (jbeich)  |
multimedia/wl-screenrec: update to s20230808
Changes: https://github.com/russelltg/wl-screenrec/compare/a13c399...e4d708e |
s20230723_1 25 Jul 2023 00:31:28
    |
Jan Beich (jbeich)  |
multimedia/wl-screenrec: update to s20230723
Changes: https://github.com/russelltg/wl-screenrec/compare/666fc69...a13c399 |
s20230723 23 Jul 2023 21:09:35
    |
Jan Beich (jbeich)  |
multimedia/wl-screenrec: update to s20230723
Changes: https://github.com/russelltg/wl-screenrec/compare/20c6da9...666fc69 |
s20230716_1 22 Jul 2023 19:23:26
    |
Jan Beich (jbeich)  |
multimedia/wl-screenrec: make --version report Git hash
Based on `git describe --tags`. As upstream doesn't have any tags yet
use snapshot date as an offset with a synthetic tag to unbreak build.
$ wl-screenrec --version
-wl-screenrec 0.1.0
+wl-screenrec 0.1.0-s20230716-g20c6da9 |
s20230716 20 Jul 2023 00:56:13
    |
Jan Beich (jbeich)  |
multimedia/wl-screenrec: update to s20230716
Changes: https://github.com/russelltg/wl-screenrec/compare/2d66770...20c6da9 |
s20230709_1 17 Jul 2023 15:58:38
    |
Mikael Urankar (mikael)  |
lang/rust: Bump revisions after 1.71.0
PR: 272449 |
s20230709 10 Jul 2023 23:56:50
    |
Jan Beich (jbeich)  |
multimedia/wl-screenrec: update to s20230709
Changes: https://github.com/russelltg/wl-screenrec/compare/1240033...2d66770 |
s20230703 04 Jul 2023 13:37:50
    |
Jan Beich (jbeich)  |
multimedia/wl-screenrec: update to s20230703
Changes: https://github.com/russelltg/wl-screenrec/compare/7ceafa9...1240033 |
s20230625 03 Jul 2023 20:45:28
    |
Jan Beich (jbeich)  |
multimedia/wl-screenrec: document VA-API requirement
Based on upstream README.md but reworded to match FreeBSD packages. |
s20230625 03 Jul 2023 04:15:07
    |
Jan Beich (jbeich)  |
multimedia/wl-screenrec: add new port
High performance screen recorder for Wayland. Requres a wayland
compositor supporting wlr-output-management-unstable-v1 and
wlr-screencopy-unstable-v1 protocols, like sway and Hyprland.
Uses dma-buf transfers to get surface, and uses the GPU to do both the
pixel format conversion and the encoding, meaning the raw video data
never touches the CPU, leaving it free to run your applications.
https://github.com/russelltg/wl-screenrec |