mirror of https://gitlab.com/openlp/packaging.git
34 lines
1.4 KiB
YAML
34 lines
1.4 KiB
YAML
app-id: org.openlp.OpenLP
|
|
runtime: org.kde.Platform
|
|
runtime-version: '5.15-23.08'
|
|
sdk: org.kde.Sdk
|
|
base: com.riverbankcomputing.PyQt.BaseApp
|
|
base-version: '5.15-23.08'
|
|
command: 'openlp'
|
|
cleanup-commands:
|
|
- /app/cleanup-BaseApp.sh
|
|
modules:
|
|
- name: OpenLP
|
|
finish-args:
|
|
- --socket=x11
|
|
- --share=ipc
|
|
- --device=dri
|
|
- --share=network
|
|
- --socket=pulseaudio
|
|
- --env=QTWEBENGINEPROCESS_PATH=/app/bin/QtWebEngineProcess
|
|
- --filesystem=host
|
|
modules:
|
|
- python3-pymupdf.yaml
|
|
- python3-requirements.json
|
|
- name: OpenLP
|
|
buildsystem: simple
|
|
build-commands:
|
|
- pip install --no-deps --no-build-isolation --prefix=$FLATPAK_DEST .
|
|
- mkdir -p /app/share/applications && cp resources/openlp.desktop /app/share/applications/org.openlp.OpenLP.desktop && sed -ie s/Icon=openlp/Icon=org.openlp.OpenLP/ /app/share/applications/org.openlp.OpenLP.desktop
|
|
- mkdir -p /app/share/icons/hicolor/256x256/apps/ && cp resources/images/openlp-logo-256x256.png /app/share/icons/hicolor/256x256/apps/org.openlp.OpenLP.png
|
|
- mkdir -p /app/share/icons/hicolor/scalable/apps/ && cp resources/images/openlp-logo.svg /app/share/icons/hicolor/scalable/apps/org.openlp.OpenLP.svg
|
|
sources:
|
|
- type: archive
|
|
url: https://gitlab.com/openlp/openlp/-/archive/e5e8bc4164513ff4858b125c5efc2c157d758ea5/openlp-e5e8bc4164513ff4858b125c5efc2c157d758ea5.tar.gz
|
|
sha256: 5de48fb834cd831216ceb97f43846517cf427a85254236057ba20127288c2284
|