void-packages/srcpkgs/wf-recorder/template

24 lines
750 B
Bash

# Template file for 'wf-recorder'
pkgname=wf-recorder
version=0.3.0
revision=1
build_style=meson
hostmakedepends="pkg-config scdoc wayland-devel"
makedepends="wayland-protocols wayland-devel ffmpeg-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=3af1e933872653233d87167bab73d96f984d00e995385190b586be4d89dbbfdf
# 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
}