gnu: Add kaffeine.

* gnu/packages/kde-multimedia.scm (kaffeine): New variable.
This commit is contained in:
Hartmut Goebel 2019-12-06 22:11:19 +01:00
parent d1a6a94650
commit d720ecb613
No known key found for this signature in database
GPG key ID: 634A8DFFD3F631DF

View file

@ -24,15 +24,19 @@ (define-module (gnu packages kde-multimedia)
#:use-module (guix utils)
#:use-module (gnu packages)
#:use-module (gnu packages base)
#:use-module (gnu packages glib)
#:use-module (gnu packages gnome)
#:use-module (gnu packages kde-frameworks)
#:use-module (gnu packages libcanberra)
#: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
@ -195,6 +199,59 @@ (define-public k3b
(license ;; GPL for programs, FDL for documentation
(list license:gpl2+ 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"))))
(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)))
(arguments
`(#:phases
(modify-phases %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 ;; GPL for programs, FDL for documentation
(list license:gpl2+ license:fdl1.2+))))
(define-public libkcddb
(package
(name "libkcddb")