diff options
Diffstat (limited to 'dynamic-layers/openembedded-layer/recipes-bsp/thermald/thermald_2.4.6.bb')
-rw-r--r-- | dynamic-layers/openembedded-layer/recipes-bsp/thermald/thermald_2.4.6.bb | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/dynamic-layers/openembedded-layer/recipes-bsp/thermald/thermald_2.4.6.bb b/dynamic-layers/openembedded-layer/recipes-bsp/thermald/thermald_2.4.6.bb new file mode 100644 index 00000000..b147a558 --- /dev/null +++ b/dynamic-layers/openembedded-layer/recipes-bsp/thermald/thermald_2.4.6.bb | |||
@@ -0,0 +1,42 @@ | |||
1 | SUMMARY = "Linux thermal daemon" | ||
2 | |||
3 | DESCRIPTION = "Thermal Daemon is a Linux daemon used to prevent the \ | ||
4 | overheating of platforms. This daemon monitors temperature and applies \ | ||
5 | compensation using available cooling methods." | ||
6 | |||
7 | HOMEPAGE = "https://github.com/01org/thermal_daemon" | ||
8 | |||
9 | DEPENDS = "dbus dbus-glib dbus-glib-native libxml2 glib-2.0 glib-2.0-native upower libevdev" | ||
10 | LICENSE = "GPLv2" | ||
11 | LIC_FILES_CHKSUM = "file://COPYING;md5=ea8831610e926e2e469075b52bf08848" | ||
12 | |||
13 | SRC_URI = "git://github.com/intel/thermal_daemon/ \ | ||
14 | " | ||
15 | |||
16 | SRCREV = "dddba484b23562d421cdaf1703dabc602e1968e7" | ||
17 | S = "${WORKDIR}/git" | ||
18 | |||
19 | inherit pkgconfig autotools systemd gtk-doc | ||
20 | |||
21 | # gtkdocsize runs before autotools do_configure and it copies gtk-doc.m4 and fails | ||
22 | # to copy becuase there is no m4 dir yet. | ||
23 | do_configure:prepend () { | ||
24 | mkdir -p ${S}/m4 | ||
25 | } | ||
26 | |||
27 | EXTRA_OECONF = " \ | ||
28 | --with-systemdsystemunitdir=${systemd_system_unitdir} \ | ||
29 | " | ||
30 | |||
31 | FILES:${PN} += "${datadir}/dbus-1/system-services/*.service" | ||
32 | |||
33 | SYSTEMD_SERVICE:${PN} = "thermald.service" | ||
34 | |||
35 | COMPATIBLE_HOST = '(i.86|x86_64).*-linux' | ||
36 | |||
37 | CONFFILES:${PN} = " \ | ||
38 | ${sysconfdir}/thermald/thermal-conf.xml \ | ||
39 | ${sysconfdir}/thermald/thermal-cpu-cdev-order.xml \ | ||
40 | " | ||
41 | |||
42 | UPSTREAM_CHECK_URI = "https://github.com/01org/thermal_daemon/releases" | ||