summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--snap/snapcraft.yaml21
1 files changed, 19 insertions, 2 deletions
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index 0a38ca8..f10ac89 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -16,6 +16,10 @@ description: |
grade: devel # must be 'stable' to release into candidate/stable channels
confinement: devmode # use 'strict' once you have the right plugs and slots
+layout:
+ /usr/share/libdrm:
+ bind: $SNAP/usr/share/libdrm
+
apps:
bash:
command: bin/bash
@@ -25,6 +29,7 @@ apps:
- network
- network-bind
hurrycurry:
+ extensions: [gnome]
command: bin/godot --main-pack $SNAP/usr/share/hurrycurry/client.pck
plugs:
- audio-playback
@@ -33,7 +38,6 @@ apps:
- joystick
- network
- opengl
- - vulkan
- pulseaudio
- screen-inhibit-control
- wayland
@@ -95,8 +99,12 @@ parts:
client:
plugin: nil
- after: [godot-editor]
+ after:
+ - godot-editor
+ - desktop-glib-only
source: https://codeberg.org/hurrycurry/hurrycurry.git
+ stage-packages:
+ - libglu1-mesa
build-snaps: [godot-4]
build-packages: [rustup]
override-build: |
@@ -132,3 +140,12 @@ parts:
cp /usr/bin/bash $CRAFT_PART_INSTALL/bash
organize: { bash: bin/bash }
prime: [bin/bash]
+
+ desktop-glib-only:
+ source: https://github.com/ubuntu/snapcraft-desktop-helpers.git
+ source-subdir: glib-only
+ plugin: make
+ build-packages:
+ - libglib2.0-dev
+ stage-packages:
+ - libglib2.0-bin \ No newline at end of file