mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 14:28:15 -05:00
gnu: k3b: Fix build.
* gnu/packages/kde-multimedia.scm (k3b)[phases]: Add phase fix-cmake-taglib in order to use correct Taglib include and library variables. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
95acd67dd3
commit
3b3fea7250
1 changed files with 10 additions and 0 deletions
|
@ -373,6 +373,16 @@ (define-public k3b
|
|||
(("\"(dvdcss)\"" _ library)
|
||||
(string-append "\"" libdvdcss "/lib/" library "\""))))
|
||||
#t))
|
||||
(add-before 'configure 'fix-cmake-taglib
|
||||
(lambda _
|
||||
;; Use the CMake variables provided by FindTaglib from
|
||||
;; extra-cmake-modules, instead of bundled FindTaglib.cmake:
|
||||
(substitute*
|
||||
'("plugins/decoder/mp3/CMakeLists.txt"
|
||||
"plugins/decoder/flac/CMakeLists.txt"
|
||||
"plugins/project/audiometainforenamer/CMakeLists.txt")
|
||||
(("TAGLIB_INCLUDES") "Taglib_INCLUDE_DIRS")
|
||||
(("TAGLIB_LIBRARIES") "Taglib_LIBRARIES"))))
|
||||
(add-after 'qt-wrap 'wrap-path
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
;; Set paths to backend programs.
|
||||
|
|
Loading…
Reference in a new issue