|
@@ -4,9 +4,9 @@
|
|
|
#
|
|
|
################################################################################
|
|
|
|
|
|
-UPOWER_VERSION = 0.99.11
|
|
|
-UPOWER_SOURCE = upower-$(UPOWER_VERSION).tar.xz
|
|
|
-UPOWER_SITE = https://upower.freedesktop.org/releases
|
|
|
+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
|
|
|
|
|
@@ -17,16 +17,20 @@ UPOWER_DEPENDENCIES = \
|
|
|
$(TARGET_NLS_DEPENDENCIES) \
|
|
|
host-pkgconf \
|
|
|
libgudev \
|
|
|
- libusb \
|
|
|
udev
|
|
|
|
|
|
-UPOWER_CONF_OPTS = --disable-man-pages --disable-tests
|
|
|
+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 += --enable-introspection
|
|
|
+UPOWER_CONF_OPTS += -Dintrospection=enabled
|
|
|
UPOWER_DEPENDENCIES += gobject-introspection
|
|
|
else
|
|
|
-UPOWER_CONF_OPTS += --disable-introspection
|
|
|
+UPOWER_CONF_OPTS += -Dintrospection=disabled
|
|
|
endif
|
|
|
|
|
|
-$(eval $(autotools-package))
|
|
|
+$(eval $(meson-package))
|