gnu: vlc: Fix build against Qt 5.11.

* gnu/packages/video.scm (vlc)[arguments]: Add missing headers.
This commit is contained in:
Clément Lassieur 2018-05-28 21:38:05 +02:00
parent a338b6f51d
commit c7d901c130
No known key found for this signature in database
GPG key ID: 89F96D4808F359C7

View file

@ -886,6 +886,13 @@ (define-public vlc
;; 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)