me
/
guix
Archived
1
0
Fork 0

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.
master
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
1 changed files with 75 additions and 74 deletions

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 @@
#: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,24 +220,47 @@ browser for easy news reading.")
(license license:gpl2+))) (license license:gpl2+)))
(define-public kdenlive (define-public kdenlive
(let ((version "21.08.3"))
(package (package
(name "kdenlive") (name "kdenlive")
(version version) (version "21.12.3")
(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 (string-append name "-" version "-checkout")) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "0lpspak5djkbn2xbmmbxls258310g45n3a08sghkjl08bx6ilvc9")))) (base32 "19fs5zhz1nv5cvf709c5741nri139pl5mzpf2xnd4sqj0rmyv228"))))
(build-system qt-build-system) (build-system qt-build-system)
(arguments
;; XXX: there is a single test that spawns other tests and
;; 1/3 tests failed and 1/327 assertions failed. It seems
;; that individual tests can't be skipped.
`(#:configure-flags (list "-DBUILD_TESTING=off")
#:tests? #f
#:phases
(modify-phases %standard-phases
(add-after 'install 'wrap-executable
(lambda* (#:key inputs outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(qtbase (assoc-ref inputs "qtbase"))
(frei0r (assoc-ref inputs "frei0r-plugins"))
(ffmpeg (assoc-ref inputs "ffmpeg")))
(wrap-program (string-append out "/bin/kdenlive")
`("PATH" ":" prefix
,(list (string-append ffmpeg "/bin")))
`("FREI0R_PATH" ":" =
(,(string-append frei0r "/lib/frei0r-1/")))
`("QT_QPA_PLATFORM_PLUGIN_PATH" ":" =
(,(string-append qtbase "/lib/qt5/plugins/platforms")))
`("MLT_PREFIX" ":" =
(,(assoc-ref inputs "mlt"))))))))))
(native-inputs (native-inputs
(list extra-cmake-modules pkg-config qttools)) (list extra-cmake-modules pkg-config qttools))
(inputs (inputs
(list breeze ; make dark them available easily (list bash-minimal
breeze ; make dark them available easily
breeze-icons ; recommended icon set breeze-icons ; recommended icon set
ffmpeg ffmpeg
frei0r-plugins frei0r-plugins
@ -265,29 +289,6 @@ browser for easy news reading.")
qtscript qtscript
qtsvg qtsvg
shared-mime-info)) shared-mime-info))
(arguments
;; XXX: there is a single test that spawns other tests and
;; 1/3 tests failed and 1/327 assertions failed. It seems
;; that individual tests can't be skipped.
`(#:configure-flags (list "-DBUILD_TESTING=off")
#:tests? #f
#:phases
(modify-phases %standard-phases
(add-after 'install 'wrap-executable
(lambda* (#:key inputs outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(qtbase (assoc-ref inputs "qtbase"))
(frei0r (assoc-ref inputs "frei0r-plugins"))
(ffmpeg (assoc-ref inputs "ffmpeg")))
(wrap-program (string-append out "/bin/kdenlive")
`("PATH" ":" prefix
,(list (string-append ffmpeg "/bin")))
`("FREI0R_PATH" ":" =
(,(string-append frei0r "/lib/frei0r-1/")))
`("QT_QPA_PLATFORM_PLUGIN_PATH" ":" =
(,(string-append qtbase "/lib/qt5/plugins/platforms")))
`("MLT_PREFIX" ":" =
(,(assoc-ref inputs "mlt"))))))))))
(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.
@ -296,7 +297,7 @@ 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