# Description: Lecteur multimédia VLC # URL: http://www.videolan.org/ # Maintainer: NuTyX core team # Packager: thierryn1 at hispeed dot ch # Depends on: libshout, lua, ffmpeg, flac, freetype, fribidi, lame, libcdio, libdvbpsi, libdvdcss, libdvdread, libdvdnav, libebml, libiconv, libid3tag, libmad, libmatroska, libogg, libpng, speex, libtheora, libvorbis, libxml2, libmpeg2, openslp, portaudio, vcdimager, x264, aalib, libcaca, libmpeg2, libopendaap, libmp4v2, live, libdca, qt, libnotify, libmpcdec, librsvg, libraw1394, libavc1394, samba3, taglib, gnutls, pulseaudio, xulrunner # Run on: libshout,lua,ffmpeg,flac,freetype,fribidi,lame,libcdio,libdvbpsi,libdvdcss,libdvdread,libdvdnav,libebml,libiconv,libid3tag,libmad,libmatroska,libogg,libpng,speex,libtheora,libvorbis,libxml2,libmpeg2,openslp,portaudio,lame,vcdimager,x264,aalib,libcaca,libmpeg2,libopendaap,libmp4v2,live,libdca,sdl_image,qt,libnotify,libmpcdec,librsvg,libraw1394,libavc1394,samba3,taglib,gnutls,pulseaudio name=vlc version=1.1.12 release=1 source=(http://download.videolan.org/pub/videolan/vlc/$version/vlc-$version.tar.bz2 ) build() { cd vlc-$version sed -i -e 's:/usr/share/fonts/truetype/freefont/FreeSerifBold.ttf:/usr/share/fonts/TTF/DejaVuSerif-Bold.ttf:' modules/misc/freetype.c [ "${CARCH}" = "i686" ] && EXTRAFEATURES="--enable-loader" [ "${CARCH}" = "x86_64" ] && EXTRAFEATURES="--enable-fast-install" ./configure --prefix=/usr \ --enable-libass \ --enable-dvdread \ --enable-dvdnav \ --disable-rpath \ --disable-zvbi \ --enable-qt4 \ --enable-faad \ --enable-alsa \ --enable-skins2 \ --enable-dvb \ --enable-v4l \ --enable-theora \ --enable-flac \ --enable-snapshot \ --enable-dbus \ --enable-ogg \ --enable-dbus-control \ --enable-shared \ --enable-nls \ --enable-lirc \ --enable-shout \ --enable-pvr \ --enable-mozilla \ --enable-vlc \ --program-suffix= \ --enable-x264 \ --enable-gnutls \ --enable-live555 \ --enable-pulse \ --with-live555-tree=/usr/lib/live \ --enable-realrtsp \ ${EXTRAFEATURES} export CFLAGS="-fPIC" make make DESTDIR=$PKG/ install for res in 16 32 48 128; do install -D -m644 $SRC/vlc-$version/share/icons/${res}x${res}/vlc.png \ $PKG/usr/share/icons/hicolor/${res}x${res}/apps/vlc.png done }