aboutsummaryrefslogtreecommitdiffstats
path: root/conf.d
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2017-06-28 18:31:29 +0200
committerSebastien Douheret <sebastien.douheret@iot.bzh>2017-06-28 18:31:29 +0200
commit7a209bb0691bffd5f7fb7b0d5bdd303bc1cd6c03 (patch)
tree88de1ea6382b8eb6a7a8f8efcd3e66f5e1704c1d /conf.d
parent65903efdc36c45587a2d72691d14604320884eaf (diff)
Widget generation: use the right config.xml.in file.
Diffstat (limited to 'conf.d')
-rw-r--r--conf.d/config.cmake2
-rw-r--r--conf.d/wgt/config.xml.in6
2 files changed, 7 insertions, 1 deletions
diff --git a/conf.d/config.cmake b/conf.d/config.cmake
index 6888597..530950a 100644
--- a/conf.d/config.cmake
+++ b/conf.d/config.cmake
@@ -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
# --------------------------------------------------------------------------
diff --git a/conf.d/wgt/config.xml.in b/conf.d/wgt/config.xml.in
index fab0b9d..e8bd7fb 100644
--- a/conf.d/wgt/config.xml.in
+++ b/conf.d/wgt/config.xml.in
@@ -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>