forked from OpenBrickProtocolFoundation/oopetris
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcom.github.mgerhold.OOPetris.yml
59 lines (56 loc) · 1.32 KB
/
com.github.mgerhold.OOPetris.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
app-id: com.github.mgerhold.OOPetris
runtime: org.freedesktop.Platform
runtime-version: "24.08"
sdk: org.freedesktop.Sdk
command: oopetris
modules:
#TODO: remove after discord sets SONAME
- name: patchelf
buildsystem: simple
sources:
- type: archive
url: https://github.com/NixOS/patchelf/releases/download/0.18.0/patchelf-0.18.0.tar.gz
sha256: 64de10e4c6b8b8379db7e87f58030f336ea747c0515f381132e810dbf84a86e7
build-commands:
- ./configure --prefix=/app
- make
- make install
- name: OOPetris
buildsystem: meson
config-opts:
- -Dbuildtype=release
- -Ddefault_library=shared
- -Dbuild_installer=true
- --libdir=lib
- -Dtests=true
builddir: true
build-options:
build-args:
- --share=network
sources:
- type: dir
path: "."
skip:
- .github/
- .vscode/
- build/
run-tests: true
cleanup:
- /include
- /lib/pkgconfig
- /share/pkgconfig
## all for the patchelf executable
#TODO: remove after removing patchelf build
- /bin/patchelf
- /lib/debug
- /share/doc
- /share/man
- /share/zsh
finish-args:
- --socket=x11
- --socket=wayland
- --device=all
- --device=dri
- --socket=pulseaudio
- --share=network
- --filesystem=xdg-run/discord-ipc-0:rw