~chronoscz/c-evo/trunk

« back to all changes in this revision

Viewing changes to Install/flatpak/net.zdechov.app.C-evo.yml

  • Committer: chronos
  • Date: 2024-11-18 22:01:08 UTC
  • Revision ID: svn-v4:df67fc5e-c296-4801-ab9c-02011ead39ce:trunk:636
* Modified: Updated flatpak files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
app-id: net.zdechov.app.C-evo
2
2
runtime: org.freedesktop.Platform
3
 
runtime-version: '23.08'
 
3
runtime-version: '24.08'
4
4
sdk: org.freedesktop.Sdk
5
5
sdk-extensions:
6
6
  - org.freedesktop.Sdk.Extension.freepascal
16
16
    sources:
17
17
      - type: svn
18
18
        url: https://svn.zdechov.net/c-evo/trunk
19
 
        revision: r633
 
19
        revision: 636
20
20
    buildsystem: simple
 
21
    build-options:
 
22
      arch:
 
23
        x86_64:
 
24
          env:
 
25
            STDAI_ARCH: amd64
 
26
        aarch64:
 
27
          env:
 
28
            STDAI_ARCH: arm64
21
29
    build-commands:
22
30
      - |
23
31
        . /usr/lib/sdk/freepascal/enable.sh
24
32
        lazbuild --build-mode=Release AI/StdAI/StdAI.lpi
25
 
        mv AI/StdAI/libstdai.so AI/StdAI/libstdai-amd64.so
 
33
        mv AI/StdAI/libstdai.so AI/StdAI/libstdai-$STDAI_ARCH.so
26
34
        lazbuild --build-mode=Release Integrated.lpi
27
35
      - install -Dm755 c-evo -t $FLATPAK_DEST/share/c-evo
28
36
      - install -d $FLATPAK_DEST/bin
35
43
      - install -Dm644 Graphics/c-evo_256x256.png $FLATPAK_DEST/share/icons/hicolor/256x256/apps/${FLATPAK_ID}.png
36
44
      - install -Dm644 Graphics/c-evo_256x256.png -t $FLATPAK_DEST/share/pixmaps/application-cevo.png
37
45
      - install -Dm644 Graphics/c-evo_256x256.png -t $FLATPAK_DEST/share/pixmaps/application-cevomap.png
38
 
      - install -Dm644 AI/StdAI/libstdai-amd64.so -t $FLATPAK_DEST/share/c-evo/AI/StdAI
 
46
      - install -Dm644 AI/StdAI/libstdai-$STDAI_ARCH.so -t $FLATPAK_DEST/share/c-evo/AI/StdAI
39
47
      - install -Dm644 AI/StdAI/StdAI.ai.txt -t $FLATPAK_DEST/share/c-evo/AI/StdAI
40
48
      - install -Dm644 AI/StdAI/StdAI.png -t $FLATPAK_DEST/share/c-evo/AI/StdAI
41
49
      - install -Dm644 Install/flatpak/${FLATPAK_ID}.appdata.xml $FLATPAK_DEST/share/metainfo/${FLATPAK_ID}.metainfo.xml