[neon/snap-packaging/plasma-core-desktop] /: Remove pipewire and wireplumber from the snap
Kevin Ottens
null at kde.org
Wed Mar 19 09:04:28 GMT 2025
Git commit 63d9f5cb7016f22e21bb9b77bb04101adf256cbc by Kevin Ottens.
Committed on 19/03/2025 at 09:04.
Pushed by ervin into branch 'master'.
Remove pipewire and wireplumber from the snap
M +0 -5 hooks/200-replace-systemd-service-files.sh
M +3 -3 snapcraft.yaml
https://invent.kde.org/neon/snap-packaging/plasma-core-desktop/-/commit/63d9f5cb7016f22e21bb9b77bb04101adf256cbc
diff --git a/hooks/200-replace-systemd-service-files.sh b/hooks/200-replace-systemd-service-files.sh
index c7bdf08..6472745 100755
--- a/hooks/200-replace-systemd-service-files.sh
+++ b/hooks/200-replace-systemd-service-files.sh
@@ -9,10 +9,7 @@ removed_services=(
drkonqi-coredump-launcher@
drkonqi-coredump-pickup
drkonqi-sentry-postman
- filter-chain
glib-pacrunner
- pipewire-pulse
- pipewire
plasma-baloorunner
plasma-dolphin
plasma-kaccess
@@ -22,8 +19,6 @@ removed_services=(
plasma-kwin_x11
plasma-xdg-desktop-portal-kde
session-migration
- wireplumber
- wireplumber@
)
for service in "${removed_services[@]}"; do
rm "usr/lib/systemd/user/$service.service"
diff --git a/snapcraft.yaml b/snapcraft.yaml
index 7976626..9d81ad3 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -49,6 +49,7 @@ parts:
- libavformat-dev
- libboost-all-dev
- libcanberra-dev
+ - libcanberra-pulse
- libdbus-1-dev
- libdisplay-info-dev
- libdrm-dev
@@ -111,9 +112,6 @@ parts:
- libxcvt0
- libxkbcommon0
- libxkbregistry0
- - pipewire-pulse
- - pipewire-audio
- - wireplumber
- xserver-xorg-input-libinput
- xserver-xorg-input-wacom
- xwayland
@@ -129,5 +127,7 @@ parts:
craftctl default
override-prime: |
craftctl default
+ for i in `dpkg -L pipewire pipewire-pulse | grep -v "^/\.$" | sed -E -e 's,^/,,' | tac` ; do (rm -df "$SNAPCRAFT_PRIME/$i" || /bin/true) ; done
+ for i in `dpkg -L pipewire-bin | grep -v "^/\.$" | grep -v "usr/share" | sed -E -e 's,^/,,' | tac` ; do (rm -df "$SNAPCRAFT_PRIME/$i" || /bin/true) ; done
cd ${CRAFT_PART_SRC} && make test TESTDIR=${CRAFT_PRIME}
More information about the Neon-commits
mailing list