void-packages/srcpkgs/wf-recorder/template

24 lines
792 B
Bash

# Template file for 'wf-recorder'
pkgname=wf-recorder
version=0.5.0
revision=2
build_style=meson
hostmakedepends="pkg-config scdoc wayland-devel"
makedepends="wayland-protocols wayland-devel libgbm-devel libdrm-devel
ffmpeg6-devel x264-devel pulseaudio-devel pipewire-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=b9168bfdf41995bce2cfed5487e3ca8f2e75a5661b92cebea086a3468d20d87c
# 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
}