[chore]: flatpaks build now, need to finish website for lumina

This commit is contained in:
Chris Cochrun 2026-05-07 09:50:42 -05:00
parent f8a7f07a24
commit 433396fcf2
5 changed files with 35 additions and 5 deletions

View file

@ -71,6 +71,7 @@
python313Packages.tomlkit
python313Packages.pip
unzip
appstream
libcosmicAppHook
];

View file

@ -75,9 +75,13 @@ install-flatpak-builder-tools:
flatpak-gen-manifest: install-flatpak-builder-tools
python3 flatpak-builder-tools/cargo/flatpak-cargo-generator.py Cargo.lock -o cargo-sources.json
python3 flatpak-builder-tools/cargo/flatpak-cargo-generator.py mupdf/Cargo.lock -o mupdf-cargo-sources.json
flatpak-build:
flatpak-builder --install --user --force-clean build-dir xyz.cochrun.lumina.yml
flatpak-shell:
flatpak-builder --run build-dir xyz.cochrun.lumina.yml sh
alias fb := flatpak-build
alias fs := flatpak-setup

View file

@ -4,7 +4,7 @@ Type=Application
Name=Lumina
Comment=A church presentation app that is built to be simple to use.
Categories=Office;AudioVideo;Player;
Categories=Graphics;
Icon=lumina
Exec=lumina -i

View file

@ -17,13 +17,13 @@
<launchable type="desktop-id">xyz.cochrun.lumina.desktop</launchable>
<screenshots>
<screenshot type="default">
<image>https://git.tfcconnection.org/chris/lumina/raw/branch/master/res/images/screenshot_2026-04-10_15-34-28.png</image>
<image>https://git.tfcconnection.org/chris/lumina/raw/branch/master/res/images/screenshot_2026-05-03_08-16-59.png</image>
</screenshot>
<screenshot>
<image>https://git.tfcconnection.org/chris/lumina/raw/branch/master/res/images/screenshot_2026-04-10_15-34-55.png</image>
<image>https://git.tfcconnection.org/chris/lumina/raw/branch/master/res/images/screenshot_2026-05-03_08-23-08.png</image>
</screenshot>
<screenshot>
<image>https://git.tfcconnection.org/chris/lumina/raw/branch/master/res/images/screenshot_2026-04-10_15-35-14.png</image>
<image>https://git.tfcconnection.org/chris/lumina/raw/branch/master/res/images/screenshot_2026-05-03_08-23-23.png</image>
</screenshot>
</screenshots>
</component>

View file

@ -3,7 +3,7 @@ runtime: org.freedesktop.Platform
runtime-version: '25.08'
sdk: org.freedesktop.Sdk
sdk-extensions:
- org.freedesktop.Sdk.Extension.rust-nightly
- org.freedesktop.Sdk.Extension.rust-stable
- org.freedesktop.Sdk.Extension.llvm22
base: com.system76.Cosmic.BaseApp
command: lumina -i
@ -15,7 +15,32 @@ finish-args:
- --share=network
- --filesystem=xdg-documents
- --filesystem=xdg-config/cosmic:rw
- --filesystem=xdg-data/lumina:rw
- --filesystem=xdg-cache/lumina:rw
build-options:
append-path: /usr/lib/sdk/rust-stable/bin:/usr/lib/sdk/llvm22/bin
# append-path: /usr/lib/sdk/llvm22/bin
prepend-ld-library-path: /usr/lib/sdk/llvm22/lib
env:
CARGO_HOME: /run/build/lumina/cargo
LIBCLANG_PATH: /usr/lib/sdk/llvm22/lib
BINDGEN_EXTRA_CLANG_ARGS: -I/usr/lib/sdk/llvm22/lib/clang/22/include
PKG_CONFIG_PATH: /app/lib64/pkgconfig:/app/lib/pkgconfig:/app/share/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig
DATABASE_URL: sqlite://./test.db
# CC: gcc
# CXX: g++
# CARGO_NET_OFFLINE: 'true'
modules:
# - name: mupdf-rs
# buildsystem: simple
# build-commands:
# - cargo build --offline --release
# sources:
# - type: git
# url: https://github.com/messense/mupdf-rs.git
# commit: 902d44bf7becfc84f8349c524cb8acfb18a6f3d4
# - mupdf-cargo-sources.json
- name: lumina
buildsystem: simple
build-options: