-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathapp.organicmaps.desktop.yml
39 lines (39 loc) · 1.2 KB
/
app.organicmaps.desktop.yml
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
app-id: app.organicmaps.desktop
runtime: org.kde.Platform
runtime-version: '6.8'
sdk: org.kde.Sdk
command: OMaps
finish-args:
- --share=network
- --share=ipc
- --socket=fallback-x11
- --socket=wayland
- --device=dri
- --system-talk-name=org.freedesktop.GeoClue2.*
modules:
- name: organicmaps
buildsystem: cmake-ninja
builddir: true
config-opts:
- -DCMAKE_BUILD_TYPE=Release
cleanup:
- '/lib' # static libraries and build configs
- '/include'
sources:
- type: git
url: https://github.com/organicmaps/organicmaps
tag: 2025.01.26-9-android
commit: 0e38f132cdda6751e48341bf97afd89fc69a1f2d
- type: patch
path: ./desktopfile-icon.patch
- type: patch
path: ./changelog-2025.01.26-9.patch
- type: patch
path: ./disable-world-feed-integration-test.patch
- type: shell
commands:
- 'bash configure.sh'
- for s in {32,64,128,256,512}; do ffmpeg -i qt/res/logo.png
-s "${s}x${s}" -update true "qt/res/logo_${s}x${s}.png";
install -Dm644 "qt/res/logo_${s}x${s}.png" "${FLATPAK_DEST}/share/icons/hicolor/${s}x${s}/apps/${FLATPAK_ID}.png";
done;