Subject: [bug#38543] [PATCH 1/3] gnu: Add libkcompactdisc.

From: Hartmut Goebel <[email-masked]>
Date: Mon, 9 Dec 2019 11:11:08 +0100

* gnu/packages/kde-multimedia.scm (libkcompactdisc): New variable.
---
 gnu/packages/kde-multimedia.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/kde-multimedia.scm b/gnu/packages/kde-multimedia.scm
index 7261ef04ad..7478ef4b00 100644
--- a/gnu/packages/kde-multimedia.scm
+++ b/gnu/packages/kde-multimedia.scm
@@ -600,3 +600,30 @@ Its features include:
     (synopsis "CDDB library for KDE Platform (runtime)")
     (description "A library for retrieving and sending cddb information.")
     (license (list license:gpl2+ license:lgpl2.0+ license:fdl1.2+))))
+
+(define-public libkcompactdisc
+  (package
+    (name "libkcompactdisc")
+    (version "19.08.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://kde/stable/applications/" version
+                           "/src/libkcompactdisc-" version ".tar.xz"))
+       (sha256
+        (base32 "09gl2dww5i50rpj92ryw4vq5ryy96cv9kflg6yqgdbznmmdqhawi"))))
+    (properties `((tags . ("Desktop" "KDE" "Multimedia"))))
+    (build-system qt-build-system)
+    (native-inputs
+     `(("extra-cmake-modules" ,extra-cmake-modules)))
+    (inputs
+     `(("alsa-lib" ,alsa-lib)
+       ("kcoreaddons" ,kcoreaddons)
+       ("ki18n" ,ki18n)
+       ("phonon" ,phonon)
+       ("qtbase" ,qtbase)
+       ("solid" ,solid)))
+    (home-page "https://cgit.kde.org/libkcompactdisc.git/")
+    (synopsis "KDE library for playing & ripping CDs")
+    (description "KDE library for playing & ripping CDs.")
+    (license (list license:gpl2+ license:lgpl2.0+))))
-- 
2.21.0