forked from dannagle/PacketSender
-
Notifications
You must be signed in to change notification settings - Fork 0
/
snapcraft.yaml
63 lines (55 loc) · 1.34 KB
/
snapcraft.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
name: packetsender
version: 8.4.1
summary: Packet Sender - Free TCP/UDP/SSL/HTTP Utility
icon: src/pslogo128.png
description: |
Packet Sender - Free utility to for sending / receiving of network
packets. TCP, UDP, SSL, and HTTP.
# sudo snap install packetsender*.snap --dangerous
grade: stable
base: core22
confinement: strict
architectures: [amd64]
environment:
QT_PLUGIN_PATH: "$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET/qt6/plugins"
apps:
packetsender:
command: usr/local/bin/PacketSender
desktop: usr/share/applications/packetsender.desktop
plugs:
- desktop
- desktop-legacy
- wayland
- x11
- home
- removable-media
- network
- cups
extensions: [gnome]
parts:
packetsender:
plugin: cmake
source: https://github.com/dannagle/PacketSender.git
source-branch: master
cmake-parameters:
- /root/parts/packetsender/src/src
- -D SNAP=1
build-packages:
- build-essential
- qt6-base-dev
- libxkbcommon-dev
- libgl1-mesa-dev
- libglvnd-dev
- libssl-dev
stage-packages:
- libqt6core6
- libqt6gui6
- libqt6widgets6
- libqt6network6
- libqt6printsupport6
- libcurl4
- qt6-translations-l10n
- qt6-gtk-platformtheme
- qt6-qpa-plugins
- qt6-wayland
- cups-client