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
1 changed files with 7 additions and 0 deletions

View File

@ -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)