com.voxdsp.aigeneratedgame.yaml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. app-id: com.voxdsp.aigeneratedgame
  2. runtime: org.freedesktop.Platform
  3. runtime-version: '23.08'
  4. sdk: org.freedesktop.Sdk
  5. command: aigeneratedgame
  6. rename-icon: aigeneratedgame
  7. rename-desktop-file: aigeneratedgame.desktop
  8. rename-appdata-file: aigeneratedgame.appdata.xml
  9. finish-args:
  10. - --socket=wayland
  11. - --socket=fallback-x11
  12. - --share=ipc
  13. - --device=dri
  14. modules:
  15. - name: glfw
  16. buildsystem: cmake-ninja
  17. config-opts:
  18. - -DCMAKE_BUILD_TYPE=Release
  19. - -DBUILD_SHARED_LIBS=ON
  20. - -DGLFW_BUILD_EXAMPLES=OFF
  21. - -DGLFW_BUILD_TESTS=OFF
  22. - -DGLFW_BUILD_DOCS=OFF
  23. - -DGLFW_USE_WAYLAND=1
  24. sources:
  25. - type: git
  26. url: https://github.com/glfw/glfw.git
  27. commit: 3eaf1255b29fdf5c2895856c7be7d7185ef2b241
  28. - name: aigeneratedgame
  29. buildsystem: simple
  30. build-commands:
  31. - cc main.c glad_gl.c -I inc -Ofast -L/app/lib -lglfw -lm -o aigeneratedgame
  32. - install -Dm 0755 aigeneratedgame -t ${FLATPAK_DEST}/bin
  33. - install -Dm 0644 flatpak/aigeneratedgame.desktop ${FLATPAK_DEST}/share/applications/aigeneratedgame.desktop
  34. - install -Dm 0644 flatpak/aigeneratedgame.appdata.xml ${FLATPAK_DEST}/share/metainfo/aigeneratedgame.appdata.xml
  35. - install -Dm 0644 flatpak/aigeneratedgame.png ${FLATPAK_DEST}/share/icons/hicolor/128x128/apps/aigeneratedgame.png
  36. sources:
  37. - type: git
  38. url: https://notabug.org/Vandarin/AIGeneratedGame.git
  39. commit: 000