summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorPetr Hodina <phodina@protonmail.com>2022-08-10 01:18:23 +0200
committerMarius Bakke <marius@gnu.org>2022-11-21 22:01:10 +0100
commit4b39a8a55ffddfd069055d6a9c78ea7edbff9d44 (patch)
treedcac5083e26ec3b8f2d2fe13d933d9ad7665bf40 /gnu/packages
parentd15b931948184b967cb2882082ce587410e35bb5 (diff)
downloadguix-4b39a8a55ffddfd069055d6a9c78ea7edbff9d44.tar.gz
gnu: Add plasmatube.
* gnu/packages/kde-plasma.scm (plasmatube): New variable.

Signed-off-by: Marius Bakke <marius@gnu.org>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/kde-plasma.scm30
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/kde-plasma.scm b/gnu/packages/kde-plasma.scm
index 27eaf735c5..480f946aa8 100644
--- a/gnu/packages/kde-plasma.scm
+++ b/gnu/packages/kde-plasma.scm
@@ -41,6 +41,7 @@
   #:use-module (gnu packages linux)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages python)
+  #:use-module (gnu packages video)
   #:use-module (gnu packages qt)
   #:use-module (gnu packages xdisorg)
   #:use-module (gnu packages xorg)
@@ -625,3 +626,32 @@ KDE Frameworks components.")
     (description
      "This package provides a daemon that listens to system notifications.")
     (license license:gpl2+)))
+
+(define-public plasmatube
+  (package
+    (name "plasmatube")
+    (version "22.09")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://kde/stable/plasma-mobile/"
+                                  version "/" name "-" version ".tar.xz"))
+              (sha256
+               (base32
+                "00w9p5fcpv4s406lmcdcbrxf19sgkvf9yy8pfjmf1asvvvi8bpnk"))))
+    (build-system cmake-build-system)
+    (native-inputs (list extra-cmake-modules))
+    (inputs
+     (list kconfig
+           kirigami
+           ki18n
+           qtbase-5
+           qtdeclarative-5
+           qtmultimedia-5
+           qtquickcontrols2-5
+           qtsvg-5
+           youtube-dl))
+    (home-page "https://apps.kde.org/plasmatube/")
+    (synopsis "Kirigami YouTube video player")
+    (description "This package provides YouTube video player based
+on QtMultimedia and @command{yt-dlp}.")
+    (license license:gpl3+)))