- @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
- cd $(DIR_APP) && ./configure --prefix=/usr \
- --disable-wxwidgets --disable-skins2 --without-x \
- --enable-httpd --enable-ncurses
- cd $(DIR_APP) && make
+ @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
+ #Apply some patched from videolan 8.6-bugfix branch,
+ #ignore the error because one patch is already applied
+ -cd $(DIR_APP) && bzip2 -d -c $(DIR_DL)/$(DL_FILE1) | patch -p1
+ cd $(DIR_APP) && ./configure --prefix=/usr --enable-shared --with-ffmpeg-tree=/usr/src/ffmpeg \
+ --with-ffmpeg-config=/usr/src/ffmpeg \
+ --disable-wxwidgets --disable-skins2 \
+ --enable-httpd --enable-pth --enable-shout \
+ --enable-smb --enable-cddax --enable-ncurses \
+ --enable-a52 --enable-dts --enable-alsa \
+ --enable-unicode-utf8 --enable-v4l --enable-vcd \
+ --enable-ogg --enable-vorbis --enable-theora \
+ --enable-mad --enable-v4l --enable-dvb \
+ --with-dvb=/usr/src/v4l-dvb \
+ --with-v4l=/usr/src/v4l-dvb \
+ --enable-libdvbpsi --enable-faac --enable-mkv \
+ --enable-x264 --enable-release --enable-sout \
+ --disable-nls --enable-faad \
+ --enable-directfb --with-directfb=/usr/src/directfb
+ cd $(DIR_APP) && make $(MAKETUNING)