# 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: ffmpeg4 pulseaudio wayland-protocols x264 # 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 }