void-packages/srcpkgs/wireplumber/template
2021-08-28 16:00:54 -03:00

34 lines
1.1 KiB
Bash

# Template file for 'wireplumber'
pkgname=wireplumber
version=0.4.2
revision=1
build_style=meson
build_helper=gir
configure_args="-Dintrospection=enabled -Dsystem-lua=true -Dwpipc=enabled"
hostmakedepends="pkg-config glib-devel python3-lxml doxygen"
makedepends="libglib-devel pipewire-devel lua54-devel"
# FIXME: required for it to launch at all, might be a config bug
depends="libspa-v4l2"
checkdepends="pipewire dbus"
short_desc="Session and policy manager implementation for PipeWire"
maintainer="Érico Nogueira <ericonr@disroot.org>"
license="MIT"
homepage="https://pipewire.pages.freedesktop.org/wireplumber"
changelog="https://gitlab.freedesktop.org/pipewire/wireplumber/-/raw/master/NEWS.rst"
distfiles="https://gitlab.freedesktop.org/pipewire/wireplumber/-/archive/$version/wireplumber-$version.tar.gz"
checksum=79be595ed5c12edeeb7dd07092c7dacb756a28ac4f453af4108793a002395d4a
post_install() {
vlicense LICENSE
}
wireplumber-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/gir-1.0
}
}