fwupd: bump to 2.0.1 and make libdrm support configurable
authorChristian Marangi <[email protected]>
Thu, 7 Nov 2024 14:24:13 +0000 (15:24 +0100)
committerRobert Marko <[email protected]>
Thu, 7 Nov 2024 20:31:02 +0000 (21:31 +0100)
Bump fwupd to 2.0.1 and make libdrm support configurable.
Set libdrm support disabled by default.

This is needed to fix a problem with buildbot where libdrm dependency is
silently included as buildbot compile every package and library is found
in the system.

Signed-off-by: Christian Marangi <[email protected]>
utils/fwupd/Config.in
utils/fwupd/Makefile

index f975b962f1e1900beed6dca00d2625427f383d68..ff4a631987a4f75cc114181c42d24226c99d7e15 100644 (file)
@@ -43,6 +43,12 @@ config FWUPD_LIBARCHIVE
        help
          Compile fwupd with libarchive support
 
+config FWUPD_LIBDRM
+       bool "libdrm"
+       default n
+       help
+         Compile fwupd with libdrm support
+
 config FWUPD_PLUGIN_MODEMMANAGER
        bool "ModemManager plugin"
        default y
index 0fad4de01e1b199f2401ec65f732da1c2a68ded8..ec78687352cb1a2877ec8ea4102dfae6b4df9589 100644 (file)
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=fwupd
-PKG_VERSION:=2.0.0
+PKG_VERSION:=2.0.1
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=https://github.com/fwupd/fwupd/releases/download/$(PKG_VERSION)
-PKG_HASH:=60a62b850e2c3a818f3178cb1de0f632b1e04c6ab07c02483af398940713548a
+PKG_HASH:=04226d0c689a56cc51de017e736f18f1f5e951b9a7c1b18e3281eb923c435891
 
 PKG_MAINTAINER:=Lukas Voegl <[email protected]>
 PKG_LICENSE:=LGPL-2.1-or-later
@@ -44,6 +44,7 @@ define Package/fwupd/Default
        +libprotobuf-c \
        +libusb-1.0 \
        +FWUPD_LIBARCHIVE:libarchive \
+       +FWUPD_LIBDRM:libdrm \
        +FWUPD_CBOR:libcbor \
        +FWUPD_LZMA:liblzma \
        +FWUPD_CURL:libcurl \
@@ -158,6 +159,7 @@ MESON_ARGS += \
        -Dlzma=$(if $(CONFIG_FWUPD_LZMA),enabled,disabled) \
        -Dcurl=$(if $(CONFIG_FWUPD_CURL),enabled,disabled) \
        -Dlibarchive=$(if $(CONFIG_FWUPD_LIBARCHIVE),enabled,disabled) \
+       -Dlibdrm=$(if $(CONFIG_FWUPD_LIBDRM),enabled,disabled) \
        -Dplugin_modem_manager=$(if $(CONFIG_FWUPD_PLUGIN_MODEMMANAGER),enabled,disabled) \
        -Dplugin_fastboot=$(if $(CONFIG_FWUPD_PLUGIN_FASTBOOT),enabled,disabled)