forked from flathub/io.qt.PySide.BaseApp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
io.qt.PySide.BaseApp.yaml
40 lines (40 loc) · 1.27 KB
/
io.qt.PySide.BaseApp.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
id: io.qt.PySide.BaseApp
branch: '6.7'
runtime: org.kde.Platform
runtime-version: '6.7'
sdk: org.kde.Sdk
sdk-extensions:
- org.freedesktop.Sdk.Extension.llvm16
separate-locales: false
base: io.qt.qtwebengine.BaseApp
base-version: '6.7'
build-options:
append-path: /usr/lib/sdk/llvm16/bin
append-ld-library-path: /usr/lib/sdk/llvm16/lib
env:
LLVM_INSTALL_DIR: /usr/lib/sdk/llvm16
SHIBOKEN_DEBUG_LEVEL: 'full'
modules:
- python3-requirements.json
- name: pyside-setup
buildsystem: simple
build-commands:
- python3 setup.py build --qtpaths=/usr/bin/qtpaths --ignore-git --parallel=8
--log-level=verbose --no-qt-tools --flatpak
- python3 create_wheels.py --build-dir ./build/qfp-*-release
- pip install ./dist/*.whl --prefix=${FLATPAK_DEST}
sources:
- type: git
url: "https://code.qt.io/pyside/pyside-setup.git"
tag: "6.7.3"
- name: polish
buildsystem: simple
build-commands:
- mv ${FLATPAK_DEST}/cleanup-BaseApp{,-QtWebEngine}.sh
- install -Dm755 cleanup.sh ${FLATPAK_DEST}/cleanup-BaseApp.sh
- install -Dm644 ${FLATPAK_ID}.metainfo.xml -t ${FLATPAK_DEST}/share/metainfo/
sources:
- type: file
path: cleanup.sh
- type: file
path: io.qt.PySide.BaseApp.metainfo.xml