[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#68263] [PATCH 2/2] gnu: fwupd: Depend on libsmbios only on supporte
From: |
Simon South |
Subject: |
[bug#68263] [PATCH 2/2] gnu: fwupd: Depend on libsmbios only on supported systems. |
Date: |
Fri, 5 Jan 2024 09:50:41 -0500 |
* gnu/packages/firmware.scm (fwupd)[inputs]: Add libsmbios conditionally.
Change-Id: Id34135b180f5ee6e7abd2fd4eb10e0d3c6308e06
---
gnu/packages/firmware.scm | 34 +++++++++++++++++++---------------
1 file changed, 19 insertions(+), 15 deletions(-)
diff --git a/gnu/packages/firmware.scm b/gnu/packages/firmware.scm
index 5cebf515bf..c3e6d20987 100644
--- a/gnu/packages/firmware.scm
+++ b/gnu/packages/firmware.scm
@@ -283,21 +283,25 @@ (define-public fwupd
`(,glib "bin")
help2man
gettext-minimal))
- (inputs (list bash-completion
- libgudev
- libxmlb
- sqlite
- polkit
- eudev
- libelf
- tpm2-tss
- cairo
- efivar
- pango
- protobuf-c
- mingw-w64-tools
- libsmbios
- gnu-efi))
+ (inputs (append (list bash-completion
+ libgudev
+ libxmlb
+ sqlite
+ polkit
+ eudev
+ libelf
+ tpm2-tss
+ cairo
+ efivar
+ pango
+ protobuf-c
+ mingw-w64-tools
+ gnu-efi)
+ (if (supported-package? libsmbios
+ (or (%current-target-system)
+ (%current-system)))
+ (list libsmbios)
+ '())))
;; In Requires of fwupd*.pc.
(propagated-inputs (list curl
gcab
--
2.41.0
- [bug#68263] [PATCH 0/2] libsmbios: Restrict to only supported systems., Simon South, 2024/01/05
- [bug#68263] [PATCH 1/2] gnu: libsmbios: Restrict to only supported systems., Simon South, 2024/01/05
- [bug#68263] [PATCH 2/2] gnu: fwupd: Depend on libsmbios only on supported systems.,
Simon South <=
- [bug#68263] [PATCH 0/2] libsmbios: Restrict to only supported systems., Mathieu Othacehe, 2024/01/07
- [bug#68263] [PATCH 0/2] libsmbios: Restrict to only supported systems., Efraim Flashner, 2024/01/07
- [bug#68263] [PATCH 0/2] libsmbios: Restrict to only supported systems., Mathieu Othacehe, 2024/01/08
- [bug#68263] [PATCH 0/2] libsmbios: Restrict to only supported systems., Simon South, 2024/01/08
- [bug#68263] [PATCH 0/2] libsmbios: Restrict to only supported systems., Efraim Flashner, 2024/01/08
- [bug#68263] [PATCH 0/2] libsmbios: Restrict to only supported systems., Simon South, 2024/01/08
- [bug#68263] [PATCH 0/2] libsmbios: Restrict to only supported systems., Mathieu Othacehe, 2024/01/08
- [bug#68263] [PATCH 0/2] libsmbios: Restrict to only supported systems., Simon South, 2024/01/08
[bug#68263] [PATCH v2 0/2] libsmbios: Restrict to only supported systems., Simon South, 2024/01/10