Changeset 152


Ignore:
Timestamp:
Jan 14, 2025, 12:02:59 PM (7 days ago)
Author:
chronos
Message:
  • Modified: Improved flatpak packaging.
Location:
trunk/Install
Files:
1 deleted
3 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/Install/deb/TransLines.desktop

    r125 r152  
    77Terminal=false
    88Type=Application
    9 Categories=GNOME;Application;Game;
     9Categories=Game;Simulation
    1010StartupNotify=true
     11Keywords=metro;subway;transport;map;transit;simulation;passengers
  • trunk/Install/flatpak/build.sh

    r146 r152  
    77
    88# Install dependencies
    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
     9flatpak install --system flathub org.kde.Sdk//5.15-24.08
     10flatpak install --system flathub org.kde.Platform//5.15-24.08
     11flatpak install --system flathub org.freedesktop.Sdk.Extension.freepascal//24.08
    1212flatpak install --system flathub org.flatpak.Builder
    1313
  • trunk/Install/flatpak/net.zdechov.app.TransLines.metainfo.xml

    r151 r152  
    55  <name>TransLines</name>
    66  <summary>Enjoyable metro building game</summary>
    7   <developer_name>Chronos</developer_name>
     7  <developer id="net.zdechov.chronos">
     8    <name>Chronos</name>
     9  </developer>
    810
    911  <url type="homepage">https://app.zdechov.net/translines/</url>
     12  <url type="contact">https://app.zdechov.net/translines#Contact</url>
     13  <url type="vcs-browser">https://app.zdechov.net/translines/browser</url>
    1014
    1115  <metadata_license>CC0-1.0</metadata_license>
     
    1317
    1418  <description>
    15     <p>
    16       Features:
    17     </p>
     19    <p>Features:</p>
    1820    <ul>
    1921      <li>Supported 9 metro lines with different colors</li>
     
    3335  <launchable type="desktop-id">net.zdechov.app.TransLines.desktop</launchable>
    3436
     37  <branding>
     38    <color type="primary" scheme_preference="light">#dc8add</color>
     39    <color type="primary" scheme_preference="dark">#613583</color>
     40  </branding>
     41
    3542  <screenshots>
    3643    <screenshot type="default">
     
    3845      <image>https://svn.zdechov.net/translines/trunk/Images/Screenshots/Game.png</image>
    3946    </screenshot>
    40     <screenshot type="default">
     47    <screenshot>
    4148      <caption>Dark style</caption>
    4249      <image>https://svn.zdechov.net/translines/trunk/Images/Screenshots/Dark%20style.png</image>
    4350    </screenshot>
    44     <screenshot type="default">
     51    <screenshot>
    4552      <caption>Main menu</caption>
    4653      <image>https://svn.zdechov.net/translines/trunk/Images/Screenshots/Main%20menu.png</image>
    4754    </screenshot>
    48     <screenshot type="default">
     55    <screenshot>
    4956      <caption>New improvement</caption>
    5057      <image>https://svn.zdechov.net/translines/trunk/Images/Screenshots/New%20improvement.png</image>
    5158    </screenshot>
    52     <screenshot type="default">
     59    <screenshot>
    5360      <caption>New train</caption>
    5461      <image>https://svn.zdechov.net/translines/trunk/Images/Screenshots/New%20train.png</image>
     
    8188  <categories>
    8289    <category>Game</category>
     90    <category>Simulation</category>
    8391  </categories>
    8492
  • trunk/Install/flatpak/net.zdechov.app.TransLines.yml

    r149 r152  
    11app-id: net.zdechov.app.TransLines
    22runtime: org.kde.Platform
    3 runtime-version: '5.15-23.08'
     3runtime-version: '5.15-24.08'
    44sdk: org.kde.Sdk
    55sdk-extensions:
    66  - org.freedesktop.Sdk.Extension.freepascal
    77command: TransLines
     8rename-icon: TransLines
     9rename-desktop-file: TransLines.desktop
    810finish-args:
    911  - --share=ipc
     
    2628      - type: svn
    2729        url: https://svn.zdechov.net/translines/trunk
    28         revision: r149
     30        revision: r152
    2931    buildsystem: simple
    3032    build-commands:
     
    3234        . /usr/lib/sdk/freepascal/enable.sh
    3335        lazbuild --build-mode=Release --ws=qt5 TransLines.lpi
    34       - install -Dm755 TransLines -t $FLATPAK_DEST/share/TransLines
    35       - install -d $FLATPAK_DEST/bin
    36       - ln -s $FLATPAK_DEST/share/TransLines/TransLines $FLATPAK_DEST/bin/TransLines
    37       - install -Dm644 Install/flatpak/${FLATPAK_ID}.desktop -t $FLATPAK_DEST/share/applications
    38       - install -Dm644 Images/256x256/TransLines.png $FLATPAK_DEST/share/icons/hicolor/256x256/apps/${FLATPAK_ID}.png
     36      - install -Dm755 TransLines -t $FLATPAK_DEST/bin
     37      - install -Dm644 Install/deb/TransLines.desktop -t $FLATPAK_DEST/share/applications
     38      - install -Dm644 Images/256x256/TransLines.png -t $FLATPAK_DEST/share/icons/hicolor/256x256/apps
    3939      - install -Dm644 Languages/*.po -t $FLATPAK_DEST/share/TransLines/Languages
    40       - install -Dm644 Install/flatpak/${FLATPAK_ID}.appdata.xml $FLATPAK_DEST/share/metainfo/${FLATPAK_ID}.metainfo.xml
     40      - install -Dm644 Packages/Common/Languages/*.po -t $FLATPAK_DEST/share/TransLines/Languages
     41      - install -Dm644 Install/flatpak/${FLATPAK_ID}.metainfo.xml -t $FLATPAK_DEST/share/metainfo
Note: See TracChangeset for help on using the changeset viewer.