ui fix
This commit is contained in:
parent
5e4560e89e
commit
9961a31936
7 changed files with 1587 additions and 16 deletions
47
org.nextbike.NextCompanion.yml
Normal file
47
org.nextbike.NextCompanion.yml
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
app-id: org.nextbike.NextCompanion
|
||||
runtime: org.gnome.Platform
|
||||
runtime-version: '47'
|
||||
sdk: org.gnome.Sdk
|
||||
sdk-extensions:
|
||||
- org.freedesktop.Sdk.Extension.rust-stable
|
||||
command: next-companion
|
||||
|
||||
finish-args:
|
||||
- --share=network # nextbike API calls
|
||||
- --share=ipc
|
||||
- --socket=wayland
|
||||
- --socket=fallback-x11
|
||||
- --device=dri # GPU acceleration
|
||||
|
||||
build-options:
|
||||
append-path: /usr/lib/sdk/rust-stable/bin
|
||||
env:
|
||||
CARGO_HOME: /run/build/next-companion/cargo-home
|
||||
RUST_BACKTRACE: '1'
|
||||
arch:
|
||||
aarch64:
|
||||
env:
|
||||
CARGO_BUILD_TARGET: aarch64-unknown-linux-gnu
|
||||
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER: aarch64-unknown-linux-gnu-gcc
|
||||
|
||||
modules:
|
||||
- name: next-companion
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
- mkdir -p .cargo
|
||||
- cp cargo-vendor-config/cargo-vendor-config.toml .cargo/config.toml
|
||||
- cargo --offline build --release
|
||||
- |
|
||||
install -Dm755 \
|
||||
"target/${CARGO_BUILD_TARGET:+${CARGO_BUILD_TARGET}/}release/next-companion" \
|
||||
/app/bin/next-companion
|
||||
- install -Dm644 data/icons/org.nextbike.NextCompanion.png
|
||||
/app/share/icons/hicolor/512x512/apps/org.nextbike.NextCompanion.png
|
||||
sources:
|
||||
- type: dir
|
||||
path: .
|
||||
- type: file
|
||||
path: build-aux/cargo-vendor-config.toml
|
||||
dest: cargo-vendor-config
|
||||
dest-filename: cargo-vendor-config.toml
|
||||
- build-aux/cargo-sources.json
|
||||
Loading…
Add table
Add a link
Reference in a new issue