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: - mkdir -pv /app/Pong - mkdir -pv /app/bin - mkdir -pv /app - mkdir -pv /app/lib - mkdir -pv /app/include - tar -xvf src/flatpak/raylib-4.0.0.tar.gz - make -C raylib-4.0.0/src USE_EXTERNAL_GLFW=FALSE RAYLIB_LIBTYPE=SHARED ROOT=root DESTDIR=/app - sed -i '/ldconfig/d' raylib-4.0.0/src/Makefile - make -C raylib-4.0.0/src USE_EXTERNAL_GLFW=FALSE RAYLIB_LIBTYPE=SHARED ROOT=root DESTDIR=/app install - make - install -Dvm755 bin/*/Pong /app/Pong/pong - install -Dvm755 src/flatpak/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 finish-args: - --socket=x11 - --device=dri - --share=ipc - --socket=pulseaudio - --socket=wayland