unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Hartmut Goebel <h.goebel@crazy-compilers.com>
To: 38532@debbugs.gnu.org
Subject: [bug#38532] [PATCH 06/11] gnu: Add kaffeine.
Date: Sun,  8 Dec 2019 17:43:50 +0100	[thread overview]
Message-ID: <20191208164355.7374-6-h.goebel@crazy-compilers.com> (raw)
In-Reply-To: <20191208164355.7374-1-h.goebel@crazy-compilers.com>

* gnu/packages/kde-multimedia.scm (kaffeine): New variable.
---
 gnu/packages/kde-multimedia.scm | 61 ++++++++++++++++++++++++++++++++-
 1 file changed, 60 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/kde-multimedia.scm b/gnu/packages/kde-multimedia.scm
index 6a989fd32d..e2f0a10948 100644
--- a/gnu/packages/kde-multimedia.scm
+++ b/gnu/packages/kde-multimedia.scm
@@ -26,13 +26,15 @@
   #:use-module (gnu packages base)
   #:use-module (gnu packages gnome)
   #:use-module (gnu packages kde-frameworks)
+  #:use-module (gnu packages linux)
   #:use-module (gnu packages mp3)
   #:use-module (gnu packages music)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages pulseaudio)
   #:use-module (gnu packages qt)
   #:use-module (gnu packages video)
-  #:use-module (gnu packages xiph))
+  #:use-module (gnu packages xiph)
+  #:use-module (gnu packages xorg))
 
 (define-public dragon
   (package
@@ -227,3 +229,60 @@ devices.")
     (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 kaffeine
+  (package
+    (name "kaffeine")
+    (version "2.0.18")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://kde/stable/kaffeine"
+                           "/kaffeine-" version ".tar.xz"))
+       (sha256
+        (base32 "10dnhr9v2jlki44i3gmjagky66ybixmv6f29z5imk9clgddrlyfr"))))
+    (properties `((tags . ("Desktop" "KDE" "Multimedia"))))
+    (build-system qt-build-system)
+    (native-inputs
+     `(("extra-cmake-modules" ,extra-cmake-modules)
+       ("pkg-config" ,pkg-config)
+       ("kdoctools" ,kdoctools)))
+    (inputs
+     `(("eudev" ,eudev)
+       ("kcoreaddons" ,kcoreaddons)
+       ("kdbusaddons" ,kdbusaddons)
+       ("ki18n" ,ki18n)
+       ("kio" ,kio)
+       ("kwidgetsaddons" ,kwidgetsaddons)
+       ("kwindowsystem" ,kwindowsystem)
+       ("kxmlgui" ,kxmlgui)
+       ("libxscrnsaver" ,libxscrnsaver)
+       ;;("oxygen-icons" ,oxygen-icons) ; default icon set
+       ("qtbase" ,qtbase)
+       ("qtx11extras" ,qtx11extras)
+       ("solid" ,solid)
+       ("v4l-utils" ,v4l-utils) ; libdvbv5
+       ("vlc" ,vlc)))
+    ;;/tmp/guix-build-kaffeine-2.0.18.drv-0/kaffeine-2.0.18/src/dvb/dvbrecording.cpp:476:73: error: conversion to non-const reference type ‘class QString&&’ from rvalue of type ‘QString’ [-fpermissive]
+    ;;qCDebug(logDvb, "name and priority %s %s", qPrintable(listRec->name), qPrintable(listRec->priority));
+    (arguments
+     `(;;#:configure-flags '("-DBUILD_TESTING=ON")
+       ;;#:tests? #f ; tests fail hard in our build environment
+       #:phases
+       (modify-phases (@ (guix build qt-build-system) %standard-phases)
+         (add-after 'unpack 'fix-code
+           (lambda _
+             (substitute* "src/dvb/dvbdevice_linux.cpp"
+               (("\\s*qPrintable\\(transponder\\.getTransmissionType\\(\\)\\)\\);")
+                 "transponder.getTransmissionType());"))
+             #t)))))
+    (home-page "https://kde.org/applications/multimedia/org.kde.kaffeine")
+    (synopsis "Versatile media player for KDE")
+    (description "Kaffeine is a media player for KDE.  While it supports
+multiple Phonon backends, its default backend is Xine, giving Kaffeine a wide
+variety of supported media types and letting Kaffeine access CDs, DVDs, and
+network streams easily.
+
+Kaffeine can keep track of multiple playlists simultaneously, and supports
+autoloading of subtitle files for use while playing video.")
+    (license (list license:gpl2+ license:fdl1.2+))))
-- 
2.21.0

  parent reply	other threads:[~2019-12-08 16:45 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-08 16:41 [bug#38532] [PATCH 00/11] Add audiofile and KDE mulitmedia applications Hartmut Goebel
2019-12-08 16:43 ` [bug#38532] [PATCH 01/11] gnu: Add audiofile Hartmut Goebel
2019-12-08 16:43   ` [bug#38532] [PATCH 02/11] gnu: Add dragon Hartmut Goebel
2019-12-08 16:43   ` [bug#38532] [PATCH 03/11] gnu: Add juk Hartmut Goebel
2019-12-08 16:43   ` [bug#38532] [PATCH 04/11] gnu: Add k3b Hartmut Goebel
2019-12-08 16:43   ` [bug#38532] [PATCH 05/11] gnu: Add libkcddb Hartmut Goebel
2019-12-08 16:43   ` Hartmut Goebel [this message]
2019-12-08 16:43   ` [bug#38532] [PATCH 07/11] gnu: Add kmix Hartmut Goebel
2019-12-08 16:43   ` [bug#38532] [PATCH 08/11] gnu: Add kmplayer Hartmut Goebel
2019-12-08 16:43   ` [bug#38532] [PATCH 09/11] gnu: Add kwave Hartmut Goebel
2019-12-08 16:43   ` [bug#38532] [PATCH 10/11] gnu: Add elisa Hartmut Goebel
2019-12-08 16:43   ` [bug#38532] [PATCH 11/11] gnu: Add kamoso Hartmut Goebel
2019-12-11 14:12 ` [bug#38532] Patches updated Hartmut Goebel
     [not found] ` <handler.38532.B.157582329710947.ack@debbugs.gnu.org>
2019-12-26 15:45   ` bug#38532: Acknowledgement ([PATCH 00/11] Add audiofile and KDE mulitmedia applications.) Hartmut Goebel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191208164355.7374-6-h.goebel@crazy-compilers.com \
    --to=h.goebel@crazy-compilers.com \
    --cc=38532@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).