extra/pipewire to 0.3.5-1

This commit is contained in:
Kevin Mihelich 2020-05-13 00:01:53 +00:00
parent d9e2b4c4aa
commit bdd38e744c

View file

@ -7,9 +7,9 @@
# - patch to disable neon on !aarch64
pkgbase=pipewire
pkgname=(pipewire pipewire-docs pipewire-jack pipewire-pulse)
pkgver=0.3.4
pkgrel=1.1
pkgname=(pipewire pipewire-docs pipewire-jack pipewire-pulse pipewire-alsa)
pkgver=0.3.5
pkgrel=1
pkgdesc="Server and user space API to deal with multimedia pipelines"
url="https://pipewire.org"
license=(LGPL2.1)
@ -17,7 +17,7 @@ arch=(x86_64)
makedepends=(git meson doxygen graphviz xmltoman jack2 libpulse
alsa-lib gstreamer gst-plugins-base sbc rtkit vulkan-icd-loader
dbus libsndfile bluez-libs vulkan-headers)
_commit=33398d7de83fad1c67c691e0712e3e0108c5e966 # tags/0.3.4
_commit=ba215efed0da8d6c9f3f2414d76a8e2c75352501 # tags/0.3.5
source=("git+https://github.com/PipeWire/pipewire#commit=$_commit"
0001-atomic.patch
0002-disable-neon.patch)
@ -78,6 +78,9 @@ package_pipewire() {
cd "$pkgdir"
mkdir -p etc/alsa/conf.d
ln -st etc/alsa/conf.d /usr/share/alsa/alsa.conf.d/50-pipewire.conf
_pick docs usr/share/doc
_pick pulse usr/bin/pw-pulse usr/lib/pipewire-$_ver/pulse
@ -102,3 +105,11 @@ package_pipewire-pulse() {
depends=(libpipewire-$_ver.so libglib-2.0.so)
mv pulse/* "$pkgdir"
}
package_pipewire-alsa() {
pkgdesc="ALSA Configuration for PipeWire"
depends=(libpipewire-$_ver.so)
mkdir -p "$pkgdir/etc/alsa/conf.d"
ln -st "$pkgdir/etc/alsa/conf.d" /usr/share/alsa/alsa.conf.d/99-pipewire-default.conf
}