diff options
Diffstat (limited to 'dynamic-layers/openembedded-layer/recipes-bsp/thermald/thermald_2.5.6.bb')
-rw-r--r-- | dynamic-layers/openembedded-layer/recipes-bsp/thermald/thermald_2.5.6.bb | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/dynamic-layers/openembedded-layer/recipes-bsp/thermald/thermald_2.5.6.bb b/dynamic-layers/openembedded-layer/recipes-bsp/thermald/thermald_2.5.6.bb new file mode 100644 index 00000000..df242cdf --- /dev/null +++ b/dynamic-layers/openembedded-layer/recipes-bsp/thermald/thermald_2.5.6.bb | |||
@@ -0,0 +1,45 @@ | |||
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 | DEPENDS += "autoconf-archive-native" | ||
11 | |||
12 | LICENSE = "GPL-2.0-only" | ||
13 | LIC_FILES_CHKSUM = "file://COPYING;md5=ea8831610e926e2e469075b52bf08848" | ||
14 | |||
15 | SRC_URI = "git://github.com/intel/thermal_daemon/;branch=master;protocol=https \ | ||
16 | file://0001-Makefile-Fix-build-Issue.patch \ | ||
17 | " | ||
18 | |||
19 | SRCREV = "3990ce2391e5c07293758c056e09e4f2453691b4" | ||
20 | S = "${WORKDIR}/git" | ||
21 | |||
22 | inherit pkgconfig autotools systemd gtk-doc | ||
23 | |||
24 | # gtkdocsize runs before autotools do_configure and it copies gtk-doc.m4 and fails | ||
25 | # to copy becuase there is no m4 dir yet. | ||
26 | do_configure:prepend () { | ||
27 | mkdir -p ${S}/m4 | ||
28 | } | ||
29 | |||
30 | EXTRA_OECONF = " \ | ||
31 | --with-systemdsystemunitdir=${systemd_system_unitdir} \ | ||
32 | " | ||
33 | |||
34 | FILES:${PN} += "${datadir}/dbus-1" | ||
35 | |||
36 | SYSTEMD_SERVICE:${PN} = "thermald.service" | ||
37 | |||
38 | COMPATIBLE_HOST = '(i.86|x86_64).*-linux' | ||
39 | |||
40 | CONFFILES:${PN} = " \ | ||
41 | ${sysconfdir}/thermald/thermal-conf.xml \ | ||
42 | ${sysconfdir}/thermald/thermal-cpu-cdev-order.xml \ | ||
43 | " | ||
44 | |||
45 | UPSTREAM_CHECK_URI = "https://github.com/01org/thermal_daemon/releases" | ||