void-packages/srcpkgs/pipewire/template

28 lines
926 B
Bash

# Template file for 'pipewire'
pkgname=pipewire
version=0.1.9
revision=1
configure_args="-Denable_man=true -Denable_gstreamer=false"
build_style=meson
hostmakedepends="pkg-config xmltoman"
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=d7dc591d60c3544f3c24b2b0ab1db458991dd69d0610337fd0accf136373916b
# 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"
}
}