vlc: fix build without qt5

This commit is contained in:
Jan Malakhovski 2018-11-17 10:16:36 +00:00
parent 980043347d
commit e426758d0e

View File

@ -67,7 +67,7 @@ stdenv.mkDerivation rec {
postFixup = '' postFixup = ''
find $out/lib/vlc/plugins -exec touch -d @1 '{}' ';' find $out/lib/vlc/plugins -exec touch -d @1 '{}' ';'
$out/lib/vlc/vlc-cache-gen $out/vlc/plugins $out/lib/vlc/vlc-cache-gen $out/vlc/plugins
'' + optionalString withQt5 ''
remove-references-to -t "${qtbase.dev}" $out/lib/vlc/plugins/gui/libqt_plugin.so remove-references-to -t "${qtbase.dev}" $out/lib/vlc/plugins/gui/libqt_plugin.so
''; '';