mbakke pushed a commit to branch master
in repository guix.
commit 4f7f4e82e1f63f49216ee11dcfa67123ef940fcd
Author: Brendan Tildesley <[email protected]>
AuthorDate: Tue Feb 8 17:36:22 2022 +1100
gnu: Add appstream-qt.
* gnu/packages/freedesktop.scm (appstream-qt): Add a build of appstream
with Qt support.
Co-authored-by: Marius Bakke <[email protected]>
---
gnu/packages/freedesktop.scm | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index 308f6fed3f..8866fe3a94 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -188,6 +188,20 @@ application-centers for distributions.")
(home-page "https://www.freedesktop.org/wiki/Distributions/AppStream/")
(license license:lgpl2.1+)))
+(define-public appstream-qt
+ (package/inherit appstream
+ (name "appstream-qt")
+ (native-inputs
+ (modify-inputs (package-native-inputs appstream)
+ (prepend qttools-5)))
+ (inputs
+ (modify-inputs (package-inputs appstream)
+ (prepend qtbase-5)))
+ (arguments
+ (substitute-keyword-arguments (package-arguments appstream)
+ ((#:configure-flags flags #~'())
+ #~(append '("-Dqt=true") #$flags))))))
+
(define-public farstream
(package
(name "farstream")