diff --git a/extra/pipewire/PKGBUILD b/extra/pipewire/PKGBUILD index 93a62faef..49ba69b3e 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.37 +pkgver=0.3.38 pkgrel=1 epoch=1 pkgdesc="Low-latency audio/video router and processor" @@ -20,7 +20,7 @@ makedepends=(git meson doxygen graphviz python-docutils libpulse bluez-libs sbc libldac libfreeaptx libfdk-aac avahi webrtc-audio-processing) checkdepends=(desktop-file-utils) -_commit=c41e3553bf0a6b76d8949c081ba633f7a6343d19 # tags/0.3.37 +_commit=47a294c5bf52656998a7f43b13068c02001add77 # tags/0.3.38 source=("git+https://gitlab.freedesktop.org/pipewire/pipewire.git#commit=$_commit") sha256sums=('SKIP') diff --git a/extra/pipewire/pipewire-media-session.install b/extra/pipewire/pipewire-media-session.install index fd721ee40..af304d181 100644 --- a/extra/pipewire/pipewire-media-session.install +++ b/extra/pipewire/pipewire-media-session.install @@ -5,9 +5,19 @@ post_install() { } post_upgrade() { - if (( $(vercmp $2 0.3.23-1) < 0)); then + if (( $(vercmp "$2" '0.3.23-1') < 0)); then systemctl --global enable pipewire-media-session.service fi + + if (( $(vercmp "$2" '1:0.3.38-1') < 0)); then + printf "\tReenable any per-user enabled pipewire-media-session.service\n \ + \tmanually to establish a new service alias for\n \ + \tpipewire-session-manager.service added with 0.3.38.\n" + # reenable already enabled global pipewire-media-session.service, as an alias is introduced with 0.3.38 + if systemctl --global is-enabled -q pipewire-media-session.service; then + systemctl --global reenable pipewire-media-session.service + fi + fi } pre_remove() {