void-packages/srcpkgs/wf-recorder/template

24 lines
770 B
Bash

# Template file for 'wf-recorder'
pkgname=wf-recorder
version=0.2.1
revision=1
build_style=meson
hostmakedepends="pkg-config ninja scdoc wayland-devel"
makedepends="wayland-protocols wayland-devel ffmpeg-devel x264-devel
pulseaudio-devel ocl-icd-devel"
short_desc="Screen recorder for wlroots-based compositors"
maintainer="Jony <maybe-one-day-ubermensch@protonmail.com>"
license="MIT"
homepage="https://github.com/ammen99/wf-recorder"
distfiles="https://github.com/ammen99/${pkgname}/archive/v${version}.tar.gz"
checksum=45cf04cf58cf241c22fa2fbb70481a3747ad33e6930e4bdba7b9cc7018789ad1
# silly workaround to prevent vector/bool/etc from being defined
case "$XBPS_TARGET_MACHINE" in
ppc*) CXXFLAGS+=" -D__APPLE_ALTIVEC__";;
esac
post_install() {
vlicense LICENSE
}