vlc: shrink runtime closure size by removing CONFIGURE_LINE

This commit is contained in:
Andrew Dunham 2018-10-27 15:11:35 -07:00
parent a3e367ff4b
commit 79d46f0a28

View File

@ -72,6 +72,11 @@ stdenv.mkDerivation rec {
"--with-kde-solid=$out/share/apps/solid/actions" "--with-kde-solid=$out/share/apps/solid/actions"
] ++ optional onlyLibVLC "--disable-vlc"; ] ++ optional onlyLibVLC "--disable-vlc";
# Remove runtime dependencies on libraries
postConfigure = ''
sed -i 's|^#define CONFIGURE_LINE.*$|#define CONFIGURE_LINE "<removed>"|g' config.h
'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Cross-platform media player and streaming server"; description = "Cross-platform media player and streaming server";
homepage = http://www.videolan.org/vlc/; homepage = http://www.videolan.org/vlc/;