guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

06/09: gnu: k3b: Fix build.


From: guix-commits
Subject: 06/09: gnu: k3b: Fix build.
Date: Tue, 19 Jul 2022 12:58:08 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 3b3fea725017b9f4c6da38d8849a1e16ad8cc353
Author: Thomas Danckaert <thomas.danckaert@gmail.com>
AuthorDate: Thu Jul 14 14:21:17 2022 +0200

    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>
---
 gnu/packages/kde-multimedia.scm | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/gnu/packages/kde-multimedia.scm b/gnu/packages/kde-multimedia.scm
index 752f6b499c..bdbf325f15 100644
--- a/gnu/packages/kde-multimedia.scm
+++ b/gnu/packages/kde-multimedia.scm
@@ -373,6 +373,16 @@ variety of formats.")
                  (("\"(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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]