source: tags/1.4.0/Install/flatpak/net.zdechov.app.x2048.yml

Last change on this file was 98, checked in by chronos, 3 months ago
  • Fixed: Release notes link in flatpak manifest.
File size: 1.4 KB
Line 
1app-id: net.zdechov.app.x2048
2runtime: org.kde.Platform
3runtime-version: '5.15-23.08'
4sdk: org.kde.Sdk
5sdk-extensions:
6 - org.freedesktop.Sdk.Extension.freepascal
7command: Game2048
8finish-args:
9 - --share=ipc
10 - --socket=fallback-x11
11 - --socket=wayland
12 - --socket=pulseaudio
13 - --device=dri
14modules:
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/. .
24 - name: x2048
25 sources:
26 - type: svn
27 url: https://svn.zdechov.net/2048/tags/1.4.0
28 revision: r98
29 buildsystem: simple
30 build-commands:
31 - |
32 . /usr/lib/sdk/freepascal/enable.sh
33 lazbuild --build-mode=Release --ws=qt5 Game2048.lpi
34 - install -Dm755 Game2048 -t $FLATPAK_DEST/share/Game2048
35 - install -d $FLATPAK_DEST/bin
36 - ln -s $FLATPAK_DEST/share/Game2048/Game2048 $FLATPAK_DEST/bin/Game2048
37 - install -Dm644 Install/flatpak/${FLATPAK_ID}.desktop -t $FLATPAK_DEST/share/applications
38 - install -Dm644 "Images/Logo 256x256.png" $FLATPAK_DEST/share/icons/hicolor/256x256/apps/${FLATPAK_ID}.png
39 - install -Dm644 Languages/*.po -t $FLATPAK_DEST/share/Game2048/Languages
40 - install -Dm644 Install/flatpak/${FLATPAK_ID}.appdata.xml $FLATPAK_DEST/share/metainfo/${FLATPAK_ID}.metainfo.xml
Note: See TracBrowser for help on using the repository browser.