Widget generation: use the right config.xml.in file.
authorSebastien Douheret <sebastien.douheret@iot.bzh>
Wed, 28 Jun 2017 16:31:29 +0000 (18:31 +0200)
committerSebastien Douheret <sebastien.douheret@iot.bzh>
Wed, 28 Jun 2017 16:31:29 +0000 (18:31 +0200)
conf.d/config.cmake
conf.d/wgt/config.xml.in

index 6888597..530950a 100644 (file)
@@ -90,7 +90,7 @@ set(LD_LIBRARY_PATH ${CMAKE_INSTALL_PREFIX}/lib64 ${CMAKE_INSTALL_PREFIX}/lib)
 
 # Optional location for config.xml.in
 # -----------------------------------
-#set(WIDGET_CONFIG_TEMPLATE ${CMAKE_CURRENT_SOURCE_DIR}/conf.d/config.xml.in)
+set(WIDGET_CONFIG_TEMPLATE ${CMAKE_CURRENT_SOURCE_DIR}/conf.d/wgt/config.xml.in)
 
 # Mandatory widget Mimetype specification of the main unit
 # --------------------------------------------------------------------------
index fab0b9d..e8bd7fb 100644 (file)
@@ -6,6 +6,12 @@
   <description>@PROJECT_DESCRIPTION@</description>
   <author>@PROJECT_AUTHOR@ &lt;@PROJECT_AUTHOR_MAIL@&gt;</author>
   <license>APL 2.0</license>
+  <feature name="urn:AGL:widget:provided-api">
+     <param name="unicens" value="ws" />
+  </feature>
+  <feature name="urn:AGL:widget:required-api">
+     <param name="lib/afb-ucs2.so" value="local" />
+  </feature>
 </widget>