mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
vlc: shrink runtime closure size by removing CONFIGURE_LINE
This commit is contained in:
parent
a3e367ff4b
commit
79d46f0a28
@ -72,6 +72,11 @@ stdenv.mkDerivation rec {
|
||||
"--with-kde-solid=$out/share/apps/solid/actions"
|
||||
] ++ 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; {
|
||||
description = "Cross-platform media player and streaming server";
|
||||
homepage = http://www.videolan.org/vlc/;
|
||||
|
Loading…
Reference in New Issue
Block a user