kumquat-buildroot/package/thermald/Config.in
Ricardo Martincoski 82760316a1 package/thermald: bump to 2.4.6
Drop patch (already in version).

Add new dependencies:
- host-autoconf-archive
- libevdev
- upower
- xz (liblzma)

Create a pre-configure hook to avoid this error when reconfiguring:
automake: error: cannot open < gtk-doc.make: No such file or directory
Based on the solution used in 178eb1d7ea.
During the build gtk-doc is already disabled by pkg-autotools.

Create a post-patch hook to avoid this error when reconfiguring:
aclocal: error: couldn't open directory 'm4': No such file or directory
Based on the solution used in 6bf74ce3db.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2021-12-11 10:56:34 +01:00

35 lines
1.2 KiB
Plaintext

config BR2_PACKAGE_THERMALD
bool "thermald"
depends on BR2_i386 || BR2_x86_64 # needs <cpuid.h>
depends on BR2_USE_MMU # uses fork()
depends on BR2_USE_WCHAR # upower -> libgudev
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # upower -> libusb
depends on BR2_TOOLCHAIN_HAS_THREADS # dbus-glib -> glib2, dbus, upower
depends on BR2_USE_WCHAR # dbus-glib -> glib2
depends on BR2_PACKAGE_HAS_UDEV # upower
select BR2_PACKAGE_DBUS
select BR2_PACKAGE_DBUS_GLIB
select BR2_PACKAGE_LIBEVDEV
select BR2_PACKAGE_LIBXML2
select BR2_PACKAGE_UPOWER
select BR2_PACKAGE_XZ
help
Thermal Daemon is a Linux daemon for monitoring and
controlling platform temperatures. Once the system temperature
reaches a certain threshold, the Linux daemon activates
various cooling methods to try to cool the system.
https://01.org/linux-thermal-daemon
comment "thermald needs a toolchain w/ C++, wchar, threads, gcc >= 4.9"
depends on BR2_i386 || BR2_x86_64
depends on BR2_USE_MMU
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
!BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
comment "thermald needs udev /dev management"
depends on BR2_i386 || BR2_x86_64
depends on BR2_USE_MMU
depends on !BR2_PACKAGE_HAS_UDEV