e62db6c7cc
- Switch site to get latest release
- Switch to meson-package (autotools dropped since version 0.99.14)
- libusb is not a dependency since
64582256a8
- Update indentation in hash file (two spaces)
https://gitlab.freedesktop.org/upower/upower/-/blob/v0.99.19/NEWS
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[Peter: also update thermald dependencies]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
37 lines
927 B
Makefile
37 lines
927 B
Makefile
################################################################################
|
|
#
|
|
# upower
|
|
#
|
|
################################################################################
|
|
|
|
UPOWER_VERSION = 0.99.19
|
|
UPOWER_SOURCE = upower-v$(UPOWER_VERSION).tar.bz2
|
|
UPOWER_SITE = https://gitlab.freedesktop.org/upower/upower/-/archive/v$(UPOWER_VERSION)
|
|
UPOWER_LICENSE = GPL-2.0+
|
|
UPOWER_LICENSE_FILES = COPYING
|
|
|
|
# libupower-glib.so
|
|
UPOWER_INSTALL_STAGING = YES
|
|
|
|
UPOWER_DEPENDENCIES = \
|
|
$(TARGET_NLS_DEPENDENCIES) \
|
|
host-pkgconf \
|
|
libgudev \
|
|
udev
|
|
|
|
UPOWER_CONF_OPTS = \
|
|
-Dgtk-doc=false \
|
|
-Dman=false \
|
|
-Dsystemdsystemunitdir=/usr/lib/systemd/system \
|
|
-Dudevhwdbdir=/lib/udev/hwdb.d \
|
|
-Dudevrulesdir=/lib/udev/rules.d
|
|
|
|
ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
|
|
UPOWER_CONF_OPTS += -Dintrospection=enabled
|
|
UPOWER_DEPENDENCIES += gobject-introspection
|
|
else
|
|
UPOWER_CONF_OPTS += -Dintrospection=disabled
|
|
endif
|
|
|
|
$(eval $(meson-package))
|