From patchwork Sun Dec 8 16:43:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Hartmut Goebel X-Patchwork-Id: 16430 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id C4D4317874; Sun, 8 Dec 2019 16:45:43 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 7F7F917871 for ; Sun, 8 Dec 2019 16:45:43 +0000 (GMT) Received: from localhost ([::1]:59880 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1idzgk-0001yT-LD for patchwork@mira.cbaines.net; Sun, 08 Dec 2019 11:45:42 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:41957) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1idzgB-0001Ip-QT for guix-patches@gnu.org; Sun, 08 Dec 2019 11:45:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1idzg9-0008S2-0o for guix-patches@gnu.org; Sun, 08 Dec 2019 11:45:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:46193) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1idzg8-0008Qu-Qj for guix-patches@gnu.org; Sun, 08 Dec 2019 11:45:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1idzg8-0002yl-PE for guix-patches@gnu.org; Sun, 08 Dec 2019 11:45:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#38532] [PATCH 06/11] gnu: Add kaffeine. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 08 Dec 2019 16:45:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38532 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 38532@debbugs.gnu.org Received: via spool by 38532-submit@debbugs.gnu.org id=B38532.157582346511290 (code B ref 38532); Sun, 08 Dec 2019 16:45:04 +0000 Received: (at 38532) by debbugs.gnu.org; 8 Dec 2019 16:44:25 +0000 Received: from localhost ([127.0.0.1]:52146 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1idzfU-0002w1-SW for submit@debbugs.gnu.org; Sun, 08 Dec 2019 11:44:25 -0500 Received: from mail-out.m-online.net ([212.18.0.9]:45105) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1idzfT-0002vt-26 for 38532@debbugs.gnu.org; Sun, 08 Dec 2019 11:44:23 -0500 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 47WBxL3ptqz1qqlF for <38532@debbugs.gnu.org>; Sun, 8 Dec 2019 17:44:22 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 47WBxL3k2bz1rYbC for <38532@debbugs.gnu.org>; Sun, 8 Dec 2019 17:44:22 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id 4nPa6OVkfXWx for <38532@debbugs.gnu.org>; Sun, 8 Dec 2019 17:44:21 +0100 (CET) Received: from hermia.goebel-consult.de (ppp-188-174-50-235.dynamic.mnet-online.de [188.174.50.235]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS for <38532@debbugs.gnu.org>; Sun, 8 Dec 2019 17:44:21 +0100 (CET) Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 032B260451 for <38532@debbugs.gnu.org>; Sun, 8 Dec 2019 17:44:49 +0100 (CET) From: Hartmut Goebel Date: Sun, 8 Dec 2019 17:43:50 +0100 Message-Id: <20191208164355.7374-6-h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20191208164355.7374-1-h.goebel@crazy-compilers.com> References: <20191208164355.7374-1-h.goebel@crazy-compilers.com> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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+))))