2015-08-24 17:44:14 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libgudev
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2021-07-18 21:57:12 +02:00
|
|
|
LIBGUDEV_VERSION = 236
|
2015-08-24 17:44:14 +02:00
|
|
|
LIBGUDEV_SOURCE = libgudev-$(LIBGUDEV_VERSION).tar.xz
|
|
|
|
LIBGUDEV_SITE = http://ftp.gnome.org/pub/GNOME/sources/libgudev/$(LIBGUDEV_VERSION)
|
|
|
|
LIBGUDEV_INSTALL_STAGING = YES
|
|
|
|
LIBGUDEV_DEPENDENCIES = host-pkgconf udev libglib2
|
2017-03-30 15:43:34 +02:00
|
|
|
LIBGUDEV_LICENSE = LGPL-2.1+
|
2015-08-24 17:44:14 +02:00
|
|
|
LIBGUDEV_LICENSE_FILES = COPYING
|
2021-07-18 21:57:12 +02:00
|
|
|
LIBGUDEV_CONF_OPTS = -Dtests=disabled -Dvapi=disabled
|
2015-08-24 17:44:14 +02:00
|
|
|
|
2021-07-18 21:57:11 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
|
2021-07-18 21:57:12 +02:00
|
|
|
LIBGUDEV_CONF_OPTS += -Dintrospection=enabled
|
2021-07-18 21:57:11 +02:00
|
|
|
LIBGUDEV_DEPENDENCIES += gobject-introspection
|
|
|
|
else
|
2021-07-18 21:57:12 +02:00
|
|
|
LIBGUDEV_CONF_OPTS += -Dintrospection=disabled
|
2021-07-18 21:57:11 +02:00
|
|
|
endif
|
|
|
|
|
2021-07-18 21:57:12 +02:00
|
|
|
$(eval $(meson-package))
|