From 2625411bfae3059600ccbf9522bf0236d89feb19 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Tue, 23 Jan 2018 15:09:37 +0100 Subject: [PATCH] cmst: add recipe for qt gui for connman cmst is a QT GUI for Connman with system tray icon Signed-off-by: Max Krummenacher --- recipes-support/cmst/cmst_2018.01.06.bb | 30 +++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 recipes-support/cmst/cmst_2018.01.06.bb diff --git a/recipes-support/cmst/cmst_2018.01.06.bb b/recipes-support/cmst/cmst_2018.01.06.bb new file mode 100644 index 00000000..19e2598d --- /dev/null +++ b/recipes-support/cmst/cmst_2018.01.06.bb @@ -0,0 +1,30 @@ +SUMMARY = "QT GUI for Connman with system tray icon" +HOMEPAGE = "https://github.com/andrew-bibb/cmst" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://apps/cmstapp/code/main.cpp;beginline=6;endline=25;md5=a2b717df62aa34074acde09599278068" +LIC_FILES_CHKSUM = "file://apps/rootapp/code/main.cpp;beginline=6;endline=25;md5=a2b717df62aa34074acde09599278068" + +inherit qmake5 gtk-icon-cache + +DEPENDS += "connman qtbase" + +SRC_URI = "git://github.com/andrew-bibb/cmst.git" +SRCREV = "cf41767dfbb849f9c05bcdfc7fcb6a37c90b2ad0" +S = "${WORKDIR}/git" + +# the *.pro file use some paths, e.g. for install which require ${B} = ${S} +B = "${S}" + +EXTRA_QMAKEVARS_PRE += "DISTRO=debian" + +# split out the big icons which consume 1.7M space +PACKAGES =+ "${PN}-big-icon" + +FILES_${PN} += " \ + ${datadir}/dbus-1/system-services/org.cmst.roothelper.service \ + ${datadir}/metainfo/org.cmst.cmst.appdata.xml \ + ${datadir}/cmst/autostart/cmst-autostart.desktop \ + ${datadir}/licenses/cmst/LICENSE \ +" + +FILES_${PN}-big-icon += "${datadir}/icons/hicolor/???x???/*"