snapcraft: Use new mpris plug for dbus.

This commit is contained in:
Scarlett Moore 2023-11-01 04:38:45 -07:00
parent 5aa1cc9bb7
commit a2a8022c08

View File

@ -1,4 +1,6 @@
# Trigger rebuild
# SPDX-FileCopyrightText: 2023 Scarlett Moore <sgmoore@kde.org>
#
# SPDX-License-Identifier: CC0-1.0
---
name: kasts
confinement: strict
@ -25,6 +27,7 @@ apps:
- network-bind
- network-manager-observe
- alsa
- mpris
command-chain:
- snap/command-chain/desktop-launch
assumes:
@ -70,10 +73,9 @@ layout:
"/etc/alsa/conf.d":
bind: "$SNAP/etc/alsa/conf.d"
slots:
session-dbus-interface:
interface: dbus
mpris:
interface: mpris
name: org.mpris.MediaPlayer2.kasts
bus: session
package-repositories:
- type: apt
components: