[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/07: gnu: k3b: Add inputs for external programs.
From: |
guix-commits |
Subject: |
04/07: gnu: k3b: Add inputs for external programs. |
Date: |
Sun, 21 Jun 2020 11:40:19 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 7afaab8befef57a8358e4a5881508fb278d18733
Author: Timotej Lazar <timotej.lazar@araneo.si>
AuthorDate: Wed Jun 17 12:50:05 2020 +0200
gnu: k3b: Add inputs for external programs.
* gnu/packages/kde-multimedia.scm (k3b)[inputs]: Add cdrdao, dvd+rw-tools,
libburn and sox.
[arguments]<#:phases>[wrap-path]: New phase to wrap the binary with paths to
the above.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/kde-multimedia.scm | 19 ++++++++++++++++++-
1 file changed, 18 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/kde-multimedia.scm b/gnu/packages/kde-multimedia.scm
index 938251a..654aecd 100644
--- a/gnu/packages/kde-multimedia.scm
+++ b/gnu/packages/kde-multimedia.scm
@@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2017, 2019 Hartmut Goebel <h.goebel@crazy-compilers.com>
+;;; Copyright © 2020 Timotej Lazar <timotej.lazar@araneo.si>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -296,12 +297,26 @@ This package is part of the KDE multimedia module.")
(sha256
(base32 "0r01ninrrmqk7pl5jg0g51fcky1ammw0yyq572wyhibw7q8y7ly7"))))
(build-system qt-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'qt-wrap 'wrap-path
+ (lambda _
+ ;; Set paths to backend programs.
+ (wrap-program (string-append (assoc-ref %outputs "out")
"/bin/k3b")
+ `("PATH" ":" prefix
+ ,(map (lambda (input)
+ (string-append (assoc-ref %build-inputs input)
"/bin"))
+ '("cdrdao" "dvd+rw-tools" "libburn" "sox"))))
+ #t)))))
(native-inputs
`(("extra-cmake-modules" ,extra-cmake-modules)
("pkg-config" ,pkg-config)
("kdoctools" ,kdoctools)))
(inputs
- `(("ffmpeg" ,ffmpeg)
+ `(("cdrdao" ,cdrdao)
+ ("dvd+rw-tools" ,dvd+rw-tools)
+ ("ffmpeg" ,ffmpeg)
("flac" ,flac)
("karchive" ,karchive)
("kcmutils" ,kcmutils)
@@ -319,6 +334,7 @@ This package is part of the KDE multimedia module.")
("kwidgetsaddons" ,kwidgetsaddons)
("kxmlgui" ,kxmlgui)
("lame" ,lame)
+ ("libburn" ,libburn)
("libdvdread" ,libdvdread)
;; TODO: LibFuzzer
("libiconv" ,libiconv)
@@ -334,6 +350,7 @@ This package is part of the KDE multimedia module.")
("qtwebkit" ,qtwebkit)
("shared-mime-info" ,shared-mime-info)
("solid" ,solid)
+ ("sox" ,sox)
("taglib" ,taglib)))
(home-page "https://kde.org/applications/multimedia/org.kde.k3b")
(synopsis "Sophisticated CD/DVD burning application")
- branch master updated (bdafdfc -> dbadca9), guix-commits, 2020/06/21
- 03/07: gnu: Add cdrdao., guix-commits, 2020/06/21
- 05/07: gnu: k3b: Add inputs for libraries loaded at runtime., guix-commits, 2020/06/21
- 06/07: gnu: k3b: Note the runtime dependency on udisks-service., guix-commits, 2020/06/21
- 04/07: gnu: k3b: Add inputs for external programs.,
guix-commits <=
- 01/07: git-authenticate: Ignore authenticated commit cache when it's not #o600., guix-commits, 2020/06/21
- 02/07: channels: 'authenticate-channel' doesn't check relation with intro commit., guix-commits, 2020/06/21
- 07/07: gnu: k3b: Update to 20.04.2., guix-commits, 2020/06/21