void-packages/srcpkgs/pulseaudio-module-sndio/template
2021-02-16 16:28:01 -03:00

22 lines
801 B
Bash

# Template file for 'pulseaudio-module-sndio'
pkgname=pulseaudio-module-sndio
version=13.0
revision=3
build_style=gnu-makefile
make_use_env=yes
hostmakedepends="pulseaudio pkg-config"
makedepends="sndio-devel pulseaudio-devel libltdl-devel libpulseaudio"
short_desc="Module for PulseAudio to support playing to sndio servers"
maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
license="LGPL-2.1-or-later, 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=0e76f8c2a25972d24cc7287bbd6cf6406bd84fd375d845a5e26e92766b173642
nocross="Can't link -lpulseco{re,mmon}-13.0."
post_install() {
[ -f LICENSE ] && exit 1
head -n 16 module-sndio.c >LICENSE
vlicense LICENSE
}