EasyRPG / Editor

Game editor similar to RPG Maker
https://easyrpg.org/editor/
GNU General Public License v3.0
336 stars 59 forks source link

flatpak distribution #208

Open carstene1ns opened 2 years ago

carstene1ns commented 2 years ago

Following the recent email discussion, here the first version of the flatpak manifest:

org.easyrpg.editor.yaml (note that json and such are also supported)

app-id: org.easyrpg.editor
runtime: org.kde.Sdk
runtime-version: '5.15-21.08'
sdk: org.kde.Sdk
command: easyrpg-editor
#rename-desktop-file: easyrpg-editor.desktop
#rename-appdata-file: easyrpg-editor.appdata.xml
#rename-icon: easyrpg-editor
finish-args:
  - --share=ipc
  - --socket=wayland
  - --socket=fallback-x11
  - --filesystem=host
#  - --filesystem=home
  - --device=dri
  - --allow=devel
modules:
  - name: liblcf
    buildsystem: cmake-ninja
    config-opts:
      - -DCMAKE_BUILD_TYPE=RelWithDebInfo
      - -DLIBLCF_ENABLE_TOOLS=OFF
      - -DLIBLCF_WITH_XML=OFF
      - -DLIBLCF_ENABLE_TESTS=OFF
    sources:
      - type: git
        url: https://github.com/EasyRPG/liblcf.git
        #tag: '0.7.0'
    cleanup:
      - /include
      - /lib/pkgconfig
      - /lib/cmake
      - /share
  - name: editor
    buildsystem: cmake-ninja
    config-opts:
      - -DCMAKE_BUILD_TYPE=RelWithDebInfo
    sources:
      - type: git
        url: https://github.com/EasyRPG/Editor.git

Currently lacking some things, however the application works.

Other blockers: https://docs.flatpak.org/en/latest/portals-qt.html <- no directory access, lol