-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdev.nicx.mimick.yml
More file actions
40 lines (36 loc) · 1.37 KB
/
Copy pathdev.nicx.mimick.yml
File metadata and controls
40 lines (36 loc) · 1.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
app-id: dev.nicx.mimick
runtime: org.gnome.Platform
runtime-version: "50"
sdk: org.gnome.Sdk
sdk-extensions:
- org.freedesktop.Sdk.Extension.rust-stable
command: mimick
build-options:
append-path: /usr/lib/sdk/rust-stable/bin
env:
CARGO_HOME: /run/build/mimick/cargo
finish-args:
- --socket=wayland
- --socket=fallback-x11
- --device=dri
- --share=ipc
- --talk-name=org.kde.StatusNotifierWatcher
- --share=network
modules:
- name: mimick
buildsystem: simple
build-commands:
- mv cargo/config cargo/config.toml
- cargo --offline build --release
- install -Dm755 target/release/mimick /app/bin/mimick
- install -Dm644 setup/dev.nicx.mimick.desktop /app/share/applications/dev.nicx.mimick.desktop
- install -Dm644 src/assets/icon.svg /app/share/icons/hicolor/scalable/apps/dev.nicx.mimick.svg
- install -Dm644 src/assets/256x256/apps/dev.nicx.mimick.png /app/share/icons/hicolor/256x256/apps/dev.nicx.mimick.png
- install -Dm644 src/assets/512x512/apps/dev.nicx.mimick.png /app/share/icons/hicolor/512x512/apps/dev.nicx.mimick.png
- install -Dm644 setup/metainfo/dev.nicx.mimick.metainfo.xml /app/share/metainfo/dev.nicx.mimick.metainfo.xml
sources:
- type: git
url: https://github.com/nicx17/mimick.git
tag: v9.9.0
commit: 47d32b8307b6d94e41b2d7fa0ef62e00ab521f68
- cargo-sources.json