summary refs log tree commit diff
path: root/gnu/packages/kde-multimedia.scm
diff options
context:
space:
mode:
authorHartmut Goebel <h.goebel@crazy-compilers.com>2019-12-08 18:07:18 +0100
committerHartmut Goebel <h.goebel@crazy-compilers.com>2019-12-26 16:44:53 +0100
commitabd4d5785127ac45de0718cee77db6cbfb7e0a00 (patch)
treea158c0ddfc3c848310b0dc29809c36ad8bbfd306 /gnu/packages/kde-multimedia.scm
parentf66c7a5c0bfacbfee1b37119caaa263a84174fa3 (diff)
downloadguix-abd4d5785127ac45de0718cee77db6cbfb7e0a00.tar.gz
gnu: Add elisa.
* gnu/packages/kde-multimedia.scm (elisa): New variable.
Diffstat (limited to 'gnu/packages/kde-multimedia.scm')
-rw-r--r--gnu/packages/kde-multimedia.scm69
1 files changed, 69 insertions, 0 deletions
diff --git a/gnu/packages/kde-multimedia.scm b/gnu/packages/kde-multimedia.scm
index 641edbf429..6a2ce1909f 100644
--- a/gnu/packages/kde-multimedia.scm
+++ b/gnu/packages/kde-multimedia.scm
@@ -87,6 +87,75 @@ This package is part of the KDE multimedia module.")
     (license ;; GPL for programs, FDL for documentation
      (list license:gpl2+ license:fdl1.2+))))
 
+(define-public elisa
+  (package
+    (name "elisa")
+    (version "0.4.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://kde//stable/elisa/0.4.2"
+                           "/elisa-" version ".tar.xz"))
+       (sha256
+        (base32 "0v9af6l89pgz1g7naf7gwcnq8znlicyh7z985kxalbdmv359c97w"))))
+    (build-system qt-build-system)
+    (native-inputs
+     `(("extra-cmake-modules" ,extra-cmake-modules)
+       ("pkg-config" ,pkg-config)
+       ("dbus" ,dbus)
+       ("kdoctools" ,kdoctools)
+       ("xorg-server" , xorg-server-for-tests)))
+    (inputs
+     `(("kconfig" ,kconfig)
+       ("baloo" ,baloo)
+       ("kconfigwidgets" ,kconfigwidgets)
+       ("kcoreaddons" ,kcoreaddons)
+       ("kcrash" ,kcrash)
+       ("kcmutils" ,kcmutils)
+       ("kdbusaddons" ,kdbusaddons)
+       ("kdeclarative" ,kdeclarative)
+       ("kfilemetadata" ,kfilemetadata)
+       ("ki18n" ,ki18n)
+       ("kio" ,kio)
+       ("kirigami" ,kirigami)
+       ("kmediaplayer" ,kmediaplayer)
+       ("kparts" ,kparts)
+       ("kpackage" ,kpackage)
+       ("kwidgetsaddons" ,kwidgetsaddons)
+       ("kxmlgui" ,kxmlgui)
+       ("oxygen-icons" ,oxygen-icons) ; default icon set
+       ("phonon" ,phonon)
+       ("qtbase" ,qtbase)
+       ("qtdeclarative" ,qtdeclarative)
+       ("qtgraphicaleffects" ,qtgraphicaleffects) ; not listed as dependency
+       ("qtmultimedia" ,qtmultimedia)
+       ("qtquickcontrols" ,qtquickcontrols)
+       ("qtquickcontrols2" ,qtquickcontrols2)
+       ("qtsvg" ,qtsvg)
+       ("qtx11extras" ,qtx11extras)
+       ;; TODO: upnpqt https://gitlab.com/homeautomationqt/upnp-player-qt
+       ("vlc" ,vlc)))
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-before 'check 'start-xorg-server
+           (lambda* (#:key inputs #:allow-other-keys)
+             ;; The test suite requires a running X server, setting
+             ;; QT_QPA_PLATFORM=offscreen does not suffice.
+             (system (string-append (assoc-ref inputs "xorg-server")
+                                    "/bin/Xvfb :1 -screen 0 640x480x24 &"))
+             (setenv "DISPLAY" ":1")
+             #t)))))
+    (home-page "https://kde.org/applications/multimedia/org.kde.elisa")
+    (synopsis "Powerful music player for Plasma 5")
+    (description "Elisa is a simple music player aiming to provide a nice
+experience for its users.  Elisa allows to browse music by album, artist or
+all tracks.  The music is indexed using either a private indexer or an indexer
+using Baloo.  The private one can be configured to scan music on chosen paths.
+The Baloo one is much faster because Baloo is providing all needed data from
+its own database.  You can build and play your own playlist.")
+    (license license:lgpl3+)))
+
 (define-public juk
   (package
     (name "juk")