blob: 7a6e81d328eb515f0f720a0b22faa13b01f290c4 (
plain) (
blame)
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: net.iotib.Pong
branch: '0.2'
appdata-license: 'GPL-3.0-only'
runtime: org.freedesktop.Platform
runtime-version: '21.08'
sdk: org.freedesktop.Sdk
command: flatpak_launch.sh
modules:
- name: Pong
buildsystem: simple
build-commands:
- make -C raylib/src clean
- make -C raylib/src
- make
- mkdir -pv /app/Pong
- mkdir -pv /app/bin
- install -Dvm755 bin/*/Pong /app/Pong/pong
- install -Dvm755 src/flatpak_launch.sh /app/bin/flatpak_launch.sh
- cp -rv resources /app/Pong/
sources:
- type: file
path: Makefile
- type: file
path: Pong.make
- type: dir
path: src
dest: src
- type: dir
path: resources
dest: resources
- type: dir
path: raylib
dest: raylib
finish-args:
- --socket=x11
- --device=dri
- --share=ipc
- --socket=pulseaudio
- --socket=wayland
|