void-packages/srcpkgs/pipewire/template

79 lines
1.8 KiB
Bash

# Template file for 'pipewire'
pkgname=pipewire
version=0.1.9
revision=3
configure_args="-Denable_man=true -Denable_gstreamer=true -Denable_docs=true"
build_style=meson
hostmakedepends="doxygen graphviz pkg-config xmltoman"
makedepends="SDL2-devel ffmpeg-devel gst-plugins-base1-devel jack-devel
sbc-devel v4l-utils-devel"
short_desc="Server and user space API to deal with multimedia pipelines"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="LGPL-2.1-or-later"
homepage="https://pipewire.org/"
distfiles="https://github.com/PipeWire/pipewire/archive/${version}.tar.gz"
checksum=d7dc591d60c3544f3c24b2b0ab1db458991dd69d0610337fd0accf136373916b
libpipewire_package() {
short_desc+=" - pipewire library"
pkg_install() {
vmove "usr/lib/libpipewire-0.1.so.*"
}
}
pipewire-devel_package() {
depends="libpipewire-${version}_${revision}"
short_desc+=" - pipewire development files"
pkg_install() {
vmove usr/include/pipewire
vmove usr/lib/pkgconfig/libpipewire-0.1.pc
vmove usr/lib/libpipewire-0.1.so
}
}
libspa-lib_package() {
short_desc+=" - spa-lib library"
pkg_install() {
vmove "usr/lib/libspa-lib.so.*"
}
}
libspa-lib-devel_package() {
depends="libspa-lib-${version}_${revision}"
short_desc+=" - spa-lib development files"
pkg_install() {
vmove usr/include/spa
vmove usr/lib/libspa-lib.so
vmove usr/lib/pkgconfig/libspa-0.1.pc
}
}
libspa-ffmpeg_package() {
short_desc+=" - ffmpeg plugins"
pkg_install() {
vmove usr/lib/spa/ffmpeg
}
}
libspa-bluetooth_package() {
short_desc+=" - bluetooth plugins"
pkg_install() {
vmove usr/lib/spa/bluez5
}
}
gstreamer1-pipewire_package() {
short_desc+=" - gstreamer plugin"
pkg_install() {
vmove usr/lib/gstreamer-1.0
}
}
pipewire-doc_package() {
noarch=yes
short_desc+=" - documentation"
pkg_install() {
vmove usr/share/doc
}
}