PKGBUILDs/extra/pipewire/PKGBUILD

48 lines
991 B
Bash
Raw Normal View History

2018-03-25 15:52:40 +00:00
# Maintainer: Jan de Groot <jgc@archlinux.org>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - remove makedepend on valgrind
pkgname=pipewire
2018-11-25 23:25:45 +00:00
pkgver=0.2.4
2018-07-18 20:53:42 +00:00
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-11-25 23:25:45 +00:00
_commit=14ebb85e7482c5b7963d2e647608464f5cd148bb # tags/0.2.4
2018-11-04 22:38:15 +00:00
source=("git+https://github.com/PipeWire/pipewire#commit=$_commit")
sha256sums=('SKIP')
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
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-09-02 05:00:46 +00:00
-D docs=true \
2018-11-06 00:22:56 +00:00
-D man=true
2018-03-25 15:52:40 +00:00
ninja -C build
}
check() {
2018-08-02 23:12:04 +00:00
meson test -C build
2018-03-25 15:52:40 +00:00
}
package() {
2018-07-18 20:53:42 +00:00
DESTDIR="$pkgdir" meson install -C build
2018-03-25 15:52:40 +00:00
}