app-id: net.iotib.Pong branch: '0.3' 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 - cmake -B raylib-4.0.0/build -DUSE_EXTERNAL_GLFW=OFF -DBUILD_SHARED_LIBS=ON -DBUILD_EXAMPLES=OFF -DPLATFORM=Desktop -DCMAKE_INSTALL_PREFIX=/app raylib-4.0.0 - make -C raylib-4.0.0/build - make -C raylib-4.0.0/build 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