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

Last change on this file was 177, checked in by chronos, 3 months ago
  • Modified: Merged changes from trunk to 1.3.0.
File size: 1.5 KB
Line 
1app-id: net.zdechov.app.LazFuck
2runtime: org.kde.Platform
3runtime-version: '5.15-23.08'
4sdk: org.kde.Sdk
5sdk-extensions:
6 - org.freedesktop.Sdk.Extension.freepascal
7command: LazFuck
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: lazfuck
24 sources:
25 - type: svn
26 url: https://svn.zdechov.net/LazFuck/trunk
27 revision: r177
28 buildsystem: simple
29 build-commands:
30 - |
31 . /usr/lib/sdk/freepascal/enable.sh
32 lazbuild --build-mode=Release --ws=qt5 LazFuck.lpi
33 - install -Dm755 LazFuck -t $FLATPAK_DEST/share/LazFuck
34 - install -d $FLATPAK_DEST/bin
35 - ln -s $FLATPAK_DEST/share/LazFuck/LazFuck $FLATPAK_DEST/bin/LazFuck
36 - install -Dm644 Install/flatpak/${FLATPAK_ID}.desktop -t $FLATPAK_DEST/share/applications
37 - install -Dm644 Images/256x256/LazFuck.png $FLATPAK_DEST/share/icons/hicolor/256x256/apps/${FLATPAK_ID}.png
38 - install -Dm644 Languages/*.po -t $FLATPAK_DEST/share/LazFuck/Languages
39 - install -Dm644 Packages/Common/Languages/*.po -t $FLATPAK_DEST/share/LazFuck/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.