summary refs log tree commit diff
diff options
context:
space:
mode:
authorPetr Hodina <phodina@protonmail.com>2022-08-23 21:34:07 +0200
committerMarius Bakke <marius@gnu.org>2022-11-21 22:01:13 +0100
commit02f3055114c5e88cde552f3fe66bb1f9bad8931a (patch)
tree13fa93e24cf3f6a3f4efa8934076d14f8cd9a99f
parentee62d19d9e098afc131d1c329f39a5d8e5167c4c (diff)
downloadguix-02f3055114c5e88cde552f3fe66bb1f9bad8931a.tar.gz
gnu: Add plasma-browser-integration.
* gnu/packages/kde-plasma.scm (plasma-browser-integration): New variable.

Signed-off-by: Marius Bakke <marius@gnu.org>
-rw-r--r--gnu/packages/kde-plasma.scm38
1 files changed, 38 insertions, 0 deletions
diff --git a/gnu/packages/kde-plasma.scm b/gnu/packages/kde-plasma.scm
index d537285834..a4cb8c7909 100644
--- a/gnu/packages/kde-plasma.scm
+++ b/gnu/packages/kde-plasma.scm
@@ -1353,6 +1353,44 @@ on QtMultimedia and @command{yt-dlp}.")
 active window on Plasma Desktop.")
     (license (list license:gpl2 license:gpl3)))))
 
+(define-public plasma-browser-integration
+  (package
+    (name "plasma-browser-integration")
+    (version "5.25.5")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://kde/stable/plasma/" version
+                                  "/" name "-" version ".tar.xz"))
+              (sha256
+               (base32
+                "18pbn5ic5l3m8i1y99yprpwd4x4746aq3abqn1f2cq5h2683h2ia"))))
+    (build-system qt-build-system)
+    (native-inputs (list extra-cmake-modules pkg-config))
+    ;; TODO: Figure out how to integrate this package into web browsers
+    ;; CHROMIUM_EXTENSIONS_DIR - extension for chromium
+    ;; MOZILLA_DIR - extension for firefox
+    (inputs (list kio
+                  ki18n
+                  kcoreaddons
+                  kconfig
+                  kcrash
+                  kdbusaddons
+                  knotifications
+                  kitemmodels
+                  krunner
+                  kactivities
+                  purpose
+                  kfilemetadata
+                  kjobwidgets
+                  qtdeclarative-5))
+    (propagated-inputs (list plasma-workspace))
+    (home-page "https://invent.kde.org/plasma/plasma-browser-integration")
+    (synopsis "Integrate browsers into the Plasma Desktop")
+    (description
+     "This package aims to provide better integration of web browsers with
+the KDE Plasma 5 desktop.")
+    (license license:gpl3+)))
+
 (define-public plasma-disks
   (package
     (name "plasma-disks")