diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2016-02-09 20:50:52 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2016-02-09 20:51:30 +0100 |
commit | fe5dc79e3f08966ed5dedeffbce7446995351b8f (patch) | |
tree | 85a5ab3ca4cc318576e8172e825f63d9d28a4efe /media-video/vlc/files | |
parent | dev-vcs/git: Move patches into PATCHES array and get rid of epatch command. (diff) | |
download | gentoo-fe5dc79e3f08966ed5dedeffbce7446995351b8f.tar.gz gentoo-fe5dc79e3f08966ed5dedeffbce7446995351b8f.tar.bz2 gentoo-fe5dc79e3f08966ed5dedeffbce7446995351b8f.zip |
media-video/vlc: Fixed compilation with qt5 (bug #574256).
Patch provided by Nick Andrade in bug #574064
Package-Manager: portage-2.2.27
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'media-video/vlc/files')
-rw-r--r-- | media-video/vlc/files/vlc-2.2.2-qt5widgets.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/media-video/vlc/files/vlc-2.2.2-qt5widgets.patch b/media-video/vlc/files/vlc-2.2.2-qt5widgets.patch new file mode 100644 index 000000000000..a024d0032b6d --- /dev/null +++ b/media-video/vlc/files/vlc-2.2.2-qt5widgets.patch @@ -0,0 +1,13 @@ +--- vlc-2.2.2/configure.ac ++++ vlc-2.2.2/configure.ac +@@ -3754,10 +3754,6 @@ + AC_MSG_WARN([Not building Qt Interface with X11 helpers.]) + ]) + +- PKG_CHECK_EXISTS([Qt5Core >= 5.5.0 Qt5Core < 5.6.0], [ +- AC_MSG_ERROR(["You cannot build VLC with Qt-5.5.0. You need to backport I78ef29975181ee22429c9bd4b11d96d9e68b7a9c"]) +- ]) +- + QT_PATH="$(eval $PKG_CONFIG --variable=exec_prefix Qt5Core)" + QT_HOST_PATH="$(eval $PKG_CONFIG --variable=host_bins Qt5Core)" + AC_PATH_PROGS(MOC, [moc-qt5 moc], moc, ["${QT_HOST_PATH}" "${QT_PATH}/bin" "${CONTRIB_DIR}/bin"]) |