Skip to content

Commit f1eb404

Browse files
committed
CI: modify snapcraft.yml and Package/Flatpak/io.github.KangLin.RabbitRemoteControl.yml
1 parent ba250ae commit f1eb404

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

Package/Flatpak/io.github.KangLin.RabbitRemoteControl.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,17 @@ modules:
302302
- -DCMAKE_BUILD_TYPE=Release
303303
- -DBUILD_WITH_QT6=ON
304304

305+
- name: QFtpServer
306+
disabled: false
307+
sources:
308+
- type: git
309+
url: https://github.com/KangLin/QFtpServer.git
310+
branch: master
311+
buildsystem: cmake-ninja
312+
builddir: true
313+
config-opts:
314+
- -DCMAKE_BUILD_TYPE=Release
315+
305316
- name: RabbitCommon
306317
disabled: false
307318
sources:

snap/snapcraft.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,20 @@ parts:
297297
prime:
298298
- -usr/local/include
299299

300+
qftpserver:
301+
plugin: cmake
302+
source: https://github.com/KangLin/QFtpServer.git
303+
source-type: git
304+
source-branch: master
305+
source-depth: 1
306+
build-packages:
307+
stage-packages:
308+
cmake-parameters:
309+
- -DCMAKE_BUILD_TYPE=Release
310+
- -DCMAKE_PREFIX_PATH=$CRAFT_STAGE/usr/local/
311+
prime:
312+
- -usr/local/include
313+
300314
rabbitremotecontrol:
301315
# See 'snapcraft plugins'
302316
# see: https://snapcraft.io/docs/supported-plugins

0 commit comments

Comments
 (0)