[vlc-commits] extras/macosx: remove various plugins from installation dir which we don' t need

Felix Paul Kühne git at videolan.org
Wed Dec 19 17:04:33 CET 2012


npapi-vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Wed Dec 19 17:04:30 2012 +0100| [30e5dc79d453659a95e8a9d593429c66cd3e2997] | committer: Felix Paul Kühne

extras/macosx: remove various plugins from installation dir which we don't need

> http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=30e5dc79d453659a95e8a9d593429c66cd3e2997
---

 extras/macosx/build-vlc.sh |   78 +++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 77 insertions(+), 1 deletion(-)

diff --git a/extras/macosx/build-vlc.sh b/extras/macosx/build-vlc.sh
index bbce4a0..e867124 100755
--- a/extras/macosx/build-vlc.sh
+++ b/extras/macosx/build-vlc.sh
@@ -166,7 +166,83 @@ info "Installing VLC"
 make install > ${out}
 cd ..
 
-find ${PREFIX}/lib/vlc/plugins -name *.a -type f -exec cp '{}' ${PREFIX}/lib/vlc/plugins \;
+find ${PREFIX}/lib/vlc/plugins -name *.dylib -type f -exec cp '{}' ${PREFIX}/lib/vlc/plugins \;
+
+info "Removing unneeded modules"
+blacklist="
+stats
+access_bd
+shm
+access_imem
+oldrc
+real
+hotkeys
+gestures
+sap
+dynamicoverlay
+rss
+ball
+marq
+magnify
+audiobargraph_
+clone
+mosaic
+osdmenu
+puzzle
+mediadirs
+t140
+ripple
+motion
+sharpen
+grain
+posterize
+mirror
+wall
+scene
+blendbench
+psychedelic
+alphamask
+netsync
+audioscrobbler
+motiondetect
+motionblur
+export
+smf
+podcast
+bluescreen
+erase
+stream_filter_record
+speex_resampler
+remoteosd
+magnify
+gradient
+tospdif
+dtstofloat32
+logger
+visual
+fb
+aout_file
+yuv
+dummy
+invert
+sepia
+wave
+hqdn3d
+headphone_channel_mixer
+gaussianblur
+gradfun
+extract
+colorthres
+antiflicker
+anaglyph
+adjust
+remap
+"
+
+for i in ${blacklist}
+do
+    find ${PREFIX}/lib/vlc/plugins -name *$i* -type f -exec rm '{}' \;
+done
 
 spopd
 



More information about the vlc-commits mailing list