Line | |
---|
1 | app-id: net.zdechov.app.Tunneler
|
---|
2 | runtime: org.kde.Platform
|
---|
3 | runtime-version: '5.15-23.08'
|
---|
4 | sdk: org.kde.Sdk
|
---|
5 | sdk-extensions:
|
---|
6 | - org.freedesktop.Sdk.Extension.freepascal
|
---|
7 | command: Tunneler
|
---|
8 | finish-args:
|
---|
9 | - --share=ipc
|
---|
10 | - --socket=fallback-x11
|
---|
11 | - --socket=wayland
|
---|
12 | - --socket=pulseaudio
|
---|
13 | - --filesystem=home
|
---|
14 | - --device=dri
|
---|
15 | modules:
|
---|
16 | - name: qt5pas
|
---|
17 | buildsystem: qmake
|
---|
18 | config-opts:
|
---|
19 | - -after
|
---|
20 | - target.path=/app/lib
|
---|
21 | sources:
|
---|
22 | - type: shell
|
---|
23 | commands:
|
---|
24 | - cp -r /usr/lib/sdk/freepascal/share/lazarus/lcl/interfaces/qt5/cbindings/. .
|
---|
25 | - name: Tunneler
|
---|
26 | sources:
|
---|
27 | - type: archive
|
---|
28 | path: tunneler.tar.gz
|
---|
29 | buildsystem: simple
|
---|
30 | 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
|
---|
Note:
See
TracBrowser
for help on using the repository browser.