PKGBUILDs/extra/pipewire/PKGBUILD
2018-11-04 22:38:15 +00:00

48 lines
1 KiB
Bash

# Maintainer: Jan de Groot <jgc@archlinux.org>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - remove makedepend on valgrind
pkgname=pipewire
pkgver=0.2.3+3+gbbba49aa
pkgrel=1
pkgdesc="Server and user space API to deal with multimedia pipelines"
url="https://pipewire.org"
license=(LGPL2.1)
arch=(x86_64)
depends=(gstreamer gst-plugins-base v4l-utils sbc ffmpeg rtkit)
makedepends=(git meson doxygen graphviz xmltoman)
install=pipewire.install
_commit=bbba49aae1e593cf5e1c00fdfcb39dc3f0d91ec5 # pull/86/head~1
source=("git+https://github.com/PipeWire/pipewire#commit=$_commit")
sha256sums=('SKIP')
pkgver() {
cd $pkgname
git describe --tags | sed 's/-/+/g'
}
prepare() {
cd $pkgname
# Reduce docs size
printf '%s\n' >>doc/Doxyfile.in \
HAVE_DOT=yes DOT_IMAGE_FORMAT=svg INTERACTIVE_SVG=yes
}
build() {
arch-meson $pkgname build \
-D docs=true \
-D man=true \
-D gstreamer=true
ninja -C build
}
check() {
meson test -C build
}
package() {
DESTDIR="$pkgdir" meson install -C build
}