Changeset 631 for trunk/Install/flatpak
- Timestamp:
- Nov 11, 2024, 10:16:09 PM (3 days ago)
- Location:
- trunk/Install/flatpak
- Files:
-
- 2 edited
- 3 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/Install/flatpak
- Property svn:ignore
-
old new 2 2 build 3 3 export 4 shared-modules
-
- Property svn:ignore
-
trunk/Install/flatpak/build.sh
r563 r631 1 1 #!/bin/bash 2 set -x 2 3 3 4 BUILD_DIR=build 4 FLATPAK_ID=net.zdechov.app.C-evo 5 REPO_DIR=repo 6 FLATPAK_ID=net.zdechov.app.C_evo 5 7 6 8 # Install dependencies 7 flatpak install flathub org.kde.Sdk//5.15-23.08 8 flatpak install flathub org.kde.Platform//5.15-23.08 9 flatpak install flathub org.freedesktop.Sdk.Extension.freepascal//23.08 9 flatpak install --system flathub org.kde.Sdk//5.15-23.08 10 flatpak install --system flathub org.kde.Platform//5.15-23.08 11 flatpak install --system flathub org.freedesktop.Sdk.Extension.freepascal//23.08 12 flatpak install --system flathub org.flatpak.Builder 13 git clone https://github.com/flathub/shared-modules.git shared-modules 14 (cd shared-modules && git checkout a9112b9c62e2b84db4c2f6c55c9531fd7e8d03c1) 10 15 11 16 # Build 12 flatpak-builder --force-clean $BUILD_DIR $FLATPAK_ID.yml 13 14 # Build bundle 15 flatpak build-export export build 16 flatpak build-bundle export C-evo.flatpak $FLATPAK_ID 17 18 # Install 19 flatpak-builder --user --install --force-clean $BUILD_DIR $FLATPAK_ID.yml 17 flatpak run org.flatpak.Builder --force-clean --sandbox --user --install --ccache --mirror-screenshots-url=https://dl.flathub.org/media/ --repo=$REPO_DIR $BUILD_DIR $FLATPAK_ID.yml 20 18 21 19 # Run 22 20 flatpak run $FLATPAK_ID 21 22 # Linter 23 flatpak run --command=flatpak-builder-lint org.flatpak.Builder manifest $FLATPAK_ID.yml 24 flatpak run --command=flatpak-builder-lint org.flatpak.Builder repo $REPO_DIR -
trunk/Install/flatpak/net.zdechov.app.C_evo.appdata.xml
r630 r631 1 1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <component type="desktop-application"> 3 <id>net.zdechov.app.C -evo</id>3 <id>net.zdechov.app.C_evo</id> 4 4 5 5 <name>C-evo: New Horizons</name> 6 <summary> A turn-based empire building game inspired by Civilization IIgame.</summary>6 <summary>Turn-based empire building game.</summary> 7 7 <developer_name>Chronos</developer_name> 8 8 … … 23 23 <li>Multiple localizations included</li> 24 24 <li>High DPI support</li> 25 <li>Multi monitor support</li> 25 26 <li>Many other small improvements</li> 26 27 </ul> 27 28 </description> 28 29 29 <launchable type="desktop-id">net.zdechov.app.C -evo.desktop</launchable>30 <launchable type="desktop-id">net.zdechov.app.C_evo.desktop</launchable> 30 31 31 32 <screenshots> 32 33 <screenshot type="default"> 33 34 <caption>Game interface and world map</caption> 34 <image>https:// github.com/flathub/net.zdechov.app.C-evo/raw/master/Screenshots/Game.jpg</image>35 <image>https://svn.zdechov.net/c-evo/trunk/Images/Screenshots/Game.jpg</image> 35 36 </screenshot> 36 37 <screenshot> 37 38 <caption>Main menu</caption> 38 <image>https:// github.com/flathub/net.zdechov.app.C-evo/raw/master/screenshots/Main%20menu.jpg</image>39 <image>https://svn.zdechov.net/c-evo/trunk/Images/Screenshots/Main%20menu.jpg</image> 39 40 </screenshot> 40 41 <screenshot> 41 42 <caption>New game</caption> 42 <image>https://github.com/flathub/net.zdechov.app.C-evo/raw/master/screenshots/New%20game.jpg</image> 43 <image>https://svn.zdechov.net/c-evo/trunk/Screenshots/New%20game.jpg</image> 44 </screenshot> 45 <screenshot> 46 <caption>Multiple opened windows</caption> 47 <image>https://svn.zdechov.net/c-evo/trunk/Screenshots/Windows.jpg</image> 43 48 </screenshot> 44 49 </screenshots> 45 50 46 51 <releases> 47 <release version="1.3.3" date="2024-04-24"/> 52 <release version="1.3.6" date="2024-09-16" type="stable"> 53 <url type="details">https://svn.zdechov.net/c-evo/tags/1.3.6/Release%20notes.txt</url> 54 <description> 55 <ul> 56 <li>Added: Allow to scroll map with Ctrl+arrows/num keys.</li> 57 <li>Added: New editor menu action to create filled map from selected tile.</li> 58 <li>Added: Allow to rename city with mouse right click on city caption in City screen.</li> 59 <li>Added: Spiral of death map.</li> 60 <li>Modified: Show windows by default on primary screen if multiple monitors present.</li> 61 <li>Modified: Do not use Screen Width and Height values for Offscreen bitmap size initialization to improve multi monitor support.</li> 62 <li>Modified: Map scrolling with mouse on window borders instead of screen borders to support mouse scrolling in windowed mode and on multiple monitors.</li> 63 <li>Modified: Precalculate scaling coefficients also for from native values conversions for faster speed.</li> 64 <li>Modified: Scroll just by single row with mouse wheel in tile units list.</li> 65 <li>Fixed: Do not process keyboard input during unit move on Linux.</li> 66 <li>Fixed: Resize main window controls on game start if map size changed.</li> 67 <li>Fixed: Allow full screen switching in editor and movie mode.</li> 68 <li>Fixed: Do not overflow city name text in City screen.</li> 69 <li>Fixed: Repaint main screen after city and unit rename.</li> 70 <li>Fixed: Rows scrolling of high number of units in single map tile.</li> 71 </ul> 72 </description> 73 </release> 48 74 </releases> 49 75 … … 52 78 </categories> 53 79 54 <content_rating type="oars-1.1"/> 80 <content_rating type="oars-1.1"> 81 <content_attribute id="violence-fantasy">moderate</content_attribute> 82 </content_rating> 55 83 </component> -
trunk/Install/flatpak/net.zdechov.app.C_evo.desktop
r630 r631 2 2 Encoding=UTF-8 3 3 Name=C-evo 4 Comment=A n empire building game4 Comment=A turn-based empire building strategy game inspired by Civilization II game. 5 5 Exec=c-evo 6 Icon=net.zdechov.app.C -evo.png6 Icon=net.zdechov.app.C_evo.png 7 7 Terminal=false 8 8 Type=Application -
trunk/Install/flatpak/net.zdechov.app.C_evo.yml
r630 r631 1 app-id: net.zdechov.app.C -evo2 runtime: org. kde.Platform3 runtime-version: ' 5.15-23.08'4 sdk: org. kde.Sdk1 app-id: net.zdechov.app.C_evo 2 runtime: org.freedesktop.Platform 3 runtime-version: '23.08' 4 sdk: org.freedesktop.Sdk 5 5 sdk-extensions: 6 6 - org.freedesktop.Sdk.Extension.freepascal 7 7 command: c-evo 8 8 finish-args: 9 - --socket=x11 10 - --socket=pulseaudio 9 11 - --share=ipc 10 - --socket=fallback-x1111 - --socket=wayland12 - --filesystem=home13 12 - --device=dri 14 13 modules: 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 24 15 - name: c-evo 25 16 sources: 26 17 - type: svn 27 18 url: https://svn.zdechov.net/c-evo/trunk 28 revision: r 56319 revision: r630 29 20 buildsystem: simple 30 21 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 40 29 - 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 55 42 - cp -r Graphics $FLATPAK_DEST/share/c-evo 56 43 - cp -r Help $FLATPAK_DEST/share/c-evo
Note:
See TracChangeset
for help on using the changeset viewer.