64 lines
1.6 KiB
Bash
64 lines
1.6 KiB
Bash
# Template file for 'pipewire'
|
|
pkgname=pipewire
|
|
version=0.2.6
|
|
revision=1
|
|
build_style=meson
|
|
configure_args="-Dman=true -Dgstreamer=enabled -Ddocs=true -Dsystemd=false"
|
|
hostmakedepends="doxygen graphviz pkg-config xmltoman"
|
|
makedepends="SDL2-devel ffmpeg-devel gst-plugins-base1-devel jack-devel
|
|
sbc-devel v4l-utils-devel libva-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/"
|
|
changelog="https://raw.githubusercontent.com/PipeWire/pipewire/master/NEWS"
|
|
distfiles="https://github.com/PipeWire/pipewire/archive/${version}.tar.gz"
|
|
checksum=8592bcc2a83b078fee6cfb8560397cf2747346f28e88689197e780069b19cb17
|
|
|
|
libpipewire_package() {
|
|
short_desc+=" - pipewire library"
|
|
pkg_install() {
|
|
vmove "usr/lib/libpipewire-0.2.so.*"
|
|
}
|
|
}
|
|
|
|
pipewire-devel_package() {
|
|
depends="libpipewire-${version}_${revision}"
|
|
short_desc+=" - pipewire and libspa development files"
|
|
pkg_install() {
|
|
vmove usr/include/pipewire
|
|
vmove usr/include/spa
|
|
vmove usr/lib/pkgconfig/libpipewire-0.2.pc
|
|
vmove usr/lib/pkgconfig/libspa-0.1.pc
|
|
vmove usr/lib/libpipewire-0.2.so
|
|
}
|
|
}
|
|
|
|
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() {
|
|
archs=noarch
|
|
short_desc+=" - documentation"
|
|
pkg_install() {
|
|
vmove usr/share/doc
|
|
}
|
|
}
|