Subject: [bug#75720] [PATCH v2 2/5] gnu: Add libmygpo-qt6.

From: Sughosha <[email-masked]>
Date: Wed, 22 Jan 2025 09:18:01 +0530

* gnu/packages/gpodder.scm (libmygpo-qt6): New variable.

Change-Id: Ie9c0257f570147293ec695df312982a98bc9d1a7
---
 gnu/packages/gpodder.scm | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/gnu/packages/gpodder.scm b/gnu/packages/gpodder.scm
index 1baca35f06..a7fb845625 100644
--- a/gnu/packages/gpodder.scm
+++ b/gnu/packages/gpodder.scm
@@ -161,6 +161,17 @@ (define-public libmygpo-qt
 track podcasts.")
       (license license:lgpl2.1+))))
 
+(define-public libmygpo-qt6
+  (package/inherit libmygpo-qt
+    (name "libmygpo-qt6")
+    (arguments
+     (substitute-keyword-arguments (package-arguments libmygpo-qt)
+       ((#:configure-flags flags)
+        #~(append '("-DBUILD_WITH_QT6=ON") #$flags))))
+    (inputs
+     (modify-inputs (package-inputs libmygpo-qt)
+       (replace "qtbase" qtbase)))))
+
 (define-public python-mygpoclient
   (package
     (name "python-mygpoclient")
-- 
2.47.1