summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorHuang-Huang Bao2021-02-24 17:17:38 +0800
committerHuang-Huang Bao2021-02-24 17:18:44 +0800
commita3b4e63a06e5e4c546d73da6333a7ed8033fdf1e (patch)
tree116388fc3145178efb014e14906cf89874b33e37
parent61f8138fafa061ffcc6eba0bb2f4df7617389aa7 (diff)
downloadaur-a3b4e63a06e5e4c546d73da6333a7ed8033fdf1e.tar.gz
Enable pipewire-media-session.service
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
-rw-r--r--pipewire.install6
3 files changed, 12 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8ab6beb4133..fc3b5125844 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = pipewire-full-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
@@ -104,12 +104,14 @@ pkgname = gst-plugin-pipewire-full-git
pkgname = pipewire-full-vulkan-git
pkgdesc = Vulkan SPA plugin
+ depends = pipewire-full-git
depends = vulkan-icd-loader
provides = pipewire-vulkan
conflicts = pipewire-vulkan
pkgname = pipewire-full-ffmpeg-git
pkgdesc = FFmpeg SPA plugin
+ depends = pipewire-full-git
depends = libavcodec.so
depends = libavformat.so
provides = pipewire-ffmpeg
diff --git a/PKGBUILD b/PKGBUILD
index b7bf2da0ff3..a3fbf1d67c2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,7 @@ pkgname=(pipewire-full-git pipewire-full-docs-git pipewire-full-alsa-git
gst-plugin-pipewire-full-git
pipewire-full-vulkan-git pipewire-full-ffmpeg-git
pipewire-full-bluez5-git pipewire-full-bluez5-hsphfpd-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"
@@ -168,7 +168,7 @@ package_gst-plugin-pipewire-full-git() {
package_pipewire-full-vulkan-git() {
pkgdesc="Vulkan SPA plugin"
- depends=(vulkan-icd-loader)
+ depends=(pipewire-full-git vulkan-icd-loader)
provides=(pipewire-vulkan)
conflicts=(pipewire-vulkan)
mv vulkan/* "${pkgdir}"
@@ -176,7 +176,7 @@ package_pipewire-full-vulkan-git() {
package_pipewire-full-ffmpeg-git() {
pkgdesc="FFmpeg SPA plugin"
- depends=(libavcodec.so libavformat.so)
+ depends=(pipewire-full-git libavcodec.so libavformat.so)
provides=(pipewire-ffmpeg)
conflicts=(pipewire-ffmpeg)
mv ffmpeg/* "${pkgdir}"
diff --git a/pipewire.install b/pipewire.install
index 416e5ed97a1..10d28ad19d1 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
}