mirror of
https://gitlab.com/openlp/packaging.git
synced 2024-12-22 13:02:50 +00:00
47 lines
2.0 KiB
YAML
47 lines
2.0 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:
|
|
- name: dbus-run-session
|
|
buildsystem: autotools
|
|
cleanup: ["*"]
|
|
sources:
|
|
- type: archive
|
|
url: https://gitlab.freedesktop.org/dbus/dbus/-/archive/dbus-1.15.8/dbus-dbus-1.15.8.tar.gz
|
|
sha256: 3ae23cd28b96beac175eab0798d65c8e21e9fcf57132d840c170aaa7b21cd818
|
|
- openlp-vlc.yaml
|
|
- python3-pymupdf.yaml
|
|
- python3-requirements.json
|
|
- name: OpenLP
|
|
buildsystem: simple
|
|
build-commands:
|
|
- mkdir -p /app/share/openlp/i18n
|
|
- cd resources/i18n; for file in *.ts; do lconvert -i $file -o /app/share/openlp/i18n/${file%%ts}qm ; done; cd ../..
|
|
- 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
|
|
- install -Dm 644 -t /app/share/appdata/ org.openlp.OpenLP.appdata.xml
|
|
sources:
|
|
- type: archive
|
|
url: https://gitlab.com/openlp/openlp/-/archive/3.1.3/openlp-3.1.3.tar.gz
|
|
sha256: 377989f3ffdd225bf285ddb60a88ef4af5903798da58e6c2ec74431246e083c3
|
|
- type: file
|
|
path: org.openlp.OpenLP.appdata.xml
|