-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathio.github.Loganavter.Improve-ImgSLI.yaml
More file actions
62 lines (61 loc) · 2.44 KB
/
io.github.Loganavter.Improve-ImgSLI.yaml
File metadata and controls
62 lines (61 loc) · 2.44 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
app-id: io.github.Loganavter.Improve-ImgSLI
runtime: org.kde.Platform
runtime-version: '6.10'
sdk: org.kde.Sdk
base: com.riverbankcomputing.PyQt.BaseApp
base-version: '6.10'
command: Improve-ImgSLI
finish-args:
- --socket=fallback-x11
- --socket=wayland
- --share=ipc
- --device=dri
- --filesystem=xdg-documents
- --filesystem=xdg-download
- --filesystem=xdg-pictures
- --talk-name=org.freedesktop.Notifications
- --env=PATH=/app/lib/ffmpeg:/app/bin:/usr/bin
cleanup:
- /include
- /lib/pkgconfig
- /man
- /share/man
- /share/pkgconfig
- '*.la'
- '*.a'
cleanup-commands:
- /app/cleanup-BaseApp.sh
build-options:
env:
- BASEAPP_REMOVE_WEBENGINE=1
modules:
- name: openblas
buildsystem: cmake-ninja
config-opts:
- -DCMAKE_BUILD_TYPE=Release
- -DBUILD_SHARED_LIBS=ON
sources:
- type: archive
url: https://github.com/OpenMathLib/OpenBLAS/releases/download/v0.3.32/OpenBLAS-0.3.32.tar.gz
sha256: f8a1138e01fddca9e4c29f9684fd570ba39dedc9ca76055e1425d5d4b1a4a766
- python3-modules.json
- name: Improve-ImgSLI
buildsystem: simple
build-commands:
- install -d ${FLATPAK_DEST}/lib/ffmpeg
- install -Dm755 build/Flatpak-template/improve-imgsli-launcher.sh ${FLATPAK_DEST}/bin/Improve-ImgSLI
- install -d ${FLATPAK_DEST}/lib/Improve-ImgSLI/src
- cp -a src/* ${FLATPAK_DEST}/lib/Improve-ImgSLI/src/
- cd ${FLATPAK_DEST}/lib/Improve-ImgSLI/src && mv __main__.py .. && mv __init__.py ..
- install -Dm644 src/resources/icons/icon.png ${FLATPAK_DEST}/share/icons/hicolor/512x512/apps/${FLATPAK_ID}.png
- install -Dm644 LICENSE ${FLATPAK_DEST}/share/licenses/Improve-ImgSLI/LICENSE
- desktop-file-edit --set-key=Categories --set-value="Graphics;Utility;Viewer;Photography;" build/AUR-template/improve-imgsli.desktop
- desktop-file-edit --set-icon="${FLATPAK_ID}" build/AUR-template/improve-imgsli.desktop
- desktop-file-edit --set-key=Exec --set-value="Improve-ImgSLI" build/AUR-template/improve-imgsli.desktop
- install -Dm644 build/AUR-template/improve-imgsli.desktop ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop
- install -Dm644 build/Flatpak-template/io.github.Loganavter.Improve-ImgSLI.metainfo.xml ${FLATPAK_DEST}/share/metainfo/${FLATPAK_ID}.metainfo.xml
sources:
- type: git
url: https://github.com/Loganavter/Improve-ImgSLI.git
tag: v8.2.0
commit: 14546fcee49812d4af848da5f5901ac16e0309f5