cruxports/wf-recorder/Pkgfile

19 lines
587 B
Plaintext
Raw Normal View History

2022-02-05 15:39:19 -05:00
# Description: screen recording app for the wayland desktop
# URL: https://github.com/ammen99/wf-recorder/
# Maintainer: John McQuah, jmcquah at disroot dot org
2022-02-26 14:04:55 -05:00
# Depends on: meson ninja wayland-protocols ffmpeg4 x264 pulseaudio
2022-02-05 15:39:19 -05:00
# 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() {
2022-02-26 14:04:55 -05:00
export PKG_CONFIG_PATH='/usr/lib/ffmpeg4/pkgconfig'
2022-02-05 15:39:19 -05:00
cd $name-$version
meson build --prefix=/usr --buildtype=release
ninja -C build -j ${JOBS-1}
DESTDIR=$PKG ninja -C build install
}