From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hartmut Goebel Subject: [PATCH 6/7] gnu: Add kmediaplayer. Date: Mon, 21 Nov 2016 17:11:38 +0100 Message-ID: <1479744699-27226-7-git-send-email-h.goebel@crazy-compilers.com> References: <1479744699-27226-1-git-send-email-h.goebel@crazy-compilers.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36779) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c8rCJ-00009q-3G for guix-devel@gnu.org; Mon, 21 Nov 2016 11:12:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c8rCE-0007HQ-FL for guix-devel@gnu.org; Mon, 21 Nov 2016 11:11:59 -0500 Received: from mail-out.m-online.net ([212.18.0.9]:54416) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c8rCE-0007H0-8G for guix-devel@gnu.org; Mon, 21 Nov 2016 11:11:54 -0500 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3tMts52vK5z3hjQY for ; Mon, 21 Nov 2016 17:11:53 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3tMts52f3SzvkVH for ; Mon, 21 Nov 2016 17:11:53 +0100 (CET) Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id 1jfmoeUTqcPw for ; Mon, 21 Nov 2016 17:11:52 +0100 (CET) Received: from hermia.goebel-consult.de (ppp-188-174-129-176.dynamic.mnet-online.de [188.174.129.176]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS for ; Mon, 21 Nov 2016 17:11:52 +0100 (CET) Received: from lenashee.goebel-consult.de (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id 4F0F860EBD for ; Mon, 21 Nov 2016 17:11:40 +0100 (CET) In-Reply-To: <1479744699-27226-1-git-send-email-h.goebel@crazy-compilers.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org * gnu/packages/kde-frameworks.scm (kmediaplayer): New variable. --- gnu/packages/kde-frameworks.scm | 46 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index 109d3f2..c86d82c 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -3055,3 +3055,49 @@ support.") (description "KJSEmbed provides a method of binding Javascript objects to QObjects, so you can script your applications.") (license license:lgpl2.0+))) + +(define-public kmediaplayer + (package + (name "kmediaplayer") + (version "5.27.0") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://kde/stable/frameworks/" + (version-major+minor version) "/portingAids/" + name "-" version ".tar.xz")) + (sha256 + (base32 "003jvd2lzp70ywhnkpzgalzqkjpy3d9flkl144z2hfdwm011d58x")))) + (build-system cmake-build-system) + (native-inputs + `(("extra-cmake-modules" ,extra-cmake-modules) + ("kdoctools" ,kdoctools))) + (inputs + `(("kcompletion" ,kcompletion) + ("kcoreaddons" ,kcoreaddons) + ("ki18n" ,ki18n) + ("kiconthemes" ,kiconthemes) + ("kio" ,kio) + ("kparts" ,kparts) + ("kwidgetsaddons" ,kwidgetsaddons) + ("kxmlgui" ,kxmlgui) + ("qtbase" ,qtbase) + ("qttools" ,qttools))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'check 'check-setup + (lambda _ + (setenv "CTEST_OUTPUT_ON_FAILURE" "1") ; Enable debug output + (setenv "QT_QPA_PLATFORM" "offscreen") + #t))))) + (home-page "https://community.kde.org/Frameworks") + (synopsis "KDE Frameworks 5 plugin interface for media player features") + (description "KMediaPlayer builds on the KParts framework to provide a +common interface for KParts that can play media files. + +This framework is a porting aid. It is not recommended for new projects, and +existing projects that use it are advised to port away from it, and use plain +KParts instead.") + (license license:expat))) -- 2.7.4