Some checks are pending
Syntax / Linting and Type Checking (push) Waiting to run
Tests / Linux Python 3.11 (push) Waiting to run
Tests / Linux Python 3.12 (push) Waiting to run
Tests / Linux Python 3.13 (push) Waiting to run
Tests / Linux Python 3.14 (push) Waiting to run
Tests / Linux Python 3.15 (push) Waiting to run
Tests / MacOS Python 3.14 (push) Waiting to run
Tests / Windows Python 3.14 (push) Waiting to run
Tests / PR Coverage Report (push) Blocked by required conditions
Tests / Action Coverage Report (push) Blocked by required conditions
Tests / Ubuntu 24.04 & Sys Packages (push) Waiting to run
Tests / Fedora 44 & Sys Packages (push) Waiting to run
- Rename novelwriter.iconset to umbraedit.iconset with all icon sizes - Rename setup/icons/novelwriter.* to umbraedit.* - Rename setup/data/hicolor/ novelwriter icons to umbraedit - Rename setup/data/novelwriter.* to umbraedit.* - Rename docs/source/_static/novelwriter-* to umbraedit-* - Rename setup/flatpak/io.novelwriter.novelwriter.yml to io.umbraedit.umbraedit.yml - Rename setup/data/novelwriter.desktop to umbraedit.desktop - Update setup/macos/build.sh to reference umbraedit.iconset - Rebuild macOS DMG with correct UmbraEdit icon
82 lines
2.9 KiB
YAML
82 lines
2.9 KiB
YAML
app-id: io.umbraedit.umbraedit
|
|
runtime: org.kde.Platform
|
|
runtime-version: "@QT_VERSION@"
|
|
sdk: org.kde.Sdk
|
|
base: com.riverbankcomputing.PyQt.BaseApp
|
|
base-version: "@QT_VERSION@"
|
|
cleanup-commands:
|
|
- /app/cleanup-BaseApp.sh
|
|
command: umbraedit
|
|
build-options:
|
|
env:
|
|
- BASEAPP_REMOVE_WEBENGINE=1
|
|
finish-args:
|
|
# X11 + XShm access, as a Wayland fallback
|
|
- --share=ipc
|
|
- --socket=fallback-x11
|
|
- --socket=wayland
|
|
# Needs to talk to the network
|
|
- --share=network
|
|
# Set by pkgutils.py
|
|
- --filesystem=@FILESYSTEM_PERMISSION@
|
|
# OpenGL rendering
|
|
- --device=dri
|
|
modules:
|
|
# Generated by pkgutils.py
|
|
- pypi-deps.json
|
|
- enchant.json
|
|
|
|
- name: UmbraEdit
|
|
buildsystem: simple
|
|
build-commands:
|
|
# Set by pkgutils.py, must run before the wheel is built
|
|
- install -Dm644 -T meta.toml umbraedit/assets/meta.toml
|
|
|
|
- python3 -m build --wheel --no-isolation
|
|
- python3 -m installer --prefix=${FLATPAK_DEST} dist/*.whl
|
|
|
|
# XDG Files
|
|
- install -Dm644 setup/data/umbraedit.desktop -T ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop
|
|
- sed -i "s/Icon=umbraedit/Icon=${FLATPAK_ID}/" ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop
|
|
- for size in 16x16 24x24 32x32 48x48 64x64 128x128 256x256 512x512; do
|
|
install -Dm644 -T setup/data/hicolor/$size/apps/umbraedit.png ${FLATPAK_DEST}/share/icons/hicolor/$size/apps/${FLATPAK_ID}.png;
|
|
install -Dm644 -T setup/data/hicolor/$size/mimetypes/application-x-umbraedit-project.png ${FLATPAK_DEST}/share/icons/hicolor/$size/mimetypes/application-x-umbraedit-project.png;
|
|
done
|
|
- install -Dm644 -T setup/data/hicolor/scalable/apps/umbraedit.svg ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/${FLATPAK_ID}.svg;
|
|
- install -Dm644 -T setup/data/hicolor/scalable/mimetypes/application-x-umbraedit-project.svg ${FLATPAK_DEST}/share/icons/hicolor/scalable/mimetypes/application-x-umbraedit-project.svg;
|
|
- install -Dm644 -T umbraedit.appdata.xml ${FLATPAK_DEST}/share/metainfo/${FLATPAK_ID}.metainfo.xml
|
|
- sed -i "s/umbraedit.desktop/${FLATPAK_ID}.desktop/" ${FLATPAK_DEST}/share/metainfo/${FLATPAK_ID}.metainfo.xml
|
|
|
|
# License Files
|
|
- install -Dm644 -T LICENSE.md ${FLATPAK_DEST}/share/licenses/${FLATPAK_ID}/LICENSE.md
|
|
- install -Dm644 -T setup/LICENSE-Apache-2.0.txt ${FLATPAK_DEST}/share/licenses/${FLATPAK_ID}/LICENSE-Apache-2.0.txt
|
|
sources:
|
|
- type: file
|
|
path: ../pyproject.toml
|
|
|
|
- type: file
|
|
path: ../LICENSE.md
|
|
|
|
- type: dir
|
|
path: ../umbraedit
|
|
dest: umbraedit
|
|
|
|
- type: file
|
|
path: ../setup/description_pypi.md
|
|
dest: setup
|
|
|
|
- type: file
|
|
path: ../setup/LICENSE-Apache-2.0.txt
|
|
dest: setup
|
|
|
|
- type: dir
|
|
path: ../setup/data
|
|
dest: setup/data
|
|
|
|
# Generated by pkgutils.py
|
|
- type: file
|
|
path: umbraedit.appdata.xml
|
|
|
|
- type: file
|
|
path: meta.toml
|