diff options
| author | rawnix ports <ports@rawnix.org> | 2026-09-26 18:19:05 +0000 |
|---|---|---|
| committer | rawnix ports <ports@rawnix.org> | 2026-09-26 18:19:05 +0000 |
| commit | c82e88dd00d1b0b7fcfb4e5628d99611388cef6f (patch) | |
| tree | 56d864b5a5c6c145edd96178ae219a8f90e191a6 /opt/wl-screenrec | |
| download | ports-c82e88dd00d1b0b7fcfb4e5628d99611388cef6f.tar.gz | |
sync 2026-09-26 18:19 UTC
1672 files changed, 151396 insertions(+)
Diffstat (limited to 'opt/wl-screenrec')
| -rw-r--r-- | opt/wl-screenrec/.footprint | 3 | ||||
| -rw-r--r-- | opt/wl-screenrec/.signature | 6 | ||||
| -rw-r--r-- | opt/wl-screenrec/MAKEPKG | 51 |
3 files changed, 60 insertions, 0 deletions
diff --git a/opt/wl-screenrec/.footprint b/opt/wl-screenrec/.footprint new file mode 100644 index 0000000..99166f6 --- /dev/null +++ b/opt/wl-screenrec/.footprint @@ -0,0 +1,3 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/wl-screenrec diff --git a/opt/wl-screenrec/.signature b/opt/wl-screenrec/.signature new file mode 100644 index 0000000..e8241a1 --- /dev/null +++ b/opt/wl-screenrec/.signature @@ -0,0 +1,6 @@ +RWTZ9IduCSQ/mBQVMN4ySR/jvgRoHpNvSX+5v6lH3SfWVSLe2HLXecAPXvXWdLUi9Ws1wRIqR7V0A39TP0obDmw/blGJKLIDmA8= + +SHA256 (MAKEPKG) = 9e70e2b49329c566606451e3a28b73b33ef692df65d3a9d9e65d1748e6d02271 +SHA256 (.footprint) = 3c5e3eec07a693dbdf9d46a9e56e895ed29518993f6c6105374e0fdb4b44427d +SHA256 (wl-screenrec-0.3.1.tar.gz) = b55564cea4af0e20a5d9a350381fe8d26bf6b2addabbc81d15cafeaa5a5ad1e6 +SHA256 (wl-screenrec#0.3.1-2.pkg.tar.gz) = 133ffd87e533217700382a7fc1b3bcd9f458939f50ee97b86d7674d769a9d956 diff --git a/opt/wl-screenrec/MAKEPKG b/opt/wl-screenrec/MAKEPKG new file mode 100644 index 0000000..14d824c --- /dev/null +++ b/opt/wl-screenrec/MAKEPKG @@ -0,0 +1,51 @@ +#!/bin/mkpkg +# description: High performance wlroots screen recording with hardware encoding +# url: https://github.com/russelltg/wl-screenrec + +name=wl-screenrec +version=0.3.1 +release=2 +depends=(ffmpeg libdrm libva) +makedeps=(rust vulkan-headers pkgconf cargo-audit) +source=(https://github.com/russelltg/wl-screenrec/archive/refs/tags/v$version.tar.gz) +renames=($name-$version.tar.gz) +sha256sums=( + "b55564cea4af0e20a5d9a350381fe8d26bf6b2addabbc81d15cafeaa5a5ad1e6" +) + +patch() { + export CARGO_HOME="$SRC/.cargo" + cd $name-$version + cargo vendor ../vendor + mkdir -p .cargo + printf '%s\n' \ + '[source.crates-io]' \ + 'replace-with = "vendored-sources"' \ + '' \ + '[source."git+https://github.com/russelltg/rust-ffmpeg-sys?branch=vulkan"]' \ + 'git = "https://github.com/russelltg/rust-ffmpeg-sys"' \ + 'branch = "vulkan"' \ + 'replace-with = "vendored-sources"' \ + '' \ + '[source.vendored-sources]' \ + 'directory = "../vendor"' \ + > .cargo/config.toml + #cargo audit +} + +build() { + export CARGO_HTTP_CAINFO=/etc/ssl/cert.pem + export CARGO_PROFILE_RELEASE_LTO=off + export RUSTFLAGS="-C linker=clang -C link-arg=-fuse-ld=lld -C target-feature=-crt-static" + cd $name-$version + cargo build --release --offline + install -Dm755 target/release/$name $PKG/usr/bin/$name +} + +signify() { + untrusted comment: public key + RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3 +} + +# vim: filetype=sh + |
