[bug#74102] gnu: Add haruna.

Message ID 9d98ee093bde7c1bfa2b2b7868b6bd0219c2d8a3.1730262357.git.sughosha@disroot.org
State New
Headers
Series [bug#74102] gnu: Add haruna. |

Commit Message

Sughosha Oct. 30, 2024, 4:25 a.m. UTC
* gnu/packages/kde-multimedia.scm (haruna): New variable.

Change-Id: I424bf7d8fbcf6f64f356d7bd79a306003565a09f
---
 gnu/packages/kde-multimedia.scm | 38 +++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)


base-commit: 4009d1de954d694cb11af391d4113d29c5c1379d
  

Comments

Z572 Oct. 31, 2024, 7:47 a.m. UTC | #1
Sughosha via Guix-patches via <guix-patches@gnu.org> writes:

> * gnu/packages/kde-multimedia.scm (haruna): New variable.
>
> Change-Id: I424bf7d8fbcf6f64f356d7bd79a306003565a09f
> ---
>  gnu/packages/kde-multimedia.scm | 38 +++++++++++++++++++++++++++++++++
>  1 file changed, 38 insertions(+)
>
> diff --git a/gnu/packages/kde-multimedia.scm b/gnu/packages/kde-multimedia.scm
> index 520981550b..5b41c19302 100644
> --- a/gnu/packages/kde-multimedia.scm
> +++ b/gnu/packages/kde-multimedia.scm
> @@ -44,6 +44,7 @@ (define-module (gnu packages kde-multimedia)
>    #:use-module (gnu packages gstreamer)
>    #:use-module (gnu packages kde)
>    #:use-module (gnu packages kde-frameworks)
> +  #:use-module (gnu packages kde-plasma)
>    #:use-module (gnu packages libcanberra)
>    #:use-module (gnu packages linux)
>    #:use-module (gnu packages mp3)
> @@ -143,6 +144,43 @@ (define-public dragon
>      (license ;; GPL for programs, FDL for documentation
>       (list license:gpl2+ license:fdl1.2+))))
>  
> +(define-public haruna
> +  (package
> +    (name "haruna")
> +    (version "1.2.1")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (string-append "mirror://kde/stable/haruna/" version
> +                                    "/haruna-" version ".tar.xz"))
> +              (sha256
> +               (base32 "1yv2qcjb2q17r416y055ib6kisvslg76qkh651ff5ilq6hd2c0gb"))))
> +    (build-system qt-build-system)
> +    (arguments
> +     (list #:qtbase qtbase))
> +    (native-inputs
> +     (list extra-cmake-modules))
> +    (inputs
> +     (list breeze ;default theme
> +           breeze-icons ;default icon set
> +           ffmpeg
> +           kcolorscheme
> +           kconfig
> +           kcoreaddons
> +           kcrash
> +           kfilemetadata
> +           ki18n
> +           kiconthemes
> +           kio
> +           kirigami
> +           kwindowsystem
> +           mpvqt
> +           qt5compat
> +           yt-dlp))
> +    (home-page "https://haruna.kde.org/")
> +    (synopsis "Video player built with Qt/QML and libmpv")
> +    (description "Haruna is a video player build with Qt/QML and libmpv.")
> +    (license license:gpl3+)))
> +

push, and add qqc2-desktop-style, sonnet to inputs.

>  (define-public elisa
>    (package
>      (name "elisa")
>
> base-commit: 4009d1de954d694cb11af391d4113d29c5c1379d
  

Patch

diff --git a/gnu/packages/kde-multimedia.scm b/gnu/packages/kde-multimedia.scm
index 520981550b..5b41c19302 100644
--- a/gnu/packages/kde-multimedia.scm
+++ b/gnu/packages/kde-multimedia.scm
@@ -44,6 +44,7 @@  (define-module (gnu packages kde-multimedia)
   #:use-module (gnu packages gstreamer)
   #:use-module (gnu packages kde)
   #:use-module (gnu packages kde-frameworks)
+  #:use-module (gnu packages kde-plasma)
   #:use-module (gnu packages libcanberra)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages mp3)
@@ -143,6 +144,43 @@  (define-public dragon
     (license ;; GPL for programs, FDL for documentation
      (list license:gpl2+ license:fdl1.2+))))
 
+(define-public haruna
+  (package
+    (name "haruna")
+    (version "1.2.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://kde/stable/haruna/" version
+                                    "/haruna-" version ".tar.xz"))
+              (sha256
+               (base32 "1yv2qcjb2q17r416y055ib6kisvslg76qkh651ff5ilq6hd2c0gb"))))
+    (build-system qt-build-system)
+    (arguments
+     (list #:qtbase qtbase))
+    (native-inputs
+     (list extra-cmake-modules))
+    (inputs
+     (list breeze ;default theme
+           breeze-icons ;default icon set
+           ffmpeg
+           kcolorscheme
+           kconfig
+           kcoreaddons
+           kcrash
+           kfilemetadata
+           ki18n
+           kiconthemes
+           kio
+           kirigami
+           kwindowsystem
+           mpvqt
+           qt5compat
+           yt-dlp))
+    (home-page "https://haruna.kde.org/")
+    (synopsis "Video player built with Qt/QML and libmpv")
+    (description "Haruna is a video player build with Qt/QML and libmpv.")
+    (license license:gpl3+)))
+
 (define-public elisa
   (package
     (name "elisa")