[arch-commits] Commit in pipewire/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Wed May 19 12:49:43 UTC 2021
Date: Wednesday, May 19, 2021 @ 12:49:42
Author: heftig
Revision: 415758
0.3.28-1
Modified:
pipewire/trunk/PKGBUILD
----------+
PKGBUILD | 37 ++++++++++++++++++++++++-------------
1 file changed, 24 insertions(+), 13 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-19 12:49:39 UTC (rev 415757)
+++ PKGBUILD 2021-05-19 12:49:42 UTC (rev 415758)
@@ -3,8 +3,9 @@
pkgbase=pipewire
pkgname=(pipewire alsa-card-profiles pipewire-docs pipewire-media-session
- pipewire-alsa pipewire-jack pipewire-pulse gst-plugin-pipewire)
-pkgver=0.3.27
+ pipewire-alsa pipewire-jack pipewire-pulse gst-plugin-pipewire
+ pipewire-zeroconf)
+pkgver=0.3.28
pkgrel=1
epoch=1
pkgdesc="Low-latency audio/video router and processor"
@@ -11,11 +12,12 @@
url="https://pipewire.org"
license=(MIT)
arch=(x86_64)
-makedepends=(git meson doxygen graphviz xmltoman valgrind libpulse alsa-lib
+makedepends=(git meson doxygen xmltoman valgrind libpulse alsa-lib
gst-plugins-base rtkit dbus sdl2 ncurses libsndfile bluez-libs sbc
- libldac libopenaptx libfdk-aac vulkan-headers vulkan-icd-loader)
+ libldac libopenaptx libfdk-aac vulkan-headers vulkan-icd-loader
+ avahi)
checkdepends=(desktop-file-utils)
-_commit=e598d0a42227c9dfa79dcb7583c054c5b2ec072d # tags/0.3.27
+_commit=fb55cc4786ce5e78b0987248dd44e54daec77f80 # tags/0.3.28
source=("git+https://gitlab.freedesktop.org/pipewire/pipewire.git#commit=$_commit")
sha256sums=('SKIP')
@@ -65,7 +67,6 @@
'pipewire-pulse: PulseAudio replacement'
'gst-plugin-pipewire: GStreamer support')
provides=(libpipewire-$_ver.so)
- backup=(etc/pipewire/{pipewire{,-pulse},client{,-rt}}.conf)
install=pipewire.install
meson install -C build --destdir "$pkgdir"
@@ -79,17 +80,20 @@
_pick docs usr/share/doc
- _pick pms etc/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 etc/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 etc/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 zeroconf usr/lib/pipewire-$_ver/libpipewire-module-zeroconf-discover.so
}
package_alsa-card-profiles() {
@@ -110,8 +114,6 @@
package_pipewire-media-session() {
pkgdesc+=" - Session manager"
depends=(pipewire libpipewire-$_ver.so)
- backup=(etc/pipewire/media-session.d/media-session.conf
- etc/pipewire/media-session.d/{alsa,bluez,v4l2}-monitor.conf)
install=pipewire-media-session.install
mv pms/* "$pkgdir"
@@ -128,7 +130,8 @@
ln -st "$pkgdir/etc/alsa/conf.d" \
/usr/share/alsa/alsa.conf.d/{50-pipewire,99-pipewire-default}.conf
- install -Dm644 /dev/null "$pkgdir/etc/pipewire/media-session.d/with-alsa"
+ install -Dm644 /dev/null \
+ "$pkgdir/usr/share/pipewire/media-session.d/with-alsa"
install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 $pkgbase/COPYING
}
@@ -137,7 +140,6 @@
pkgdesc+=" - JACK support"
license+=(GPL2) # libjackserver
depends=(pipewire-media-session libpipewire-$_ver.so)
- backup=(etc/pipewire/jack.conf)
mv jack/* "$pkgdir"
@@ -165,4 +167,13 @@
install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 $pkgbase/COPYING
}
+package_pipewire-zeroconf() {
+ pkgdesc+=" - Zeroconf support"
+ depends=(pipewire libpipewire-$_ver.so libavahi-{client,common}.so)
+
+ mv zeroconf/* "$pkgdir"
+
+ install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 $pkgbase/COPYING
+}
+
# vim:set sw=2 et:
More information about the arch-commits
mailing list