snapcraft.yml: Rebuilt the snapcraft yaml to utilize core22

Also added the joystick plug, however it doesn't autoconnect.
to autoconnect manually you'll need to use snapctl

Permission will be asked by the snapcraft forums to allow it to autoconnect

Signed-off-by: Zach Bacon <zachbacon@vba-m.com>
This commit is contained in:
Zach Bacon 2023-10-23 13:40:53 -04:00
parent c36c3e0250
commit 1c76e3b0f4
1 changed files with 15 additions and 19 deletions

View File

@ -6,24 +6,7 @@ description: |
adopt-info: vbam
grade: devel
confinement: strict
base: core20
plugs:
desktop:
desktop-legacy:
audio-playback:
opengl:
home:
removable-media:
network:
wayland:
x11:
base: core22
parts:
vbam:
source: https://github.com/visualboyadvance-m/visualboyadvance-m.git
@ -74,8 +57,21 @@ parts:
apps:
visualboyadvance-m:
plugs:
- desktop
- desktop-legacy
- audio-playback
- opengl
- joystick
- raw-usb
- screen-inhibit-control
- home
- removable-media
- network
- wayland
- x11
command: usr/bin/visualboyadvance-m
desktop: usr/share/applications/visualboyadvance-m.desktop
extensions: [gnome-3-38]
extensions: [gnome]
environment:
LD_LIBRARY_PATH: $LD_LIBRARY_PATH:$SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/pulseaudio