Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update axolotl to 2.0.2 #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 23 additions & 22 deletions org.nanuc.Axolotl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ base: org.electronjs.Electron2.BaseApp
base-version: '22.08'
separate-locales: false
build-options:
append-path: "/usr/lib/sdk/rust-stable/bin:/usr/lib/sdk/golang/bin:/usr/lib/sdk/node18/bin"
append-path: /usr/lib/sdk/rust-stable/bin:/usr/lib/sdk/golang/bin:/usr/lib/sdk/node18/bin
env:
CARGO_NET_OFFLINE: true
npm_config_nodedir: /usr/lib/sdk/node18
Expand Down Expand Up @@ -59,12 +59,12 @@ modules:
- generated-crayfish-sources.json
- type: git
url: https://github.com/nanu-c/axolotl
tag: v1.6.0
commit: e521ab32b5bf315866a17f6844e5339abbc41e79
tag: v2.0.2
commit: bcae9a7bf39b9c4acf70e6e6f36edd9ed3080b7c
dest: src/github.com/nanu-c/axolotl
x-checker-data:
type: git
tag-pattern: "^v([\\d.]+)$"
tag-pattern: ^v([\d.]+)$

- name: zkgroup
buildsystem: simple
Expand All @@ -80,7 +80,7 @@ modules:
disable-submodules: true
x-checker-data:
type: git
tag-pattern: "^v([\\d.]+)$"
tag-pattern: ^v([\d.]+)$

- name: astilectron-bundler
buildsystem: simple
Expand All @@ -101,7 +101,7 @@ modules:
dest: src/github.com/asticode/go-astilectron-bundler
x-checker-data:
type: git
tag-pattern: "^v([\\d.]+)$"
tag-pattern: ^v([\d.]+)$

- name: astilectron-bundler-astilectron
buildsystem: simple
Expand Down Expand Up @@ -150,7 +150,7 @@ modules:
buildsystem: simple
build-options:
env:
npm_config_offline: "true"
npm_config_offline: 'true'
npm_config_cache: /run/build/axolotl-electron-bundle/flatpak-node/npm-cache
GOBIN: /app/bin
GO111MODULE: off
Expand All @@ -160,21 +160,22 @@ modules:
- make build-dependencies-axolotl-web
- make build-axolotl-web
# Specify bundler working directory (where Electron and Astilectron is)
- echo "$(jq '. + { working_directory_path:"/app/lib/astibundler" }' bundler.json)" > bundler.json
- make build-axolotl-electron-bundle &
while [ -e /proc/$! ]; do echo -n "."; sleep 100; done
- echo "$(jq '. + { working_directory_path:"/app/lib/astibundler" }' bundler.json)"
> bundler.json
- make build-axolotl-electron-bundle & while [ -e /proc/$! ]; do echo -n ".";
sleep 100; done
- make install-axolotl-electron-bundle DESTDIR=${FLATPAK_DEST} INSTALL_PREFIX=/bin
sources:
- generated-axolotl-web-sources.0.json
- generated-axolotl-sources.json
- type: git
url: https://github.com/nanu-c/axolotl
tag: v1.6.0
commit: e521ab32b5bf315866a17f6844e5339abbc41e79
tag: v2.0.2
commit: bcae9a7bf39b9c4acf70e6e6f36edd9ed3080b7c
dest: src/github.com/nanu-c/axolotl
x-checker-data:
type: git
tag-pattern: "^v([\\d.]+)$"
tag-pattern: ^v([\d.]+)$

- name: metadata
buildsystem: simple
Expand All @@ -186,21 +187,21 @@ modules:
sources:
- type: git
url: https://github.com/nanu-c/axolotl
tag: v1.6.0
commit: e521ab32b5bf315866a17f6844e5339abbc41e79
tag: v2.0.2
commit: bcae9a7bf39b9c4acf70e6e6f36edd9ed3080b7c
dest: src/github.com/nanu-c/axolotl
x-checker-data:
type: git
tag-pattern: "^v([\\d.]+)$"
tag-pattern: ^v([\d.]+)$

- name: run
buildsystem: simple
build-commands:
- install -Dm 755 run.sh ${FLATPAK_DEST}/bin/run.sh
sources:
- type: script
dest-filename: run.sh
commands:
- export DISPLAY=:0
- export WAYLAND_DISPLAY=wayland-0
- zypak-wrapper /app/bin/axolotl-electron-bundle "$@"
- type: script
dest-filename: run.sh
commands:
- export DISPLAY=:0
- export WAYLAND_DISPLAY=wayland-0
- zypak-wrapper /app/bin/axolotl-electron-bundle "$@"