Line | |
---|
1 | app-id: net.zdechov.app.xTactics
|
---|
2 | runtime: org.kde.Platform
|
---|
3 | runtime-version: '5.15-24.08'
|
---|
4 | sdk: org.kde.Sdk
|
---|
5 | sdk-extensions:
|
---|
6 | - org.freedesktop.Sdk.Extension.freepascal
|
---|
7 | command: xtactics
|
---|
8 | rename-icon: xtactics
|
---|
9 | rename-desktop-file: xtactics.desktop
|
---|
10 | finish-args:
|
---|
11 | - --share=ipc
|
---|
12 | - --socket=fallback-x11
|
---|
13 | - --socket=wayland
|
---|
14 | - --device=dri
|
---|
15 | modules:
|
---|
16 | - name: qt5pas
|
---|
17 | buildsystem: qmake
|
---|
18 | config-opts:
|
---|
19 | - -after
|
---|
20 | - target.path=/app/lib
|
---|
21 | sources:
|
---|
22 | - type: shell
|
---|
23 | commands:
|
---|
24 | - cp -r /usr/lib/sdk/freepascal/share/lazarus/lcl/interfaces/qt5/cbindings/. .
|
---|
25 | - name: xTactics
|
---|
26 | sources:
|
---|
27 | - type: svn
|
---|
28 | url: https://svn.zdechov.net/xtactics/trunk
|
---|
29 | revision: r412
|
---|
30 | buildsystem: simple
|
---|
31 | build-commands:
|
---|
32 | - |
|
---|
33 | . /usr/lib/sdk/freepascal/enable.sh
|
---|
34 | lazbuild --build-mode=Release --ws=qt5 xtactics.lpi
|
---|
35 | - install -Dm755 xtactics -t $FLATPAK_DEST/bin
|
---|
36 | - install -Dm644 Languages/*.po -t $FLATPAK_DEST/share/xtactics/Languages
|
---|
37 | - install -Dm644 Packages/Common/Languages/*.po -t $FLATPAK_DEST/share/xtactics/Languages
|
---|
38 | - install -Dm644 Packages/CoolStreaming/Languages/*.po -t $FLATPAK_DEST/share/xtactics/Languages
|
---|
39 | - install -Dm644 Images/Maps/*.png -t $FLATPAK_DEST/share/xtactics/Images/Maps
|
---|
40 | - install -Dm644 Systems/*.xts -t $FLATPAK_DEST/share/xtactics/Systems
|
---|
41 | - install -Dm644 Install/deb/xtactics.desktop -t $FLATPAK_DEST/share/applications
|
---|
42 | - install -Dm644 Install/deb/xtactics.xml $FLATPAK_DEST/share/mime/packages/$FLAPTAK_ID.xml
|
---|
43 | - install -Dm644 Images/256x256/xtactics.png -t $FLATPAK_DEST/share/icons/hicolor/256x256/apps
|
---|
44 | - install -Dm644 Images/256x256/xtactics.png $FLATPAK_DEST/share/pixmaps/application-xtg.png
|
---|
45 | - install -Dm644 Images/256x256/xtactics.png $FLATPAK_DEST/share/pixmaps/application-xts.png
|
---|
46 | - install -Dm644 Install/flatpak/${FLATPAK_ID}.metainfo.xml -t $FLATPAK_DEST/share/metainfo
|
---|
Note:
See
TracBrowser
for help on using the repository browser.