gnu: kaffeine: Update to 2.0.19-0.0a36369.

* gnu/packages/kde-multimedia.scm (kaffeine): Update to 2.0.19-0.0a36369.
[source]: Switch to git-fetch.
[inputs]: Remove kcoreaddons-5, kdbusaddons-5, ki18n-5, kio-5,
kwidgetsaddons-5, kwindowsystem-5, kxmlgui-5, qtbase-5, qtx11extras,
and solid-5; add kcoreaddons, kdbusaddons, ki18n, kio,
kwidgetsaddons, kwindowsystem, kxmlgui, and solid.
[native-inputs]: Remove kdoctools-5; add kdoctools.
[arguments]: Set #:qtbase to qtbase.

Change-Id: Ia113aa3b227e9b529d847afc62dec7e4a0345023
This commit is contained in:
Zheng Junjie 2025-08-18 21:10:44 +08:00
parent 8b1ba53757
commit b87ae1e405
No known key found for this signature in database
GPG key ID: 3B5AA993E1A2DFF0

View file

@ -5,7 +5,7 @@
;;; Copyright © 2022 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2022 Brendan Tildesley <mail@brendan.scot>
;;; Copyright © 2022 Petr Hodina <phodina@protonmail.com>
;;; Copyright © 2023 Zheng Junjie <873216071@qq.com>
;;; Copyright © 2023, 2025 Zheng Junjie <z572@z572.online>
;;; Copyright © 2025 Sergio Pastor Pérez <sergio.pastorperez@gmail.com>
;;;
;;; This file is part of GNU Guix.
@ -517,55 +517,58 @@ the available CD drives.")
(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
(list extra-cmake-modules pkg-config kdoctools-5))
(inputs
(list eudev
kcoreaddons-5
kdbusaddons-5
ki18n-5
kio-5
kwidgetsaddons-5
kwindowsystem-5
kxmlgui-5
libxscrnsaver
breeze-icons ; default icon set
qtbase-5
qtx11extras
solid-5
v4l-utils ; libdvbv5
vlc))
(arguments
(list #:tests? #f
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'fix-code
(lambda _
(substitute* "src/dvb/dvbdevice_linux.cpp"
(("\\s*qPrintable\\(transponder\\.getTransmissionType\\(\\)\\)\\);")
"transponder.getTransmissionType());")))))))
(home-page "https://apps.kde.org/kaffeine/")
(synopsis "Versatile media player for KDE")
(description "Kaffeine is a media player for KDE. While it supports
(let* ((commit "0a363690f5b320ec55f190a4d32d09d73a8c86f1")
(revision "0"))
(package
(name "kaffeine")
(version (git-version "2.0.19" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://invent.kde.org/multimedia/kaffeine.git/")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32 "0959sw7xdkv3blv6k1p7k91ki0s30ki54jh516n52lp6h48q6z1p"))))
(build-system qt-build-system)
(native-inputs
(list extra-cmake-modules pkg-config kdoctools))
(inputs
(list eudev
kcoreaddons
kdbusaddons
ki18n
kio
kwidgetsaddons
kwindowsystem
kxmlgui
libxscrnsaver
breeze-icons ; default icon set
solid
v4l-utils ; libdvbv5
vlc))
(arguments
(list #:qtbase qtbase
#:tests? #f
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'fix-code
(lambda _
(substitute* "src/dvb/dvbdevice_linux.cpp"
(("\\s*qPrintable\\(transponder\\.getTransmissionType\\(\\)\\)\\);")
"transponder.getTransmissionType());")))))))
(home-page "https://apps.kde.org/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+))))
(license ;; GPL for programs, FDL for documentation
(list license:gpl2+ license:fdl1.2+)))))
(define-public kamoso
(package