mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
extra/pipewire to 0.3.38-1
This commit is contained in:
parent
7a6079dff4
commit
f4e742e0a9
2 changed files with 13 additions and 3 deletions
|
@ -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')
|
||||
|
||||
|
|
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue