| Line | |
|---|
| 1 | app-id: net.zdechov.app.x2048
|
|---|
| 2 | runtime: org.kde.Platform
|
|---|
| 3 | runtime-version: '5.15-24.08'
|
|---|
| 4 | sdk: org.kde.Sdk
|
|---|
| 5 | sdk-extensions:
|
|---|
| 6 | - org.freedesktop.Sdk.Extension.freepascal
|
|---|
| 7 | command: Game2048
|
|---|
| 8 | finish-args:
|
|---|
| 9 | - --share=ipc
|
|---|
| 10 | - --socket=fallback-x11
|
|---|
| 11 | - --socket=wayland
|
|---|
| 12 | - --device=dri
|
|---|
| 13 | modules:
|
|---|
| 14 | - name: qt5pas
|
|---|
| 15 | buildsystem: qmake
|
|---|
| 16 | config-opts:
|
|---|
| 17 | - -after
|
|---|
| 18 | - target.path=/app/lib
|
|---|
| 19 | sources:
|
|---|
| 20 | - type: shell
|
|---|
| 21 | commands:
|
|---|
| 22 | - cp -r /usr/lib/sdk/freepascal/share/lazarus/lcl/interfaces/qt5/cbindings/. .
|
|---|
| 23 | - name: x2048
|
|---|
| 24 | sources:
|
|---|
| 25 | - type: svn
|
|---|
| 26 | url: https://svn.zdechov.net/2048/trunk
|
|---|
| 27 | revision: 124
|
|---|
| 28 | buildsystem: simple
|
|---|
| 29 | build-commands:
|
|---|
| 30 | - |
|
|---|
| 31 | . /usr/lib/sdk/freepascal/enable.sh
|
|---|
| 32 | lazbuild --build-mode=Release --ws=qt5 Game2048.lpi
|
|---|
| 33 | - install -Dm755 Game2048 -t $FLATPAK_DEST/share/Game2048
|
|---|
| 34 | - install -d $FLATPAK_DEST/bin
|
|---|
| 35 | - ln -s $FLATPAK_DEST/share/Game2048/Game2048 $FLATPAK_DEST/bin/Game2048
|
|---|
| 36 | - install -Dm644 Install/flatpak/${FLATPAK_ID}.desktop -t $FLATPAK_DEST/share/applications
|
|---|
| 37 | - install -Dm644 "Images/Logo 256x256.png" $FLATPAK_DEST/share/icons/hicolor/256x256/apps/${FLATPAK_ID}.png
|
|---|
| 38 | - install -Dm644 Languages/*.po -t $FLATPAK_DEST/share/Game2048/Languages
|
|---|
| 39 | - install -Dm644 Packages/Common/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.