This repository has been archived on 2026-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
2018-10-17 17:18:48 +02:00

201 lines
4.2 KiB
YAML

name: nymea-networkmanager
version: 0.1.0
summary: Daemon for setup wireless connection using Bluetooth LE.
description: |
The nymea-networkmanager daemon provides a bluetooth low energy server and
allowes to configure the wireless network using the network-manager DBus connection.
grade: stable
confinement: classic
apps:
nymea-networkmanager:
command: env PATH=$PATH:$SNAP/bin nymea-networkmanager -a "BT WLAN setup" -m offline
daemon: simple
restart-condition: always
plugs:
- dbus
- bluez
- bluetooth-control
- network-manager
parts:
nymea-networkmanager:
plugin: qmake
source: https://github.com/guh/nymea-networkmanager.git
source-type: git
build-attributes: [keep-execstack]
source-branch: master
project-files: [ nymea-networkmanager.pro ]
after: [ qt-5-11-1 ]
build-packages:
- qt5-default
- qt5-qmake
- qtbase5-dev
- qtconnectivity5-dev
stage-packages:
- libqt5gui5
- libqt5core5a
- libqt5bluetooth5
- libqt5network5
- libqt5dbus5
# Custom launcher to support also armhf
qt5-launch:
plugin: dump
build-attributes: [keep-execstack]
source: .
organize:
qt5-launch: bin/
# Qt 5.11.1
qt-5-11-1:
plugin: autotools
source: http://download.qt.io/archive/qt/5.11/5.11.1/single/qt-everywhere-src-5.11.1.tar.xz
source-type: tar
build-attributes: [keep-execstack]
build-packages:
- g++
- freetds-dev
- gdb
- libatspi2.0-dev
- libdbus-1-dev
- libsystemd-dev
- libfontconfig1-dev
- libfreetype6-dev
- libgbm-dev
- libgles2-mesa-dev
- libglib2.0-dev
- libgstreamer-plugins-base1.0-dev
- libgstreamer1.0-dev
- libharfbuzz-dev
- libicu-dev
- libinput-dev
- libmtdev-dev
- libmysqlclient-dev
- libpcre3-dev
- libpq-dev
- libproxy-dev
- libsqlite3-dev
- libssl-dev
- libudev-dev
- libbluetooth-dev
- libx11-dev
- libx11-xcb-dev
- libxcb-icccm4-dev
- libxcb-image0-dev
- libxcb-keysyms1-dev
- libxcb-randr0-dev
- libxcb-render-util0-dev
- libxcb-render0-dev
- libxcb-shape0-dev
- libxcb-shm0-dev
- libxcb-sync-dev
- libxcb-xfixes0-dev
- libxcb-xinerama0-dev
- libxcb-xkb-dev
- libxcb1-dev
- libxext-dev
- libxi-dev
- libxkbcommon-dev
- libxkbcommon-x11-dev
- libxrender-dev
- pkg-kde-tools
- publicsuffix
- unixodbc-dev
- zlib1g-dev
configflags:
- -release
- -confirm-license
- -opensource
- -platform
- linux-g++
- -openssl
- -syslog
- -journald
- -no-rpath
- -verbose
- -silent
- -opengl
- es2
- -no-widgets
- -xcb
- -no-gtk
- -fontconfig
- -no-eglfs
- -no-cups
- -no-accessibility
- -no-use-gold-linker
- -nomake
- examples
- -nomake
- tests
- -skip
- qt3d
- -skip
- qtactiveqt
- -skip
- qtandroidextras
- -skip
- qtcanvas3d
- -skip
- qtcharts
- -skip
- qtdatavis3d
- -skip
- qtdoc
- -skip
- qtgamepad
- -skip
- qtlocation
- -skip
- qtmacextras
- -skip
- qtpurchasing
- -skip
- qtscxml
- -skip
- qtsensors
- -skip
- qtvirtualkeyboard
- -skip
- qtwayland
- -skip
- qtwebchannel
- -skip
- qtwebengine
- -skip
- qtwebview
- -skip
- qtwinextras
- -skip
- qtx11extras
- -skip
- qtxmlpatterns
stage-packages:
- icu-devtools
- libc6
- libdbus-1-3
- libdrm2
- libfreetype6
- libgbm1
- libgcc1
- libglib2.0-0
- libharfbuzz0b
- libice6
- libinput10
- libmtdev1
- libpcre16-3
- libproxy1v5
- libsm6
- libsqlite3-0
- libstdc++6
- libudev1
- libxext-dev
- libxi6
- libxkbcommon0
- perl
- zlib1g
- libdouble-conversion-dev