gnu: kdenlive: Update to 21.12.3.

* gnu/packages/kde.scm (kdenlive): Update to 21.12.3.
[source]: Use git-file-name function.
[inputs]: Add bash-minimal.
This commit is contained in:
Vinicius Monego 2022-02-02 09:45:11 -03:00
parent d049ff1599
commit 5b248cc23e
No known key found for this signature in database
GPG key ID: 637B0B138065B68A

View file

@ -14,7 +14,7 @@
;;; Copyright © 2020, 2021, 2022 Zheng Junjie <873216071@qq.com> ;;; Copyright © 2020, 2021, 2022 Zheng Junjie <873216071@qq.com>
;;; Copyright © 2021 Alexandros Theodotou <alex@zrythm.org> ;;; Copyright © 2021 Alexandros Theodotou <alex@zrythm.org>
;;; Copyright © 2021 la snesne <lasnesne@lagunposprasihopre.org> ;;; Copyright © 2021 la snesne <lasnesne@lagunposprasihopre.org>
;;; Copyright © 2021 Vinicius Monego <monego@posteo.net> ;;; Copyright © 2021, 2022 Vinicius Monego <monego@posteo.net>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -45,6 +45,7 @@ (define-module (gnu packages kde)
#:use-module (gnu packages apr) #:use-module (gnu packages apr)
#:use-module (gnu packages astronomy) #:use-module (gnu packages astronomy)
#:use-module (gnu packages audio) #:use-module (gnu packages audio)
#:use-module (gnu packages bash)
#:use-module (gnu packages bison) #:use-module (gnu packages bison)
#:use-module (gnu packages boost) #:use-module (gnu packages boost)
#:use-module (gnu packages check) #:use-module (gnu packages check)
@ -219,84 +220,84 @@ (define-public akregator
(license license:gpl2+))) (license license:gpl2+)))
(define-public kdenlive (define-public kdenlive
(let ((version "21.08.3")) (package
(package (name "kdenlive")
(name "kdenlive") (version "21.12.3")
(version version) (source
(source (origin
(origin (method git-fetch)
(method git-fetch) (uri (git-reference
(uri (git-reference (url "https://invent.kde.org/multimedia/kdenlive")
(url "https://invent.kde.org/multimedia/kdenlive") (commit (string-append "v" version))))
(commit (string-append "v" version)))) (file-name (git-file-name name version))
(file-name (string-append name "-" version "-checkout")) (sha256
(sha256 (base32 "19fs5zhz1nv5cvf709c5741nri139pl5mzpf2xnd4sqj0rmyv228"))))
(base32 "0lpspak5djkbn2xbmmbxls258310g45n3a08sghkjl08bx6ilvc9")))) (build-system qt-build-system)
(build-system qt-build-system) (arguments
(native-inputs ;; XXX: there is a single test that spawns other tests and
(list extra-cmake-modules pkg-config qttools)) ;; 1/3 tests failed and 1/327 assertions failed. It seems
(inputs ;; that individual tests can't be skipped.
(list breeze ; make dark them available easily `(#:configure-flags (list "-DBUILD_TESTING=off")
breeze-icons ; recommended icon set #:tests? #f
ffmpeg #:phases
frei0r-plugins (modify-phases %standard-phases
karchive (add-after 'install 'wrap-executable
kcrash (lambda* (#:key inputs outputs #:allow-other-keys)
kdbusaddons (let* ((out (assoc-ref outputs "out"))
kdeclarative (qtbase (assoc-ref inputs "qtbase"))
kdoctools (frei0r (assoc-ref inputs "frei0r-plugins"))
kfilemetadata (ffmpeg (assoc-ref inputs "ffmpeg")))
kguiaddons (wrap-program (string-append out "/bin/kdenlive")
kiconthemes `("PATH" ":" prefix
knewstuff ,(list (string-append ffmpeg "/bin")))
knotifications `("FREI0R_PATH" ":" =
knotifyconfig (,(string-append frei0r "/lib/frei0r-1/")))
kparts `("QT_QPA_PLATFORM_PLUGIN_PATH" ":" =
kplotting (,(string-append qtbase "/lib/qt5/plugins/platforms")))
mlt `("MLT_PREFIX" ":" =
purpose (,(assoc-ref inputs "mlt"))))))))))
qtbase-5 (native-inputs
qtdeclarative (list extra-cmake-modules pkg-config qttools))
qtgraphicaleffects (inputs
qtmultimedia (list bash-minimal
qtnetworkauth breeze ; make dark them available easily
qtquickcontrols breeze-icons ; recommended icon set
qtquickcontrols2 ffmpeg
qtscript frei0r-plugins
qtsvg karchive
shared-mime-info)) kcrash
(arguments kdbusaddons
;; XXX: there is a single test that spawns other tests and kdeclarative
;; 1/3 tests failed and 1/327 assertions failed. It seems kdoctools
;; that individual tests can't be skipped. kfilemetadata
`(#:configure-flags (list "-DBUILD_TESTING=off") kguiaddons
#:tests? #f kiconthemes
#:phases knewstuff
(modify-phases %standard-phases knotifications
(add-after 'install 'wrap-executable knotifyconfig
(lambda* (#:key inputs outputs #:allow-other-keys) kparts
(let* ((out (assoc-ref outputs "out")) kplotting
(qtbase (assoc-ref inputs "qtbase")) mlt
(frei0r (assoc-ref inputs "frei0r-plugins")) purpose
(ffmpeg (assoc-ref inputs "ffmpeg"))) qtbase-5
(wrap-program (string-append out "/bin/kdenlive") qtdeclarative
`("PATH" ":" prefix qtgraphicaleffects
,(list (string-append ffmpeg "/bin"))) qtmultimedia
`("FREI0R_PATH" ":" = qtnetworkauth
(,(string-append frei0r "/lib/frei0r-1/"))) qtquickcontrols
`("QT_QPA_PLATFORM_PLUGIN_PATH" ":" = qtquickcontrols2
(,(string-append qtbase "/lib/qt5/plugins/platforms"))) qtscript
`("MLT_PREFIX" ":" = qtsvg
(,(assoc-ref inputs "mlt")))))))))) shared-mime-info))
(home-page "https://kdenlive.org") (home-page "https://kdenlive.org")
(synopsis "Non-linear video editor") (synopsis "Non-linear video editor")
(description "Kdenlive is an acronym for KDE Non-Linear Video Editor. (description "Kdenlive is an acronym for KDE Non-Linear Video Editor.
Non-linear video editing is much more powerful than beginner's (linear) Non-linear video editing is much more powerful than beginner's (linear)
editors, hence it requires a bit more organization before starting. However, editors, hence it requires a bit more organization before starting. However,
it is not reserved to specialists and can be used for small personal it is not reserved to specialists and can be used for small personal
projects.") projects.")
(license license:gpl2+)))) (license license:gpl2+)))
(define-public kdevelop (define-public kdevelop
(package (package