2018-03-25 15:52:40 +00:00
|
|
|
# $Id$
|
|
|
|
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - remove makedepend on valgrind
|
|
|
|
|
|
|
|
pkgname=pipewire
|
2018-07-18 20:53:42 +00:00
|
|
|
pkgver=0.2.0
|
|
|
|
pkgrel=1
|
2018-03-25 15:52:40 +00:00
|
|
|
pkgdesc="Server and user space API to deal with multimedia pipelines"
|
|
|
|
url="https://pipewire.org"
|
|
|
|
license=(LGPL2.1)
|
|
|
|
arch=(x86_64)
|
2018-07-18 20:53:42 +00:00
|
|
|
depends=(gstreamer gst-plugins-base v4l-utils sbc ffmpeg rtkit)
|
2018-03-25 15:52:40 +00:00
|
|
|
makedepends=(git meson doxygen graphviz xmltoman)
|
|
|
|
install=pipewire.install
|
2018-07-18 20:53:42 +00:00
|
|
|
_commit=061f2c82b53b2f6632b7b7d583058f683d9cfb86 # tags/0.2.0
|
2018-05-12 16:41:56 +00:00
|
|
|
source=("git+https://github.com/PipeWire/pipewire#commit=$_commit"
|
|
|
|
unhide-providers.diff)
|
|
|
|
sha256sums=('SKIP'
|
|
|
|
'8692ddbfc433bb4a56e3e4594683f9a7047b6cce539c7322dd3b74157a727f99')
|
2018-03-25 15:52:40 +00:00
|
|
|
|
|
|
|
|
|
|
|
pkgver() {
|
|
|
|
cd $pkgname
|
|
|
|
git describe --tags | sed 's/-/+/g'
|
|
|
|
}
|
|
|
|
|
|
|
|
prepare() {
|
|
|
|
cd $pkgname
|
2018-05-12 16:41:56 +00:00
|
|
|
|
|
|
|
# the pipewireprovider is broken: the devices provided have no caps
|
|
|
|
# at least don't hide other providers until this is fixed
|
|
|
|
patch -Np1 -i ../unhide-providers.diff
|
|
|
|
|
2018-03-25 15:52:40 +00:00
|
|
|
# Reduce docs size
|
|
|
|
printf '%s\n' >>doc/Doxyfile.in \
|
|
|
|
HAVE_DOT=yes DOT_IMAGE_FORMAT=svg INTERACTIVE_SVG=yes
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
arch-meson $pkgname build \
|
2018-05-12 16:41:56 +00:00
|
|
|
-D enable_docs=true \
|
|
|
|
-D enable_man=true \
|
|
|
|
-D enable_gstreamer=true
|
2018-03-25 15:52:40 +00:00
|
|
|
ninja -C build
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
cd build
|
|
|
|
meson test
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2018-07-18 20:53:42 +00:00
|
|
|
DESTDIR="$pkgdir" meson install -C build
|
2018-03-25 15:52:40 +00:00
|
|
|
}
|