-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcom.voxdsp.PacGal.yaml
39 lines (39 loc) · 1.29 KB
/
com.voxdsp.PacGal.yaml
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
app-id: com.voxdsp.PacGal
runtime: org.freedesktop.Platform
runtime-version: '23.08'
sdk: org.freedesktop.Sdk
command: pacgal
rename-icon: pacgal
rename-desktop-file: pacgal.desktop
rename-appdata-file: pacgal.appdata.xml
finish-args:
- --socket=wayland
- --socket=fallback-x11
- --share=ipc
- --device=dri
modules:
- name: glfw
buildsystem: cmake-ninja
config-opts:
- -DCMAKE_BUILD_TYPE=Release
- -DBUILD_SHARED_LIBS=ON
- -DGLFW_BUILD_EXAMPLES=OFF
- -DGLFW_BUILD_TESTS=OFF
- -DGLFW_BUILD_DOCS=OFF
- -DGLFW_USE_WAYLAND=1
sources:
- type: git
url: https://github.com/glfw/glfw.git
commit: 3eaf1255b29fdf5c2895856c7be7d7185ef2b241
- name: pacgal
buildsystem: simple
build-commands:
- cc main.c -I inc -Ofast -L/app/lib -lglfw -lm -o pacgal
- install -Dm 0755 pacgal -t ${FLATPAK_DEST}/bin
- install -Dm 0644 flat/pacgal.desktop ${FLATPAK_DEST}/share/applications/pacgal.desktop
- install -Dm 0644 flat/pacgal.appdata.xml ${FLATPAK_DEST}/share/metainfo/pacgal.appdata.xml
- install -Dm 0644 flat/pacgal.png ${FLATPAK_DEST}/share/icons/hicolor/128x128/apps/pacgal.png
sources:
- type: git
url: https://github.com/mrbid/PAC-GAL.git
commit: 9056f4de244ca7a8dec3e4a95a3a3fd1b72e1cd5