void-packages/srcpkgs/pulseaudio-module-sndio/template

22 lines
788 B
Bash

# Template file for 'pulseaudio-module-sndio'
pkgname=pulseaudio-module-sndio
version=12.0
revision=2
build_style=gnu-makefile
make_use_env=yes
hostmakedepends="pulseaudio pkg-config"
makedepends="sndio-devel pulseaudio-devel libltdl-devel libpulseaudio"
nocross="Can't link -lpulseco{re,mmon}-12.0."
short_desc="Module for PulseAudio to support playing to sndio servers"
maintainer="Toyam Cox <Vaelatern@voidlinux.eu>"
license="LGPL-2 ISC"
homepage="https://github.com/t6/pulseaudio-module-sndio"
distfiles="https://github.com/t6/pulseaudio-module-sndio/releases/download/${version}/${pkgname}-${version}.tar.gz"
checksum=785baffed274241eb8e1642d0d6e66a411f7f6bf0d0257f46dcd51a809feb835
post_install() {
[ -f LICENSE ] && exit 1
head -n 16 module-sndio.c >LICENSE
vlicense LICENSE
}