diff options
author | Loïc Collignon <loic.collignon@iot.bzh> | 2018-07-09 17:04:57 +0200 |
---|---|---|
committer | Loïc Collignon <loic.collignon@iot.bzh> | 2018-07-10 19:29:31 +0200 |
commit | 6ac46af41abf9f201ecfb87b554b7e45e33bce16 (patch) | |
tree | e9821b7b91d84e6eafc66fa50221984797740db0 /conf.d/wgt | |
parent | bc11d604c87c2a04406e0750106e17a5c32f2e27 (diff) |
Fix compilation and deployment
Add CMake definitions so that it use the correct API's version.
XML node in config.xml wasn't correct so that it fails to parse.
The binary should be placed into a bin sub-directory.
Add the missing API import.
Fix the dependency name due to renaming.
Hack the compilation script so that it can find the widget when yocto
and when jenkins (waiting for a fix of the cmake alias in the SDK so
that I can get rid of this script)
Change-Id: Idaff67d8d63b7163deb16766832cf04349eb0237
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
Diffstat (limited to 'conf.d/wgt')
-rw-r--r-- | conf.d/wgt/config.xml.in | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/conf.d/wgt/config.xml.in b/conf.d/wgt/config.xml.in index 597f19d..6f27215 100644 --- a/conf.d/wgt/config.xml.in +++ b/conf.d/wgt/config.xml.in @@ -2,17 +2,17 @@ <widget xmlns="http://www.w3.org/ns/widgets" id="@PROJECT_NAME@" version="@PROJECT_VERSION@"> <name>@PROJECT_NAME@</name> <icon src="@PROJECT_ICON@"/> - <content src="@WIDGET_ENTRY_POINT@" type="@WIDGET_TYPE@"/> + <content src="bin/@WIDGET_ENTRY_POINT@" type="@WIDGET_TYPE@"/> <description>@PROJECT_DESCRIPTION@</description> - <author> - <author href="https://www.automotivelinux.org/" email = "info@automotivelinux.org"> - Loïc Collignon <loic.collignon@iot.bzh> - Matt Porter <mporter@konsulko.com> - </author> + <author href="https://www.automotivelinux.org/" email = "info@automotivelinux.org"> + Loïc Collignon <loic.collignon@iot.bzh> + Matt Porter <mporter@konsulko.com> + </author> <license>@PROJECT_LICENSE@</license> <feature name="urn:AGL:widget:required-api"> <param name="windowmanager" value="ws" /> <param name="homescreen" value="ws" /> + <param name="ahl-4a" value="ws" /> </feature> <feature name="urn:AGL:widget:required-permission"> <param name="urn:AGL:permission::public:no-htdocs" value="required" /> |