diff options
author | Huang-Huang Bao | 2021-02-24 17:19:45 +0800 |
---|---|---|
committer | Huang-Huang Bao | 2021-02-24 17:19:45 +0800 |
commit | 1ec9f9db66eb2faf4b286877c0e5be0f429d7461 (patch) | |
tree | 43b597b6e30e64b02122fcbad242176a2705ddbe | |
parent | 823894c0d02deaa0886fc229ce025bf45be3f5fe (diff) | |
download | aur-1ec9f9db66eb2faf4b286877c0e5be0f429d7461.tar.gz |
Enable pipewire-media-session.service
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | pipewire.install | 6 |
3 files changed, 8 insertions, 2 deletions
@@ -1,6 +1,6 @@ pkgbase = pipewire-common-git pkgdesc = Low-latency audio/video router and processor - pkgver = 0.3.22.r12.g84fc63e6 + pkgver = 0.3.22.r46.ge340a44a pkgrel = 1 url = https://pipewire.org arch = x86_64 @@ -7,7 +7,7 @@ pkgbase=pipewire-common-git pkgname=(pipewire-common-git pipewire-common-docs-git pipewire-common-alsa-git pipewire-common-jack-git pipewire-common-pulse-git gst-plugin-pipewire-common-git) -pkgver=0.3.22.r12.g84fc63e6 +pkgver=0.3.22.r46.ge340a44a pkgrel=1 pkgdesc="Low-latency audio/video router and processor" url="https://pipewire.org" diff --git a/pipewire.install b/pipewire.install index 416e5ed97a1d..10d28ad19d15 100644 --- a/pipewire.install +++ b/pipewire.install @@ -1,14 +1,20 @@ post_install() { # Enable socket by default systemctl --global enable pipewire.socket + systemctl --global enable pipewire-media-session.service } post_upgrade() { if (( $(vercmp $2 0.1.6-2) < 0)); then systemctl --global enable pipewire.socket fi + + if (( $(vercmp $2 0.3.22.r46.ge340a44a-2) < 0)); then + systemctl --global enable pipewire-media-session.service + fi } pre_remove() { systemctl --global disable pipewire.socket + systemctl --global disable pipewire-media-session.service } |