summaryrefslogtreecommitdiffstats
path: root/conf.d/cmake
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2018-02-12 14:28:23 -0800
committerMatt Ranostay <matt.ranostay@konsulko.com>2018-02-12 21:31:23 -0800
commit2b5d155654d853abf1fb885bf9d8b9b059f17e6b (patch)
treefd029a7fb0b1d00677d052e064988e7bbb465171 /conf.d/cmake
parent84eac57632f4374d3114ae0586061fd6c0a43bc3 (diff)
binding: weather: update stats every 15 minutesflounder_5.99.1flounder/5.99.15.99.1
To reduce API calls to OpenWeatherMap only update weather stats every 15 minutes. Changes that were required: * add glib-2.0 dependecy * adding rwlock to url data * g_timeout_add_seconds schedules an weather update every 15 minutes Bug-AGL: SPEC-1273 Change-Id: I09b92faf17830f305275dad7f4545cf64ebb43a2 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'conf.d/cmake')
-rw-r--r--conf.d/cmake/config.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/conf.d/cmake/config.cmake b/conf.d/cmake/config.cmake
index 2ea55a9..3b70742 100644
--- a/conf.d/cmake/config.cmake
+++ b/conf.d/cmake/config.cmake
@@ -65,6 +65,9 @@ set (gcc_minimal_version 4.9)
# -----------------------------
set (PKG_REQUIRED_LIST
json-c
+ glib-2.0
+ gio-2.0
+ gobject-2.0
libcurl
libsystemd>=222
afb-daemon