-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcom.github.gpuvis.Gpuvis.yml
44 lines (43 loc) · 1.46 KB
/
com.github.gpuvis.Gpuvis.yml
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
41
42
43
44
"app-id": "com.github.gpuvis.Gpuvis"
"runtime": "org.freedesktop.Platform"
"runtime-version": "21.08"
"sdk": "org.freedesktop.Sdk"
"command": "gpuvis"
finish-args:
# X11 + XShm access
- --share=ipc
- --socket=fallback-x11
# Wayland access
- --socket=wayland
# Needs to talk to the network:
- --share=network
# Needs to save files locally
- --filesystem=xdg-documents
# OpenGL rendering
- --device=dri
modules:
- name: rapidjson
buildsystem: cmake
cleanup:
- /include
- /lib/cmake
- /lib/pkgconfig
- /share/doc
sources:
- type: git
url: https://github.com/Tencent/rapidjson.git
commit: 1c2c8e085a8b2561dff17bedb689d2eb0609b689
- name: gpuvis
buildsystem: meson
config-opts:
- --buildtype=debug
post-install:
- install -Dm644 --target-directory=${FLATPAK_DEST}/share/metainfo ../${FLATPAK_ID}.metainfo.xml
- install -Dm644 --target-directory=${FLATPAK_DEST}/share/applications ../${FLATPAK_ID}.desktop
- install -Dm644 --target-directory=${FLATPAK_DEST}/share/icons/hicolor/scalable/apps ../${FLATPAK_ID}.svg
sources:
- type: archive
url: https://github.com/mikesart/gpuvis/archive/3fe8fa89117ecb7aec591699ccb1e89f2fb80a2c.tar.gz
sha256: fc6927a575a73a32c74294adf585f1b34e1e80b1831c59505db7abdfa781a08d
- type: file
path: com.github.gpuvis.Gpuvis.svg