guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

32/32: gnu: Add appstream-qt.


From: guix-commits
Subject: 32/32: gnu: Add appstream-qt.
Date: Thu, 1 Sep 2022 10:09:27 -0400 (EDT)

mbakke pushed a commit to branch master
in repository guix.

commit 4f7f4e82e1f63f49216ee11dcfa67123ef940fcd
Author: Brendan Tildesley <mail@brendan.scot>
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 <marius@gnu.org>
---
 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]