aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorLéo Le Bouter <lle-bout@zaclys.net>2021-03-06 00:05:46 +0100
committerLéo Le Bouter <lle-bout@zaclys.net>2021-03-06 00:14:32 +0100
commit373e5fc96724fd38bb1263e4af90932ea36f596b (patch)
tree2dcd3fdaba0700fab702e852e6d474dd6635e319 /gnu/packages
parent3218f02de4a95365e9e6eca83fd4c94dfd0b748c (diff)
downloadguix-373e5fc96724fd38bb1263e4af90932ea36f596b.tar.gz
guix-373e5fc96724fd38bb1263e4af90932ea36f596b.zip
gnu: Add gfeeds.
* gnu/packages/syndication.scm (gfeeds): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/syndication.scm67
1 files changed, 66 insertions, 1 deletions
diff --git a/gnu/packages/syndication.scm b/gnu/packages/syndication.scm
index 89ef69f6b8..79dbb77018 100644
--- a/gnu/packages/syndication.scm
+++ b/gnu/packages/syndication.scm
@@ -24,10 +24,11 @@
#:use-module (guix git-download)
#:use-module (guix packages)
#:use-module (guix build-system cargo)
- #:use-module (guix build-system qt)
#:use-module (guix build-system glib-or-gtk)
#:use-module (guix build-system gnu)
+ #:use-module (guix build-system meson)
#:use-module (guix build-system python)
+ #:use-module (guix build-system qt)
#:use-module (gnu packages)
#:use-module (gnu packages autotools)
#:use-module (gnu packages base)
@@ -50,7 +51,9 @@
#:use-module (gnu packages qt)
#:use-module (gnu packages ruby)
#:use-module (gnu packages sqlite)
+ #:use-module (gnu packages time)
#:use-module (gnu packages tls)
+ #:use-module (gnu packages video)
#:use-module (gnu packages web)
#:use-module (gnu packages webkit)
#:use-module (gnu packages xml)
@@ -415,3 +418,65 @@ formats, including all versions of RSS and Atom.")
(description "QuiteRSS is an RSS/Atom news feeds reader written on Qt/C++
that aims to be quite fast and comfortable to it's user.")
(license license:gpl3+)))
+
+(define-public gfeeds
+ (package
+ (name "gfeeds")
+ (version "0.16.2")
+ (source (origin
+ (method url-fetch)
+ (uri
+ (string-append
+ "https://gitlab.gnome.org/World/gfeeds/-/archive/" version
+ "/gfeeds-" version ".tar.bz2"))
+ (sha256
+ (base32
+ "05gwwzqfz29m477imd5vh84jfla1wnklwpc2sdxnqli72wg08fli"))))
+ (build-system meson-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-mpv-path
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "gfeeds/confManager.py"
+ (("mpv") (string-append (assoc-ref inputs "mpv") "/bin/mpv")))
+ #t))
+ (add-after 'install 'wrap-gfeeds
+ (lambda* (#:key outputs #:allow-other-keys)
+ (wrap-program (string-append
+ (assoc-ref outputs "out") "/bin/gfeeds")
+ `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))
+ `("GI_TYPELIB_PATH" ":" prefix (,(getenv "GI_TYPELIB_PATH")))
+ `("XDG_DATA_DIRS" ":" prefix (,(getenv "XDG_DATA_DIRS"))))
+ #t)))))
+ (native-inputs
+ `(("glib:bin" ,glib "bin")
+ ("gobject-introspection" ,gobject-introspection)
+ ("gtk+:bin" ,gtk+ "bin")
+ ("pkg-config" ,pkg-config)))
+ (inputs
+ `(("glib" ,glib)
+ ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
+ ("gtk+" ,gtk+)
+ ("hicolor-icon-theme" ,hicolor-icon-theme)
+ ("libhandy" ,libhandy)
+ ("mpv" ,mpv)
+ ("python" ,python)
+ ("python-beautifulsoup4" ,python-beautifulsoup4)
+ ("python-dateutil" ,python-dateutil)
+ ("python-feedparser" ,python-feedparser)
+ ("python-html5lib" ,python-html5lib)
+ ("python-listparser" ,python-listparser)
+ ("python-lxml" ,python-lxml)
+ ("python-pillow" ,python-pillow)
+ ("python-pygments" ,python-pygments)
+ ("python-pytz" ,python-pytz)
+ ("python-readability" ,python-readability)
+ ("python-requests" ,python-requests)
+ ("webkitgtk" ,webkitgtk)
+ ("python-pygobject" ,python-pygobject)))
+ (home-page "https://gfeeds.gabmus.org/")
+ (synopsis "Easy-to-use GTK+ RSS/Atom feed reader")
+ (description "Feeds is an RSS/Atom feed reader made with GTK+
+and it has an easy-to-use graphical user interface.")
+ (license license:gpl3+)))