void-packages/srcpkgs/pipewire/template

36 lines
1.1 KiB
Bash
Raw Normal View History

2018-01-14 09:03:12 +00:00
# Template file for 'pipewire'
pkgname=pipewire
2018-02-14 20:37:46 +00:00
version=0.1.8
2018-01-14 09:03:12 +00:00
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"
2018-02-14 20:37:46 +00:00
checksum=8e9e782d1193a0d28703860909a395725874b23678e939c5565d06f8156327fd
2018-01-14 09:03:12 +00:00
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"
}
}