Skip to content

Commit 947a0e2

Browse files
add flatpak manifest
1 parent 31259c2 commit 947a0e2

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -465,3 +465,5 @@ modules.order
465465
Module.symvers
466466
Mkfile.old
467467
dkms.conf
468+
469+
!network.koesling.modbus_tcp_client_shm.yml
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
id: network.koesling.modbus_tcp_client_shm
2+
runtime: org.freedesktop.Platform
3+
runtime-version: '21.08'
4+
sdk: org.freedesktop.Sdk
5+
command: Modbus_TCP_client_shm
6+
finish-args:
7+
- --device=shm
8+
- --share=network
9+
modules:
10+
- name: Modbus_TCP_client_shm
11+
buildsystem: simple
12+
build-commands:
13+
# build
14+
- mkdir build
15+
- cmake -B build . -DCMAKE_BUILD_TYPE=Release -DCLANG_FORMAT=OFF -DCOMPILER_WARNINGS=OFF
16+
- cmake --build build
17+
18+
# install
19+
- mkdir -p "${FLATPAK_DEST}/bin"
20+
- cp build/Modbus_TCP_client_shm ${FLATPAK_DEST}/bin
21+
- ls -lah ${FLATPAK_DEST}
22+
sources:
23+
- type: git
24+
branch: release
25+
url: https://github.com/NikolasK-source/modbus_tcp_client_shm.git
26+

0 commit comments

Comments
 (0)