summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@araneo.si>2020-06-17 12:50:05 +0200
committerLudovic Courtès <ludo@gnu.org>2020-06-21 17:36:40 +0200
commit7afaab8befef57a8358e4a5881508fb278d18733 (patch)
tree9604856404b1ba62629a8ceb4f05484fe38ac1e8
parentgnu: Add cdrdao. (diff)
downloadguix-7afaab8befef57a8358e4a5881508fb278d18733.tar.gz
guix-7afaab8befef57a8358e4a5881508fb278d18733.tar.bz2
guix-7afaab8befef57a8358e4a5881508fb278d18733.tar.xz
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>
-rw-r--r--gnu/packages/kde-multimedia.scm19
1 files changed, 18 insertions, 1 deletions
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 @@
1;;; GNU Guix --- Functional package management for GNU 1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2017, 2019 Hartmut Goebel <h.goebel@crazy-compilers.com> 2;;; Copyright © 2017, 2019 Hartmut Goebel <h.goebel@crazy-compilers.com>
3;;; Copyright © 2020 Timotej Lazar <timotej.lazar@araneo.si>
3;;; 4;;;
4;;; This file is part of GNU Guix. 5;;; This file is part of GNU Guix.
5;;; 6;;;
@@ -296,12 +297,26 @@ This package is part of the KDE multimedia module.")
296 (sha256 297 (sha256
297 (base32 "0r01ninrrmqk7pl5jg0g51fcky1ammw0yyq572wyhibw7q8y7ly7")))) 298 (base32 "0r01ninrrmqk7pl5jg0g51fcky1ammw0yyq572wyhibw7q8y7ly7"))))
298 (build-system qt-build-system) 299 (build-system qt-build-system)
300 (arguments
301 `(#:phases
302 (modify-phases %standard-phases
303 (add-after 'qt-wrap 'wrap-path
304 (lambda _
305 ;; Set paths to backend programs.
306 (wrap-program (string-append (assoc-ref %outputs "out") "/bin/k3b")
307 `("PATH" ":" prefix
308 ,(map (lambda (input)
309 (string-append (assoc-ref %build-inputs input) "/bin"))
310 '("cdrdao" "dvd+rw-tools" "libburn" "sox"))))
311 #t)))))
299 (native-inputs 312 (native-inputs
300 `(("extra-cmake-modules" ,extra-cmake-modules) 313 `(("extra-cmake-modules" ,extra-cmake-modules)
301 ("pkg-config" ,pkg-config) 314 ("pkg-config" ,pkg-config)
302 ("kdoctools" ,kdoctools))) 315 ("kdoctools" ,kdoctools)))
303 (inputs 316 (inputs
304 `(("ffmpeg" ,ffmpeg) 317 `(("cdrdao" ,cdrdao)
318 ("dvd+rw-tools" ,dvd+rw-tools)
319 ("ffmpeg" ,ffmpeg)
305 ("flac" ,flac) 320 ("flac" ,flac)
306 ("karchive" ,karchive) 321 ("karchive" ,karchive)
307 ("kcmutils" ,kcmutils) 322 ("kcmutils" ,kcmutils)
@@ -319,6 +334,7 @@ This package is part of the KDE multimedia module.")
319 ("kwidgetsaddons" ,kwidgetsaddons) 334 ("kwidgetsaddons" ,kwidgetsaddons)
320 ("kxmlgui" ,kxmlgui) 335 ("kxmlgui" ,kxmlgui)
321 ("lame" ,lame) 336 ("lame" ,lame)
337 ("libburn" ,libburn)
322 ("libdvdread" ,libdvdread) 338 ("libdvdread" ,libdvdread)
323 ;; TODO: LibFuzzer 339 ;; TODO: LibFuzzer
324 ("libiconv" ,libiconv) 340 ("libiconv" ,libiconv)
@@ -334,6 +350,7 @@ This package is part of the KDE multimedia module.")
334 ("qtwebkit" ,qtwebkit) 350 ("qtwebkit" ,qtwebkit)
335 ("shared-mime-info" ,shared-mime-info) 351 ("shared-mime-info" ,shared-mime-info)
336 ("solid" ,solid) 352 ("solid" ,solid)
353 ("sox" ,sox)
337 ("taglib" ,taglib))) 354 ("taglib" ,taglib)))
338 (home-page "https://kde.org/applications/multimedia/org.kde.k3b") 355 (home-page "https://kde.org/applications/multimedia/org.kde.k3b")
339 (synopsis "Sophisticated CD/DVD burning application") 356 (synopsis "Sophisticated CD/DVD burning application")