summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornokoe <nokoe@mailbox.org>2024-11-27 21:18:22 +0100
committernokoe <nokoe@mailbox.org>2024-11-27 21:18:22 +0100
commit3c83628dc21b078c5d3687b8a6352ccaa086a144 (patch)
treedcc28b92d8b8aba33c5a87bd82ae9f95b5b0f816
parent1cca2c96d94cb6a584c0588d520cb4d5c183f7c2 (diff)
downloadhurrycurry-flatpak-3c83628dc21b078c5d3687b8a6352ccaa086a144.tar
hurrycurry-flatpak-3c83628dc21b078c5d3687b8a6352ccaa086a144.tar.bz2
hurrycurry-flatpak-3c83628dc21b078c5d3687b8a6352ccaa086a144.tar.zst
fix build not working
-rw-r--r--org.metamuffin.hurrycurry.client.yaml30
1 files changed, 13 insertions, 17 deletions
diff --git a/org.metamuffin.hurrycurry.client.yaml b/org.metamuffin.hurrycurry.client.yaml
index 7fdb61a..9c76fda 100644
--- a/org.metamuffin.hurrycurry.client.yaml
+++ b/org.metamuffin.hurrycurry.client.yaml
@@ -20,7 +20,6 @@ build-options:
# Only enable link-time optimization when targeting x86_64
# (causes issues on other architectures)
SCONS_FLAGS_EXTRA: use_lto=yes
-
env:
BUILD_NAME: hurrycurry
@@ -30,18 +29,15 @@ modules:
- name: scons
buildsystem: simple
cleanup: ["*"]
-
sources:
- type: archive
sha256: 6e928fc97984e719814270f6863f2183b3b72180b0162a5ed09db68c9994100c
url: https://downloads.sourceforge.net/project/scons/scons/4.8.0/SCons-4.8.0.tar.gz
-
build-commands:
- python3 -m pip install --no-index --no-build-isolation --prefix=/app .
- name: godot
buildsystem: simple
-
sources:
- type: archive
sha256: 751e55bfad8e04b846f9cf7b6eb80e058986a2cb1b103fc0fe6a4d8526a20e56
@@ -55,6 +51,7 @@ modules:
- python3 /app/bin/scons $SCONS_FLAGS_EXTRA profile=custom.py target=template_release -j "$FLATPAK_BUILDER_N_JOBS"
- install -Dm755 bin/godot.linuxbsd.template_release.* /app/bin/godot
- install -Dm755 bin/godot.linuxbsd.editor.* /app/bin/godot-editor
+
- name: rust
buildsystem: simple
build-options:
@@ -67,7 +64,6 @@ modules:
only-arches:
- aarch64
dest: rust
- # tbd: update
url: https://static.rust-lang.org/dist/2024-11-27/rust-nightly-aarch64-unknown-linux-gnu.tar.xz
sha256: 943775f84ad169e81f55a24dc101b5c41400d86782f28513f0912826fc6adcd3
- type: archive
@@ -79,18 +75,6 @@ modules:
build-commands:
- cd rust && ./install.sh --prefix=/app/sdk/rust-nightly --without=rust-docs --without=rust-docs-json-preview --disable-ldconfig --verbose
- - name: hurrycurry-dist
- buildsystem: simple
- sources:
- - type: archive
- sha256: 29478bb03a97450e97c953782628d4820028353aeaffc7ee886b748e2b73feec
- url: https://codeberg.org/hurrycurry/hurrycurry-dist-extra/archive/v2.2.1.tar.gz
- build-commands:
- - python translate.py
- - install -Dm755 hurrycurry /app/bin/hurrycurry
- - install -Dm644 org.metamuffin.hurrycurry.client.desktop /app/share/applications/org.metamuffin.hurrycurry.client.desktop
- - install -Dm644 org.metamuffin.hurrycurry.client.metainfo.xml /app/share/metainfo/org.metamuffin.hurrycurry.client.metainfo.xml
-
- name: hurrycurry
buildsystem: simple
build-options:
@@ -122,3 +106,15 @@ modules:
ffmpeg -i client/icons/main.png -vf scale=${size}:${size} "$size.png"
install -Dm644 "$size.png" "/app/share/icons/hicolor/${size}x${size}/apps/org.metamuffin.hurrycurry.client.png"
done
+
+ - name: hurrycurry-dist
+ buildsystem: simple
+ sources:
+ - type: archive
+ sha256: 29478bb03a97450e97c953782628d4820028353aeaffc7ee886b748e2b73feec
+ url: https://codeberg.org/hurrycurry/hurrycurry-dist-extra/archive/v2.2.1.tar.gz
+ build-commands:
+ - python translate.py
+ - install -Dm755 hurrycurry /app/bin/hurrycurry
+ - install -Dm644 org.metamuffin.hurrycurry.client.desktop /app/share/applications/org.metamuffin.hurrycurry.client.desktop
+ - install -Dm644 org.metamuffin.hurrycurry.client.metainfo.xml /app/share/metainfo/org.metamuffin.hurrycurry.client.metainfo.xml