Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flatpak distribution #208

Open
carstene1ns opened this issue May 15, 2022 · 0 comments
Open

flatpak distribution #208

carstene1ns opened this issue May 15, 2022 · 0 comments

Comments

@carstene1ns
Copy link
Member

carstene1ns commented May 15, 2022

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.

  • template support (bin/templates)
  • .desktop integration
  • .appdata information
  • flathub submision (later)

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant