The top-bar recorder previously saved a full monitor without sound. It now lets you select a region within one monitor and choose system audio, microphone audio, or both. Audio remains off by default, and recordings with audio are saved as VP8/Opus WebM files. The portal still controls screen access and cancellation; stopping from the bar or ending the video stream finishes the recording, including its audio tracks. Region selection accounts for fractional display scales and negative monitor coordinates. The picker keeps its action buttons visible while the display list and recording options scroll together. The picker, dependency lists, and recording documentation now explain the available choices and the slurp and audio requirements. Routine pushes and pull requests no longer start CI runners. Workspace checks and website deployment are manual, while release checks run when requested manually, through a version tag, or through a PR labeled `release`. Publishing still requires a pushed version tag. This also fixes release asset checksums by normalizing RPM filenames before generating the checksum file. Validated locally with a release build, portal and shell recorder tests, formatting, Clippy, actionlint, packaging tests, and mocked publishing checks. Media tests encoded and decoded cropped video with audio, checked that video termination finishes live audio, and exercised system, microphone, and combined capture against a private PipeWire-Pulse server. Mixed recordings must contain both fixture frequencies, with negative controls for either missing source. The picker was also checked on 800 × 600 and 800 × 400 desktops and opened in a live nested window.
51 lines
2.4 KiB
Plaintext
51 lines
2.4 KiB
Plaintext
pkgname=ferese
|
|
pkgver=@VERSION@
|
|
pkgrel=1
|
|
pkgdesc='Scrolling Wayland desktop with its shell, Settings and desktop portal'
|
|
arch=('x86_64')
|
|
url='https://github.com/ferese-wm/ferese'
|
|
license=('MIT' 'Apache-2.0' 'BSD-2-Clause' 'BSD-3-Clause' 'BSL-1.0' 'CC0-1.0' 'CDLA-Permissive-2.0' 'ISC' 'MPL-2.0' 'Unicode-3.0' 'Unlicense' 'Zlib' 'OFL-1.1' 'Apache-2.0 WITH LLVM-exception')
|
|
depends=('wayland' 'libxkbcommon' 'libinput' 'systemd-libs' 'seatd' 'mesa' 'libdrm'
|
|
'fontconfig' 'freetype2' 'expat' 'dbus' 'python' 'bash' 'util-linux' 'systemd' 'pam' 'polkit' 'foot' 'pipewire'
|
|
'wireplumber' 'libpipewire' 'gstreamer' 'xdg-desktop-portal' 'xdg-desktop-portal-gtk')
|
|
makedepends=('cargo' 'cmake' 'clang' 'pkgconf' 'python' 'desktop-file-utils')
|
|
checkdepends=('dbus' 'vulkan-swrast' 'xorg-xauth')
|
|
optdepends=('brightnessctl: brightness controls' 'slurp: screenshot and recording region selection'
|
|
'satty: screenshot editing' 'wl-clipboard: screenshot clipboard'
|
|
'gst-plugins-base: recording codecs' 'gst-plugins-good: recording codecs'
|
|
'gst-plugin-pipewire: PipeWire recording'
|
|
'pipewire-pulse: system sound and microphone recording'
|
|
'xorg-xwayland: X11 applications' 'xwayland-satellite: X11 application integration (requires readiness support)')
|
|
# GCC LTO objects from the SPA C wrappers cannot be linked by Rust's lld.
|
|
options=('!lto')
|
|
backup=('etc/pam.d/ferese-lock')
|
|
conflicts=('ferese-git')
|
|
_source_version=@UPSTREAM_VERSION@
|
|
source=("$url/releases/download/v$_source_version/ferese-$_source_version.tar.gz")
|
|
sha256sums=('@SHA256@')
|
|
|
|
build() {
|
|
cd "$srcdir/ferese-$_source_version"
|
|
export CARGO_HOME="$PWD/cargo-home"
|
|
export CARGO_PROFILE_RELEASE_DEBUG=0
|
|
cargo build --release --frozen --offline --workspace
|
|
}
|
|
|
|
check() {
|
|
cd "$srcdir/ferese-$_source_version"
|
|
export CARGO_HOME="$PWD/cargo-home"
|
|
export CARGO_PROFILE_RELEASE_DEBUG=0
|
|
export TZ=UTC
|
|
export XDG_RUNTIME_DIR="$(mktemp -d)"
|
|
trap 'rm -r -- "$XDG_RUNTIME_DIR"' EXIT
|
|
python -m unittest discover -s scripts/tests -p test_package.py
|
|
dbus-run-session -- cargo test --release --frozen --offline --workspace
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/ferese-$_source_version"
|
|
python scripts/package.py stage --destdir "$pkgdir" --pam arch
|
|
desktop-file-validate "$pkgdir/usr/share/wayland-sessions/ferese.desktop"
|
|
desktop-file-validate "$pkgdir/usr/share/applications/dev.ferese.Settings.desktop"
|
|
}
|