diff options
-rw-r--r-- | .gitignore | 6 | ||||
-rw-r--r-- | net.iotib.Pong.yml | 17 |
2 files changed, 16 insertions, 7 deletions
diff --git a/.gitignore b/.gitignore index 3fd4164..78400fa 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,8 @@ build/ *.o pong .flatpak-builder -flatpak/ \ No newline at end of file +flatpak/ +flatpak_repo/ +build-dir/ +Makefile +Pong.make \ No newline at end of file diff --git a/net.iotib.Pong.yml b/net.iotib.Pong.yml index 41051b4..7a6e81d 100644 --- a/net.iotib.Pong.yml +++ b/net.iotib.Pong.yml @@ -4,19 +4,24 @@ appdata-license: 'GPL-3.0-only' runtime: org.freedesktop.Platform runtime-version: '21.08' sdk: org.freedesktop.Sdk -command: launch.sh +command: flatpak_launch.sh modules: - name: Pong buildsystem: simple - config-opts: - - premake5 --prefix=/app --flatpak=true gmake2 + build-commands: + - make -C raylib/src clean + - make -C raylib/src - make - - premake5 install + - 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: meson.build + path: Makefile - type: file - path: meson_options.txt + path: Pong.make - type: dir path: src dest: src |