source: trunk/Install/flatpak/net.zdechov.app.vCardStudio.yml

Last change on this file was 186, checked in by chronos, 3 months ago
  • Modified: Updated flatpak files.
File size: 1.6 KB
Line 
1app-id: net.zdechov.app.vCardStudio
2runtime: org.kde.Platform
3runtime-version: '5.15-23.08'
4sdk: org.kde.Sdk
5sdk-extensions:
6 - org.freedesktop.Sdk.Extension.freepascal
7command: vCardStudio
8finish-args:
9 - --share=ipc
10 - --socket=fallback-x11
11 - --socket=wayland
12 - --device=dri
13modules:
14 - name: qt5pas
15 buildsystem: qmake
16 config-opts:
17 - -after
18 - target.path=/app/lib
19 sources:
20 - type: shell
21 commands:
22 - cp -r /usr/lib/sdk/freepascal/share/lazarus/lcl/interfaces/qt5/cbindings/. .
23 - name: vCardStudio
24 sources:
25 - type: svn
26 url: https://svn.zdechov.net/vcard-studio/trunk
27 revision: r184
28 buildsystem: simple
29 build-commands:
30 - |
31 . /usr/lib/sdk/freepascal/enable.sh
32 lazbuild --build-mode=Release --ws=qt5 vCardStudio.lpi
33 - install -Dm755 vCardStudio -t $FLATPAK_DEST/share/vCardStudio
34 - install -d $FLATPAK_DEST/bin
35 - ln -s $FLATPAK_DEST/share/vCardStudio/vCardStudio $FLATPAK_DEST/bin/vCardStudio
36 - install -Dm644 Install/flatpak/${FLATPAK_ID}.desktop -t $FLATPAK_DEST/share/applications
37 - install -Dm644 "Images/vCard Studio.png" $FLATPAK_DEST/share/icons/hicolor/256x256/apps/${FLATPAK_ID}.png
38 - install -Dm644 Languages/*.po -t $FLATPAK_DEST/share/vCardStudio/Languages
39 - install -Dm644 Packages/Common/Languages/*.po -t $FLATPAK_DEST/share/vCardStudio/Languages
40 - install -Dm644 Packages/VCard/Languages/*.po -t $FLATPAK_DEST/share/vCardStudio/Languages
41 - install -Dm644 Install/flatpak/${FLATPAK_ID}.appdata.xml $FLATPAK_DEST/share/metainfo/${FLATPAK_ID}.metainfo.xml
Note: See TracBrowser for help on using the repository browser.