-
Notifications
You must be signed in to change notification settings - Fork 46
/
snapcraft.yaml
78 lines (71 loc) · 1.78 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
name: qdmr
#version: git
#grade: devel
version: 0.12.0
grade: stable
summary: Graphical code-plug programming tool for DMR radios.
description: |
qDMR is a simple to use and feature-rich code-plug programming software (CPS) for cheap DMR
radios. Currently supported devices are:
* TYT MD-380, MD-390, MD-UV380, MD-UV390, MD-2017
* Retevis RT8, RT82, RT3, RT3S, RT84
* Open GD77 firmware (GD77, RD-5R & DM-1801)
* AnyTone AT-D868UVE, AT-D878UV AT-D878UVII, AT-D578UV
* Radioddity GD-73, GD-77, RD-5R
* Baofeng/BTech DMR-6X2, DM-1701, DR-1801UV (A6)
confinement: strict
base: core20
architectures:
- build-on: amd64
apps:
qdmr:
command: qdmr
desktop: usr/share/applications/qdmr.desktop
plugs:
- home
- desktop
- network
- raw-usb
- serial-port
extensions:
- kde-neon
#slots:
# opengd77:
# interface: serial-port
# usb-vendor: 0x1fc9
# usb-product: 0x0094
# path: /dev/serial-port-opengd77
# anytone:
# interface: serial-port
# usb-vendor: 0x28e9
# usb-product: 0x018a
# path: /dev/serial-port-anytone
parts:
qdmr:
plugin: cmake
build-packages:
- qtbase5-dev
- qttools5-dev
- qttools5-dev-tools
- qtpositioning5-dev
- libqt5serialport5-dev
- libusb-1.0-0-dev
- libyaml-cpp-dev
- xsltproc
- docbook-xsl
stage-packages:
- libqt5core5a
- libqt5gui5
- libqt5network5
- libqt5positioning5
- libqt5serialport5
- libqt5widgets5
- libusb-1.0-0
- libyaml-cpp0.6
source: https://github.com/hmatuschek/qdmr.git
source-type: git
source-tag: "v$SNAPCRAFT_PROJECT_VERSION"
cmake-parameters:
- "-DCMAKE_INSTALL_PREFIX=/usr"
- "-DCMAKE_BUILD_TYPE=Release"
- "-DBUILD_TESTS=Off"