void-packages/srcpkgs/wf-recorder/template

24 lines
763 B
Bash

# Template file for 'wf-recorder'
pkgname=wf-recorder
version=0.4.1
revision=2
build_style=meson
hostmakedepends="pkg-config scdoc wayland-devel"
makedepends="wayland-protocols wayland-devel ffmpeg-devel libgbm-devel x264-devel
pulseaudio-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=486e9c03693026e7e287e9cddda5b78488b22706aed1ab789e19ffd09e4adfda
# 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
}