85 lines
2.1 KiB
YAML
85 lines
2.1 KiB
YAML
name: guhio
|
|
version: 0.1.0
|
|
summary: An open source IoT server
|
|
description: The guh daemon is a plugin based IoT (Internet of Things) server. The server works like a translator for devices, things and services and allows them to interact. With the powerful rule engine you are able to connect any device available in the system and create individual scenes and behaviors for your environment.
|
|
confinement: devmode
|
|
grade: devel
|
|
|
|
apps:
|
|
guhd:
|
|
command: qt5-launch guhd -n -p
|
|
daemon: simple
|
|
plugs:
|
|
- network
|
|
- network-bind
|
|
- network-control
|
|
- network-manager
|
|
- network-observe
|
|
- serial-port
|
|
- bluetooth-control
|
|
- avahi-observe
|
|
- bluez
|
|
- shutdown
|
|
|
|
guh-cli:
|
|
command: guh-cli
|
|
plugs:
|
|
- network
|
|
|
|
|
|
parts:
|
|
# Building the whole guh project containig libguh and plugins
|
|
guh:
|
|
plugin: qmake
|
|
source: ../
|
|
options: [ CONFIG+=ccache, CONFIG+=disabletesting, CONFIG+=snappy ]
|
|
qt-version: qt5
|
|
project-files: [ guh.pro ]
|
|
build-packages:
|
|
- python
|
|
- ccache
|
|
- dpkg-dev
|
|
- rsync
|
|
- qtchooser
|
|
- qt5-qmake
|
|
- qtbase5-dev
|
|
- qtbase5-dev-tools
|
|
- qttools5-dev-tools
|
|
- qtconnectivity5-dev
|
|
- libqt5websockets5-dev
|
|
- libqt5bluetooth5
|
|
- libqt5sql5-sqlite
|
|
- libavahi-client-dev
|
|
- libavahi-common-dev
|
|
stage-packages:
|
|
- libqt5network5
|
|
- libqt5gui5
|
|
- libqt5sql5
|
|
- libqt5xml5
|
|
- libqt5dbus5
|
|
- libqt5websockets5
|
|
- libqt5bluetooth5
|
|
- libqt5sql5-sqlite
|
|
- logrotate
|
|
- avahi-daemon
|
|
after: [ guh-cli, guh-webinterface, qt5conf]
|
|
|
|
guh-cli:
|
|
plugin: python
|
|
python-version: python2
|
|
source: https://github.com/guh/guh-cli.git
|
|
source-type: git
|
|
build-packages:
|
|
- python-dev
|
|
- python-pip
|
|
- python-setuptools
|
|
build-packages:
|
|
- python-setuptools
|
|
|
|
guh-webinterface:
|
|
plugin: dump
|
|
source: https://jenkins.guh.io/view/guh-webinterface/job/guh-webinterface-all/lastBuild/artifact/guh-webinterface.tar.gz
|
|
source-type: tar
|
|
organize:
|
|
'*': guh-webinterface/
|