# vlc, http://www.videolan.org name=vlc version=0.8.6h release=1 source=(http://downloads.videolan.org/pub/videolan/vlc/$version/$name-$version.tar.gz) build() { cd $name-$version #MOZILLA_CONFIG=/usr/bin/firefox-config \ ./configure \ --prefix=/usr \ --disable-nls \ --enable-utf8 \ --enable-wxwindows \ --enable-livedotcom \ --enable-dvdread \ --enable-dvdnav \ --enable-dvb \ --enable-faad \ --enable-toolame \ --enable-flac \ --enable-tremor \ --enable-theora \ --enable-aa \ --enable-caca \ --enable-portaudio \ --enable-arts \ --enable-ncurses \ --enable-xosd \ --enable-goom \ --enable-slp \ --enable-lirc \ --enable-ffmpeg \ --disable-svgalib \ --disable-satellite \ --disable-skins2 sed -i -e "s|^cflags_tuning.*|cflags_tuning=\"$CFLAGS\"|" \ -e "s|^cflags_optim.*|cflags_optim=\"$CFLAGS\"|" \ -e "s|^cflags_optim_nodebug.*|cflags_optim_nodebug=\"$CFLAGS\"|" \ vlc-config sed -i "s|/mozilla|/firefox|g" {,mozilla/}Makefile sed -i "s|%{idldir}|/usr/share/idl/firefox|" mozilla/Makefile make make DESTDIR=$PKG install # rm -rf $PKG/usr/lib/vlc/video_output/{libopengl_plugin.so,libglx_plugin.so} # rm -rf $PKG/usr/lib/vlc/audio_filter/libugly_resampler_plugin.so rm -rf $PKG/usr/share/doc chown root.root $PKG -R }