guix-patches
[Top][All Lists]
Advanced

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

[bug#57889] [PATCH 8/8] gnu: Add gfeeds-next.


From: Liliana Marie Prikler
Subject: [bug#57889] [PATCH 8/8] gnu: Add gfeeds-next.
Date: Sat, 17 Sep 2022 18:35:47 +0200

* gnu/packages/syndication.scm (gfeeds-next): New variable.
---
 gnu/packages/syndication.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/syndication.scm b/gnu/packages/syndication.scm
index dcd01d8933..4f25c0bdbb 100644
--- a/gnu/packages/syndication.scm
+++ b/gnu/packages/syndication.scm
@@ -586,3 +586,38 @@ (define-public syndication-domination
       (description "This package provides an experimental RSS/Atom feed
 parser.  It is \"not fit for use at this point\", but gfeeds uses it anyway.")
       (license license:agpl3))))
+
+(define-public gfeeds-next
+  (package
+    (inherit gfeeds)
+    (name "gfeeds-next")
+    (version "1.0.3")
+    (source (origin
+              (method git-fetch)
+              (uri
+               (git-reference
+                (url "https://gitlab.gnome.org/World/gfeeds/";)
+                (commit version)))
+              (sha256
+               (base32
+                "1lkvhff7pl1y4brqsix6sar5yl8flyhfp3w96fx0klhk3586bvhg"))))
+    (arguments
+     (substitute-keyword-arguments (package-arguments gfeeds)
+       ((#:phases phases)
+        #~(modify-phases #$phases
+
+            (add-after 'unpack 'skip-icon-cache
+              (lambda _
+                (substitute* "meson_post_install.py"
+                  (("gtk-update-icon-cache") "true"))))))))
+    (inputs
+     (modify-inputs (package-inputs gfeeds)
+       (replace "libhandy" libadwaita)
+       (replace "gtk+" gtk)
+       (replace "webkitgtk" webkitgtk-next)
+       (prepend python-humanize python-magic syndication-domination)
+       (replace "python-readability" python-readability-lxml)))
+    (native-inputs
+     (modify-inputs (package-native-inputs gfeeds)
+       (prepend blueprint-compiler)
+       (delete "gtk+")))))
-- 
2.37.3






reply via email to

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