diff --git a/extra/pipewire/PKGBUILD b/extra/pipewire/PKGBUILD index 3465fb06f..667542e65 100644 --- a/extra/pipewire/PKGBUILD +++ b/extra/pipewire/PKGBUILD @@ -8,7 +8,7 @@ pkgbase=pipewire pkgname=(pipewire alsa-card-profiles pipewire-docs pipewire-media-session pipewire-alsa pipewire-jack pipewire-pulse gst-plugin-pipewire pipewire-zeroconf) -pkgver=0.3.28 +pkgver=0.3.29 pkgrel=1 epoch=1 pkgdesc="Low-latency audio/video router and processor" @@ -18,23 +18,23 @@ arch=(x86_64) makedepends=(git meson doxygen xmltoman libpulse alsa-lib gst-plugins-base rtkit dbus sdl2 ncurses libsndfile bluez-libs sbc libldac libopenaptx libfdk-aac vulkan-headers vulkan-icd-loader - avahi) + avahi webrtc-audio-processing) checkdepends=(desktop-file-utils) -_commit=fb55cc4786ce5e78b0987248dd44e54daec77f80 # tags/0.3.28 +_commit=1b484867eb20dbcf9ffea812834fc9142f89f652 # tags/0.3.29 source=("git+https://gitlab.freedesktop.org/pipewire/pipewire.git#commit=$_commit") sha256sums=('SKIP') pkgver() { - cd $pkgbase + cd pipewire git describe --tags | sed 's/-/+/g' } prepare() { - cd $pkgbase + cd pipewire } build() { - arch-meson $pkgbase build \ + arch-meson pipewire build \ -D docs=enabled \ -D jack=disabled \ -D libcamera=disabled \ @@ -62,41 +62,44 @@ package_pipewire() { license+=(LGPL) # libspa-alsa depends=(rtkit alsa-card-profiles libdbus-1.so libncursesw.so libsndfile.so libudev.so libasound.so libsystemd.so libbluetooth.so libsbc.so - libldacBT_enc.so libopenaptx.so libfdk-aac.so libvulkan.so) + libldacBT_enc.so libopenaptx.so libfdk-aac.so libvulkan.so + libwebrtc_audio_processing.so) optdepends=('pipewire-docs: Documentation' 'pipewire-media-session: Default session manager' 'pipewire-alsa: ALSA configuration' 'pipewire-jack: JACK support' 'pipewire-pulse: PulseAudio replacement' - 'gst-plugin-pipewire: GStreamer support') + 'gst-plugin-pipewire: GStreamer support' + 'pipewire-zeroconf: Zeroconf support') provides=(libpipewire-$_ver.so) install=pipewire.install meson install -C build --destdir "$pkgdir" - install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 $pkgbase/COPYING + ( cd "$pkgdir" - cd "$pkgdir" + _pick acp usr/lib/udev + _pick acp usr/share/alsa-card-profile - _pick acp usr/lib/udev - _pick acp usr/share/alsa-card-profile + _pick docs usr/share/doc - _pick docs usr/share/doc + _pick pms usr/bin/pipewire-media-session + _pick pms usr/lib/systemd/user/pipewire-media-session.service + _pick pms usr/share/pipewire/media-session.d/*.conf - _pick pms usr/bin/pipewire-media-session - _pick pms usr/lib/systemd/user/pipewire-media-session.service - _pick pms usr/share/pipewire/media-session.d/*.conf + _pick jack usr/bin/pw-jack usr/lib/pipewire-$_ver/jack + _pick jack usr/share/man/man1/pw-jack.1 + _pick jack usr/share/pipewire/{jack.conf,media-session.d/with-jack} - _pick jack usr/bin/pw-jack usr/lib/pipewire-$_ver/jack - _pick jack usr/share/man/man1/pw-jack.1 - _pick jack usr/share/pipewire/{jack.conf,media-session.d/with-jack} + _pick pulse usr/lib/pipewire-$_ver/libpipewire-module-pulse-tunnel.so + _pick pulse usr/share/pipewire/media-session.d/with-pulseaudio - _pick pulse usr/lib/pipewire-$_ver/libpipewire-module-pulse-tunnel.so - _pick pulse usr/share/pipewire/media-session.d/with-pulseaudio + _pick gst usr/lib/gstreamer-1.0 - _pick gst usr/lib/gstreamer-1.0 + _pick zeroconf usr/lib/pipewire-$_ver/libpipewire-module-zeroconf-discover.so + ) - _pick zeroconf usr/lib/pipewire-$_ver/libpipewire-module-zeroconf-discover.so + install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 pipewire/COPYING } package_alsa-card-profiles() { @@ -111,7 +114,7 @@ package_pipewire-docs() { mv docs/* "$pkgdir" - install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 $pkgbase/COPYING + install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 pipewire/COPYING } package_pipewire-media-session() { @@ -121,7 +124,7 @@ package_pipewire-media-session() { mv pms/* "$pkgdir" - install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 $pkgbase/COPYING + install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 pipewire/COPYING } package_pipewire-alsa() { @@ -131,12 +134,12 @@ package_pipewire-alsa() { mkdir -p "$pkgdir/etc/alsa/conf.d" ln -st "$pkgdir/etc/alsa/conf.d" \ - /usr/share/alsa/alsa.conf.d/{50-pipewire,99-pipewire-default}.conf + /usr/share/alsa/alsa.conf.d/{50-pipewire,99-pipewire-default}.conf install -Dm644 /dev/null \ "$pkgdir/usr/share/pipewire/media-session.d/with-alsa" - install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 $pkgbase/COPYING + install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 pipewire/COPYING } package_pipewire-jack() { @@ -146,7 +149,7 @@ package_pipewire-jack() { mv jack/* "$pkgdir" - install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 $pkgbase/COPYING + install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 pipewire/COPYING } package_pipewire-pulse() { @@ -158,7 +161,7 @@ package_pipewire-pulse() { mv pulse/* "$pkgdir" - install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 $pkgbase/COPYING + install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 pipewire/COPYING } package_gst-plugin-pipewire() { @@ -167,7 +170,7 @@ package_gst-plugin-pipewire() { mv gst/* "$pkgdir" - install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 $pkgbase/COPYING + install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 pipewire/COPYING } package_pipewire-zeroconf() { @@ -176,7 +179,7 @@ package_pipewire-zeroconf() { mv zeroconf/* "$pkgdir" - install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 $pkgbase/COPYING + install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 pipewire/COPYING } # vim:set sw=2 et: