From 08184ebf16fad0e84c3dc22b059cd0e211684954 Mon Sep 17 00:00:00 2001 From: Andreas Enge Date: Mon, 11 Nov 2013 21:56:07 +0100 Subject: gnu: Add phonon. * gnu/packages/kde.scm (phonon): New variable. --- gnu/packages/kde.scm | 37 +++++++++++++++++++++++++++++++++++-- 1 file changed, 35 insertions(+), 2 deletions(-) diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm index 3da261ccd1..aaf425db63 100644 --- a/gnu/packages/kde.scm +++ b/gnu/packages/kde.scm @@ -17,11 +17,15 @@ ;;; along with GNU Guix. If not, see . (define-module (gnu packages kde) - #:use-module ((guix licenses) #:select (bsd-2)) + #:use-module ((guix licenses) #:select (bsd-2 lgpl2.1+)) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix build-system cmake) - #:use-module (gnu packages qt)) + #:use-module (gnu packages glib) + #:use-module (gnu packages pkg-config) + #:use-module (gnu packages pulseaudio) + #:use-module (gnu packages qt) + #:use-module (gnu packages xorg)) (define-public automoc4 (package @@ -44,3 +48,32 @@ (synopsis "build tool for KDE") (description "KDE desktop environment") (license bsd-2))) + +(define-public phonon + (package + (name "phonon") + (version "4.7.0") + (source (origin + (method url-fetch) + (uri (string-append "http://download.kde.org/stable/" name + "/" version "/" + name "-" version ".tar.xz")) + (sha256 + (base32 + "1sxrnwm16dxy32xmrqf26762wmbqing1zx8i4vlvzgzvd9xy39ac")))) + (build-system cmake-build-system) + ;; FIXME: Add interpreter ruby once available. + ;; Add optional input libqtzeitgeist. + (inputs + `(("automoc4" ,automoc4) + ("glib" ,glib) + ("libx11" ,libx11) + ("pkg-config" ,pkg-config) + ("pulseaudio" ,pulseaudio) + ("qt" ,qt-4))) + (arguments + `(#:tests? #f)) ; no test target + (home-page "http://phonon.kde.org/") + (synopsis "Qt 4 multimedia API") + (description "KDE desktop environment") + (license lgpl2.1+))) -- cgit 1.4.1