summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-09-21 23:00:39 +0200
committermetamuffin <metamuffin@disroot.org>2024-09-21 23:00:39 +0200
commit2c34798c1d40c5037a138c901000d04dff212ad5 (patch)
tree7fe915c3d1d5811004fb79b0c9fdd7ce818ce2a6
downloadhurrycurry-snap-2c34798c1d40c5037a138c901000d04dff212ad5.tar
hurrycurry-snap-2c34798c1d40c5037a138c901000d04dff212ad5.tar.bz2
hurrycurry-snap-2c34798c1d40c5037a138c901000d04dff212ad5.tar.zst
server buildds
-rw-r--r--.gitignore1
-rw-r--r--snap/snapcraft.yaml55
2 files changed, 56 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..d294450
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+*.snap
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
new file mode 100644
index 0000000..b14fe8e
--- /dev/null
+++ b/snap/snapcraft.yaml
@@ -0,0 +1,55 @@
+name: hurrycurry
+base: core24
+version: "2.0.0"
+summary: Multiplayer co-op cooking game
+description: |
+ This is my-snap's description. You have a paragraph or two to tell the
+ most important story about your snap. Keep it under 100 words though,
+ we live in tweetspace and your description wants to look good in the snap
+ store.
+
+grade: devel # must be 'stable' to release into candidate/stable channels
+confinement: devmode # use 'strict' once you have the right plugs and slots
+
+apps:
+ hurrycurry-server:
+ command: bin/hurrycurry-server
+
+parts:
+ godot-editor:
+ plugin: nil
+ source: https://github.com/godotengine/godot/releases/download/4.3-stable/godot-4.3-stable.tar.xz
+ build-packages:
+ - build-essential
+ - libasound2-dev
+ - libgl1-mesa-dev
+ - libglu1-mesa-dev
+ - libpulse-dev
+ - libudev-dev
+ - libx11-dev
+ - libxcursor-dev
+ - libxi-dev
+ - libxinerama-dev
+ - libxrandr-dev
+ - pkg-config
+ - scons
+ override-build: |
+ scons platform=x11 use_lto=yes target=editor
+ organize:
+ bin/godot.*: bin/godot
+ stage:
+ - bin/godot
+
+ metainfo:
+ plugin: nil
+ source: https://codeberg.org/hurrycurry/hurrycurry-dist-extra.git
+ source-tag: v2.0.0
+ parse-info: [org.godotengine.Godot.metainfo.xml]
+ override-prime: |
+ cp org.metamuffin.hurrycurry.client.desktop $CRAFT_PART_INSTALL/
+
+ server:
+ plugin: rust
+ source: https://codeberg.org/hurrycurry/hurrycurry.git
+ source-tag: v2.0.0
+ rust-path: [server]