@@ -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+")))))