cruxports/wf-recorder/Pkgfile

19 lines
587 B
Plaintext

# Description: screen recording app for the wayland desktop
# URL: https://github.com/ammen99/wf-recorder/
# Maintainer: John McQuah, jmcquah at disroot dot org
# Depends on: meson ninja wayland-protocols ffmpeg4 x264 pulseaudio
# Nice to have: x265
name=wf-recorder
version=0.2.1
release=1
source=(https://github.com/ammen99/$name/releases/download/v$version/$name-$version.tar.xz)
build() {
export PKG_CONFIG_PATH='/usr/lib/ffmpeg4/pkgconfig'
cd $name-$version
meson build --prefix=/usr --buildtype=release
ninja -C build -j ${JOBS-1}
DESTDIR=$PKG ninja -C build install
}