Skip to content
Snippets Groups Projects
Verified Commit 855c0716 authored by Clayton Craft's avatar Clayton Craft :speech_balloon:
Browse files

systemd/pipewire: add install scripts for systemd presets (MR 5551)

fixes #3153
parent 352111f6
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@
pkgname=pipewire
pkgver=9991.2.0
_pkgver=1.2.0
pkgrel=0
pkgrel=1
_so_ver=0.3
pkgdesc="Multimedia processing graphs"
url="https://pipewire.org/"
......@@ -59,7 +59,7 @@ subpackages="
$pkgname-spa-tools:spa_tools
$pkgname-lang
"
install="$pkgname.post-upgrade $pkgname.post-install"
install="$pkgname.post-upgrade $pkgname.post-install $pkgname.pre-deinstall"
source="https://gitlab.freedesktop.org/PipeWire/pipewire/-/archive/$_pkgver/pipewire-$_pkgver.tar.gz
pipewire.desktop
pipewire-launcher.sh
......@@ -151,6 +151,7 @@ pulse() {
"
provides="pulseaudio=$pkgver-r$pkgrel pulseaudio-bluez=$pkgver-r$pkgrel"
provider_priority=1
install="$subpkgname.post-install $subpkgname.pre-deinstall"
amove usr/bin/pipewire-pulse
amove usr/lib/pipewire-$_so_ver/libpipewire-module-protocol-pulse.so
......
#!/bin/sh
. /usr/lib/systemd/systemd-apk-macros.sh
systemd_service_post_install user pipewire-pulse.socket
#!/bin/sh
. /usr/lib/systemd/systemd-apk-macros.sh
systemd_service_pre_deinstall user pipewire-pulse.socket
......@@ -2,4 +2,5 @@
addgroup -S pipewire 2>/dev/null
exit 0
. /usr/lib/systemd/systemd-apk-macros.sh
systemd_service_post_install user pipewire.socket
#!/bin/sh
. /usr/lib/systemd/systemd-apk-macros.sh
systemd_service_pre_deinstall user pipewire.socket
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment