void-packages/srcpkgs/pipewire/template

36 lines
1.1 KiB
Bash

# Template file for 'pipewire'
pkgname=pipewire
version=0.1.7
revision=1
configure_args="-Denable_docs=true -Denable_man=true -Denable_gstreamer=false"
build_style=meson
hostmakedepends="pkg-config xmltoman doxygen graphviz"
makedepends="dbus-devel jack-devel alsa-lib-devel v4l-utils-devel SDL2-devel
ffmpeg-devel libX11-devel"
short_desc="Server and user space API to deal with multimedia pipelines"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="LGPL-2.1"
homepage="https://pipewire.org/"
distfiles="https://github.com/PipeWire/pipewire/archive/${version}.tar.gz"
checksum=ed186539e08e20886f4ab0720e0e15c24fc71671480684118df004e9abebf125
pipewire-doc_package() {
noarch=yes
short_desc+=" - documentation"
pkg_install() {
vmove usr/share/doc
}
}
# XXX: There is potential to further divide into more subpkgs one for libpipewire
# and another for libspa
pipewire-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}