source: branches/zoom/Install/flatpak/net.zdechov.app.C-evo.yml

Last change on this file was 697, checked in by chronos, 4 weeks ago
  • Modified: Updated 1.3.8 binary packages.
File size: 2.9 KB
Line 
1app-id: net.zdechov.app.C-evo
2runtime: org.freedesktop.Platform
3runtime-version: '24.08'
4sdk: org.freedesktop.Sdk
5sdk-extensions:
6 - org.freedesktop.Sdk.Extension.freepascal
7command: c-evo
8rename-icon: c-evo
9rename-desktop-file: c-evo.desktop
10finish-args:
11 - --socket=x11
12 - --socket=pulseaudio
13 - --device=all # ALSA
14 - --share=ipc
15 - --device=dri
16modules:
17 - shared-modules/gtk2/gtk2.json
18 - name: portaudio
19 buildsystem: cmake-ninja
20 sources:
21 - type: git
22 url: https://github.com/PortAudio/portaudio.git
23 tag: v19.7.0
24 commit: 147dd722548358763a8b649b3e4b41dfffbcfbb6
25 x-checker-data:
26 type: git
27 tag-pattern: ^v([\d.]+)$
28 - name: libxmp
29 buildsystem: cmake-ninja
30 sources:
31 - type: git
32 url: https://github.com/libxmp/libxmp.git
33 tag: libxmp-4.6.3
34 commit: bed660f8e530d399c38f27a5a7732f4e79740585
35 - name: c-evo
36 sources:
37 - type: svn
38 url: https://svn.zdechov.net/c-evo/trunk
39 revision: r696
40 buildsystem: simple
41 build-options:
42 arch:
43 x86_64:
44 env:
45 STDAI_ARCH: amd64
46 aarch64:
47 env:
48 STDAI_ARCH: arm64
49 build-commands:
50 - |
51 . /usr/lib/sdk/freepascal/enable.sh
52 lazbuild --build-mode=Release AI/StdAI/StdAI.lpi
53 mv AI/StdAI/libstdai.so AI/StdAI/libstdai-$STDAI_ARCH.so
54 lazbuild --build-mode=Release Integrated.lpi
55 - install -Dm755 c-evo -t $FLATPAK_DEST/bin
56 - install -Dm644 Language.txt -t $FLATPAK_DEST/share/c-evo
57 - install -Dm644 Language2.txt -t $FLATPAK_DEST/share/c-evo
58 - install -Dm644 Fonts.txt -t $FLATPAK_DEST/share/c-evo
59 - install -Dm644 Install/common/c-evo.desktop -t $FLATPAK_DEST/share/applications
60 - install -Dm644 Install/common/c-evo.xml -t $FLATPAK_DEST/share/mime/packages
61 - install -Dm644 Install/common/c-evo_256x256.png $FLATPAK_DEST/share/icons/hicolor/256x256/apps/c-evo.png
62 - install -Dm644 Install/common/c-evo_256x256.png $FLATPAK_DEST/share/pixmaps/application-cevo.png
63 - install -Dm644 Install/common/c-evo_256x256.png $FLATPAK_DEST/share/pixmaps/application-cevomap.png
64 - install -Dm644 AI/StdAI/libstdai-$STDAI_ARCH.so -t $FLATPAK_DEST/share/c-evo/AI/StdAI
65 - install -Dm644 AI/StdAI/StdAI.ai.txt -t $FLATPAK_DEST/share/c-evo/AI/StdAI
66 - install -Dm644 AI/StdAI/StdAI.png -t $FLATPAK_DEST/share/c-evo/AI/StdAI
67 - install -Dm644 Install/flatpak/${FLATPAK_ID}.metainfo.xml -t $FLATPAK_DEST/share/metainfo
68 - cp -r Graphics $FLATPAK_DEST/share/c-evo
69 - cp -r Help $FLATPAK_DEST/share/c-evo
70 - cp -r Sounds $FLATPAK_DEST/share/c-evo
71 - cp -r Music $FLATPAK_DEST/share/c-evo
72 - cp -r Tribes $FLATPAK_DEST/share/c-evo
73 - cp -r Localization $FLATPAK_DEST/share/c-evo
74 - cp -r Maps $FLATPAK_DEST/share/c-evo
75 - cp -r Saved $FLATPAK_DEST/share/c-evo
76 - cp -r "AI Template" $FLATPAK_DEST/share/c-evo
77
Note: See TracBrowser for help on using the repository browser.