guix-commits
[Top][All Lists]
Advanced

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

01/01: gnu: vlc: Fix build against Qt 5.11.


From: Clément Lassieur
Subject: 01/01: gnu: vlc: Fix build against Qt 5.11.
Date: Mon, 28 May 2018 16:42:12 -0400 (EDT)

snape pushed a commit to branch master
in repository guix.

commit c7d901c130cc1d711d152d9f2930488fe6858d07
Author: Clément Lassieur <address@hidden>
Date:   Mon May 28 21:38:05 2018 +0200

    gnu: vlc: Fix build against Qt 5.11.
    
    * gnu/packages/video.scm (vlc)[arguments]: Add missing headers.
---
 gnu/packages/video.scm | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 9ed0f4b..317710c 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -886,6 +886,13 @@ audio/video codec library.")
                ;; XXX Likely not needed for >2.2.6.
                (substitute* "modules/gui/qt4/components/interface_widgets.cpp"
                  (("<qx11info_x11.h>") "<QtX11Extras/qx11info_x11.h>"))
+               ;; Fix build against Qt 5.11.
+               (substitute* "modules/gui/qt4/actions_manager.cpp"
+                 (("#include <vlc_keys.h>") "#include <vlc_keys.h>
+#include <QAction>"))
+               (substitute* "modules/gui/qt4/components/simple_preferences.cpp"
+                 (("#include <QFont>") "#include <QFont>
+#include <QButtonGroup>"))
                #t)))
          (add-after 'install 'regenerate-plugin-cache
            (lambda* (#:key outputs #:allow-other-keys)



reply via email to

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