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)
|
(("\"(dvdcss)\"" _ library)
|
||||||
(string-append "\"" libdvdcss "/lib/" library "\""))))
|
(string-append "\"" libdvdcss "/lib/" library "\""))))
|
||||||
#t))
|
#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
|
(add-after 'qt-wrap 'wrap-path
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
;; Set paths to backend programs.
|
;; Set paths to backend programs.
|
||||||
|
|
Loading…
Reference in a new issue