From 020ae8633b23091f113b19f4b6f992e36404f2e2 Mon Sep 17 00:00:00 2001 From: Eduardo Flores Date: Mon, 29 Apr 2024 23:23:57 -0700 Subject: [PATCH] Update Flatpak manifest --- com.system76.CosmicTasks.json | 45 +++++++++++++++++++++++++++-------- com.system76.CosmicTasks.yml | 2 +- 2 files changed, 36 insertions(+), 11 deletions(-) diff --git a/com.system76.CosmicTasks.json b/com.system76.CosmicTasks.json index fbd42d9..a1d5ae6 100644 --- a/com.system76.CosmicTasks.json +++ b/com.system76.CosmicTasks.json @@ -23,23 +23,48 @@ } }, "modules": [ + { + "name": "just", + "buildsystem": "simple", + "build-commands": [ + "install -Dm0755 just /app/bin/just" + ], + "sources": [ + { + "type": "archive", + "strip-components": 0, + "dest-filename": "just.tar.gz", + "url": "https://github.com/casey/just/releases/download/1.25.2/just-1.25.2-x86_64-unknown-linux-musl.tar.gz", + "sha256": "ad56bf1a804243b51ef2c2eec4b3a8177f970ccc414cbbee219c2e5c06f7bcc9", + "only_arches": [ + "x86_64" + ] + }, + { + "type": "archive", + "strip-components": 0, + "dest-filename": "just.tar.gz", + "url": "https://github.com/casey/just/releases/download/1.25.2/just-1.25.2-aarch64-unknown-linux-musl.tar.gz", + "sha256": "049d624255d150f18b0f3a1257a163366b0dc22e16526214773903125145e515", + "only_arches": [ + "aarch64" + ] + } + ] + }, { "name": "cosmic-tasks", "buildsystem": "simple", "build-commands": [ - "curl -L https://github.com/casey/just/releases/download/1.25.2/just-1.25.2-x86_64-unknown-linux-musl.tar.gz -o just.tar.gz", - "mkdir just", - "tar -xvzf just.tar.gz -C just", - "install -Dm0755 just/just /app/bin/just", - "ls /app/bin/", - "./just/just vendor", - "./just/just build-vendored", - "install -Dm0755 target/release/cosmic-tasks /app/bin/cosmic-tasks" + "just vendor", + "just build-vendored", + "just flatpak" ], "sources": [ { - "type": "dir", - "path": "." + "type": "git", + "branch": "main", + "url": "https://github.com/edfloreshz/cosmic-tasks.git" } ] } diff --git a/com.system76.CosmicTasks.yml b/com.system76.CosmicTasks.yml index 56d3133..a18da1f 100644 --- a/com.system76.CosmicTasks.yml +++ b/com.system76.CosmicTasks.yml @@ -28,7 +28,7 @@ modules: url: https://github.com/casey/just/releases/download/1.25.2/just-1.25.2-x86_64-unknown-linux-musl.tar.gz sha256: ad56bf1a804243b51ef2c2eec4b3a8177f970ccc414cbbee219c2e5c06f7bcc9 only_arches: - - amd64 + - x86_64 - type: archive strip-components: 0 dest-filename: just.tar.gz