@@ -27,6 +27,11 @@ stdenv.mkDerivation rec {
2727 sha256 = "1dazxbmzx2g5570pkg519a7fsj07rdr155kjsw7b9y8npql33lls";
2828 };
2929
30+ # Comment-out the Qt 5.5 version check, as we do apply the relevant patch.
31+ # https://trac.videolan.org/vlc/ticket/16497
32+ postPatch = if (!withQt5) then null else
33+ "sed '/I78ef29975181ee22429c9bd4b11d96d9e68b7a9c/s/^/: #/' -i configure";
34+
3035 buildInputs =
3136 [ xz bzip2 perl zlib a52dec libmad faad2 ffmpeg alsaLib libdvdnav libdvdnav.libdvdread
3237 libbluray dbus fribidi libvorbis libtheora speex lua5 libgcrypt