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

Last change on this file was 149, checked in by chronos, 6 months ago
  • Fixed: Screenshots links in flatpak.
File size: 1.4 KB
Line 
1app-id: net.zdechov.app.TransLines
2runtime: org.kde.Platform
3runtime-version: '5.15-23.08'
4sdk: org.kde.Sdk
5sdk-extensions:
6 - org.freedesktop.Sdk.Extension.freepascal
7command: TransLines
8finish-args:
9 - --share=ipc
10 - --socket=fallback-x11
11 - --socket=wayland
12 - --socket=pulseaudio
13 - --device=dri
14modules:
15 - name: qt5pas
16 buildsystem: qmake
17 config-opts:
18 - -after
19 - target.path=/app/lib
20 sources:
21 - type: shell
22 commands:
23 - cp -r /usr/lib/sdk/freepascal/share/lazarus/lcl/interfaces/qt5/cbindings/. .
24 - name: TransLines
25 sources:
26 - type: svn
27 url: https://svn.zdechov.net/translines/trunk
28 revision: r149
29 buildsystem: simple
30 build-commands:
31 - |
32 . /usr/lib/sdk/freepascal/enable.sh
33 lazbuild --build-mode=Release --ws=qt5 TransLines.lpi
34 - install -Dm755 TransLines -t $FLATPAK_DEST/share/TransLines
35 - install -d $FLATPAK_DEST/bin
36 - ln -s $FLATPAK_DEST/share/TransLines/TransLines $FLATPAK_DEST/bin/TransLines
37 - install -Dm644 Install/flatpak/${FLATPAK_ID}.desktop -t $FLATPAK_DEST/share/applications
38 - install -Dm644 Images/256x256/TransLines.png $FLATPAK_DEST/share/icons/hicolor/256x256/apps/${FLATPAK_ID}.png
39 - install -Dm644 Languages/*.po -t $FLATPAK_DEST/share/TransLines/Languages
40 - 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.