Ignore:
Timestamp:
Jan 13, 2025, 10:48:36 PM (9 days ago)
Author:
chronos
Message:
  • Modified: Improved flatpak packaging files.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Install/flatpak/net.zdechov.app.Tunneler.yml

    r96 r108  
    11app-id: net.zdechov.app.Tunneler
    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: Tunneler
     8rename-icon: Tunneler
     9rename-desktop-file: tuneller.desktop
    810finish-args:
    911  - --share=ipc
     
    2527  - name: Tunneler
    2628    sources:
    27       - type: archive
    28         path: tunneler.tar.gz
     29      - type: svn
     30        url: https://svn.zdechov.net/Tunneler/trunk
     31        revision: 108
    2932    buildsystem: simple
    3033    build-commands:
    31       - (. /usr/lib/sdk/freepascal/enable.sh && lazbuild --build-mode=Release --ws=qt5 tunneler.lpi)
    32       - install -d -m 755 $FLATPAK_DEST/share/Tunneler
    33       - install -s -m 755 Tunneler $FLATPAK_DEST/share/Tunneler
    34       - install -d -m 755 $FLATPAK_DEST/bin
    35       - ln -s $FLATPAK_DEST/share/Tunneler/Tunneler $FLATPAK_DEST/bin/Tunneler
    36       - install -d -m 755 $FLATPAK_DEST/share/applications
    37       - install -m 755 Install/flatpak/${FLATPAK_ID}.desktop $FLATPAK_DEST/share/applications
    38       - install -d -m 755 $FLATPAK_DEST/share/icons/hicolor/256x256/apps
    39       - install -m 644 Images/256x256/Tunneler.png $FLATPAK_DEST/share/icons/hicolor/256x256/apps/${FLATPAK_ID}.png
    40       - install -d -m 755 $FLATPAK_DEST/share/Tunneler/Languages
    41       - install -D -m 755 Languages/*.pot $FLATPAK_DEST/share/Tunneler/Languages
    42       - install -D -m 755 Languages/*.po $FLATPAK_DEST/share/Tunneler/Languages
    43       - install -d -m 755 $FLATPAK_DEST/share/Tunneler/Audio
    44       - install -D -m 755 Audio/*.wav $FLATPAK_DEST/share/Tunneler/Audio
    45       - install -d -m 755 $FLATPAK_DEST/share/metainfo
    46       - install -D Install/flatpak/${FLATPAK_ID}.appdata.xml $FLATPAK_DEST/share/metainfo/${FLATPAK_ID}.metainfo.xml
     34      - |
     35        . /usr/lib/sdk/freepascal/enable.sh
     36        lazbuild --build-mode=Release --ws=qt5 tunneler.lpi
     37      - install -Dm755 Tunneler -t $FLATPAK_DEST/bin
     38      - install -Dm644 Install/common/Tunneler.desktop -t $FLATPAK_DEST/share/applications
     39      - install -Dm644 Images/256x256/Tunneler.png -t $FLATPAK_DEST/share/icons/hicolor/256x256/apps
     40      - install -Dm644 Languages/*.po -t $FLATPAK_DEST/share/Tunneler/Languages
     41      - install -Dm644 Common/Languages/*.po -t $FLATPAK_DEST/share/Tunneler/Languages
     42      - install -Dm644 Audio/*.wav -t $FLATPAK_DEST/share/Tunneler/Audio
     43      - install -Dm644 Install/flatpak/${FLATPAK_ID}.metainfo.xml -t $FLATPAK_DEST/share/metainfo
Note: See TracChangeset for help on using the changeset viewer.