Ignore:
Timestamp:
Nov 11, 2024, 10:16:09 PM (3 days ago)
Author:
chronos
Message:
  • Modified: Build flatpak with GTK2.
Location:
trunk/Install/flatpak
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/Install/flatpak

    • Property svn:ignore
      •  

        old new  
        22build
        33export
         4shared-modules
  • trunk/Install/flatpak/net.zdechov.app.C_evo.yml

    r630 r631  
    1 app-id: net.zdechov.app.C-evo
    2 runtime: org.kde.Platform
    3 runtime-version: '5.15-23.08'
    4 sdk: org.kde.Sdk
     1app-id: net.zdechov.app.C_evo
     2runtime: org.freedesktop.Platform
     3runtime-version: '23.08'
     4sdk: org.freedesktop.Sdk
    55sdk-extensions:
    66  - org.freedesktop.Sdk.Extension.freepascal
    77command: c-evo
    88finish-args:
     9  - --socket=x11
     10  - --socket=pulseaudio
    911  - --share=ipc
    10   - --socket=fallback-x11
    11   - --socket=wayland
    12   - --filesystem=home
    1312  - --device=dri
    1413modules:
    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/. .
     14  - shared-modules/gtk2/gtk2.json
    2415  - name: c-evo
    2516    sources:
    2617      - type: svn
    2718        url: https://svn.zdechov.net/c-evo/trunk
    28         revision: r563
     19        revision: r630
    2920    buildsystem: simple
    3021    build-commands:
    31       - (. /usr/lib/sdk/freepascal/enable.sh && cd AI/StdAI &&lazbuild --build-mode=Release --ws=qt5 StdAI.lpi)
    32       - mv AI/StdAI/libstdai.so AI/StdAI/libstdai-amd64.so
    33       - (. /usr/lib/sdk/freepascal/enable.sh && lazbuild --build-mode=Release --ws=qt5 Integrated.lpi)
    34       - install -d -m 755 $FLATPAK_DEST/share/c-evo
    35       - install -s -m 755 c-evo $FLATPAK_DEST/share/c-evo
    36       - install -m 644 Language.txt $FLATPAK_DEST/share/c-evo
    37       - install -m 644 Language2.txt $FLATPAK_DEST/share/c-evo
    38       - install -m 644 Fonts.txt $FLATPAK_DEST/share/c-evo
    39       - install -d -m 755 $FLATPAK_DEST/bin
     22      - |
     23        . /usr/lib/sdk/freepascal/enable.sh
     24        lazbuild --build-mode=Release AI/StdAI/StdAI.lpi
     25        mv AI/StdAI/libstdai.so AI/StdAI/libstdai-amd64.so
     26        lazbuild --build-mode=Release Integrated.lpi
     27      - install -Dm755 c-evo -t $FLATPAK_DEST/share/c-evo
     28      - install -d $FLATPAK_DEST/bin
    4029      - ln -s $FLATPAK_DEST/share/c-evo/c-evo $FLATPAK_DEST/bin/c-evo
    41       - install -d -m 755 $FLATPAK_DEST/share/applications
    42       - install -m 755 Install/flatpak/${FLATPAK_ID}.desktop $FLATPAK_DEST/share/applications
    43       - install -d -m 755 $FLATPAK_DEST/share/mime/packages
    44       - install -m 644 Install/deb/c-evo.xml $FLATPAK_DEST/share/mime/packages
    45       - install -d -m 755 $FLATPAK_DEST/share/icons/hicolor/64x64/apps
    46       - install -m 644 Graphics/c-evo_64x64.png $FLATPAK_DEST/share/icons/hicolor/64x64/apps/${FLATPAK_ID}.png
    47       - install -d -m 755 $FLATPAK_DEST/share/pixmaps
    48       - install -m 644 Graphics/c-evo_64x64.png $FLATPAK_DEST/share/pixmaps/application-cevo.png
    49       - install -m 644 Graphics/c-evo_64x64.png $FLATPAK_DEST/share/pixmaps/application-cevomap.png
    50       - install -d -m 755 $FLATPAK_DEST/share/c-evo/AI/StdAI
    51       - install -m 644 AI/StdAI/libstdai-amd64.so $FLATPAK_DEST/share/c-evo/AI/StdAI
    52       - install -m 644 AI/StdAI/StdAI.ai.txt $FLATPAK_DEST/share/c-evo/AI/StdAI
    53       - install -m 644 AI/StdAI/StdAI.png $FLATPAK_DEST/share/c-evo/AI/StdAI
    54       - install -D Install/flatpak/net.zdechov.app.C-evo.appdata.xml -t $FLATPAK_DEST/share/metainfo/net.zdechov.app.C-evo.metainfo.xml
     30      - install -Dm644 Language.txt -t $FLATPAK_DEST/share/c-evo
     31      - install -Dm644 Language2.txt -t $FLATPAK_DEST/share/c-evo
     32      - install -Dm644 Fonts.txt -t $FLATPAK_DEST/share/c-evo
     33      - install -Dm755 Install/flatpak/${FLATPAK_ID}.desktop -t $FLATPAK_DEST/share/applications
     34      - install -Dm644 Install/deb/c-evo.xml -t $FLATPAK_DEST/share/mime/packages
     35      - install -Dm644 Graphics/c-evo_64x64.png -t $FLATPAK_DEST/share/icons/hicolor/64x64/apps/${FLATPAK_ID}.png
     36      - install -Dm644 Graphics/c-evo_64x64.png -t $FLATPAK_DEST/share/pixmaps/application-cevo.png
     37      - install -Dm644 Graphics/c-evo_64x64.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
     39      - install -Dm644 AI/StdAI/StdAI.ai.txt -t $FLATPAK_DEST/share/c-evo/AI/StdAI
     40      - install -Dm644 AI/StdAI/StdAI.png -t $FLATPAK_DEST/share/c-evo/AI/StdAI
     41      - install -Dm644 Install/flatpak/${FLATPAK_ID}.appdata.xml $FLATPAK_DEST/share/metainfo/${FLATPAK_ID}.metainfo.xml
    5542      - cp -r Graphics $FLATPAK_DEST/share/c-evo
    5643      - cp -r Help $FLATPAK_DEST/share/c-evo
Note: See TracChangeset for help on using the changeset viewer.