summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortpart <tpart120@proton.me>2024-09-22 23:13:08 +0200
committertpart <tpart120@proton.me>2024-09-22 23:13:08 +0200
commit38c24d608fb2bf242a729769113f9a248f5d1444 (patch)
treee1494e825b802083411dd58f3434e94621d0c220
parentf6348d0b9a06a33cf062c0b1e8f75711474a25a3 (diff)
downloadhurrycurry-snap-38c24d608fb2bf242a729769113f9a248f5d1444.tar
hurrycurry-snap-38c24d608fb2bf242a729769113f9a248f5d1444.tar.bz2
hurrycurry-snap-38c24d608fb2bf242a729769113f9a248f5d1444.tar.zst
Works
-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