Flatpak manifest (GNOME Platform 48, GTK 3) + launcher, desktop file, metainfo and app icon. Builds the designer plus the XFrame palette and layout windows, installs them under /app/share/lightgui/ mirroring the repo layout, and launches the combined IDE via the ide script. build-flatpak.sh builds the Flatpak and a single-file bundle.
36 lines
1.6 KiB
YAML
36 lines
1.6 KiB
YAML
app-id: com.hotconfig.LightGUI
|
|
runtime: org.gnome.Platform
|
|
runtime-version: '48'
|
|
sdk: org.gnome.Sdk
|
|
command: lightgui
|
|
finish-args:
|
|
- --share=ipc
|
|
- --socket=fallback-x11
|
|
- --socket=wayland
|
|
- --device=dri
|
|
- --filesystem=home
|
|
modules:
|
|
- name: lightgui
|
|
buildsystem: simple
|
|
sources:
|
|
- type: git
|
|
url: https://github.com/cnmcdee/lightgui.git
|
|
branch: main
|
|
build-commands:
|
|
- make lightgui -j$(nproc)
|
|
- cmake -S widgets -B widgets/build -DCMAKE_BUILD_TYPE=Release
|
|
- cmake --build widgets/build -j$(nproc) --target lightgui_palette lightgui_layout
|
|
- install -Dm755 lightgui /app/share/lightgui/lightgui
|
|
- install -Dm755 ide /app/share/lightgui/ide
|
|
- install -Dm644 ui/designer.ui /app/share/lightgui/ui/designer.ui
|
|
- mkdir -p /app/share/lightgui/icons
|
|
- cp icons/*.png /app/share/lightgui/icons/
|
|
- install -Dm755 widgets/build/palette/lightgui_palette /app/share/lightgui/widgets/build/palette/lightgui_palette
|
|
- install -Dm755 widgets/build/layout/lightgui_layout /app/share/lightgui/widgets/build/layout/lightgui_layout
|
|
- mkdir -p /app/share/lightgui/widgets/icons
|
|
- cp widgets/icons/* /app/share/lightgui/widgets/icons/
|
|
- install -Dm755 flatpak/lightgui-launcher /app/bin/lightgui
|
|
- install -Dm644 flatpak/com.hotconfig.LightGUI.desktop /app/share/applications/com.hotconfig.LightGUI.desktop
|
|
- install -Dm644 flatpak/com.hotconfig.LightGUI.metainfo.xml /app/share/metainfo/com.hotconfig.LightGUI.metainfo.xml
|
|
- install -Dm644 flatpak/icon.png /app/share/icons/hicolor/512x512/apps/com.hotconfig.LightGUI.png
|