run-vlc.sh

来自「udp-lite for upd lite linux kernel」· Shell 代码 · 共 40 行

SH
40
字号
#!/bin/sh## run this script to build vlc## configuration: you need to adapt this!depends="/root/vlc/depends/";ffmpeg="${depends}/ffmpeg";libavutil="${ffmpeg}/libavutil";x264="${depends}/x264-snapshot-20051115-2245/"## subroutinesfunction die() { echo "$@" exit 1}## check if directories do existfor dir in depends ffmpeg libavutil x264do eval d=\$${dir} if [ ! -d $d ]; then   echo "Fatal: directory ($dir) configured as $d but is not a directory!"   exit 1 fidoneexport CPPFLAGS="-I${libavutil}";export CXXFLAGS="-L${libavutil} -lavutil";export LDFLAGS="-L${libavutil} -lavutil";./configure --enable-pth --enable-flac  --enable-portaudio \ --enable-faad   --with-faad-tree="${depends}/faad2-20040923/" \ --enable-ffmpeg --with-ffmpeg-mp3lame  --with-ffmpeg-faac  --with-ffmpeg-zlib -with-ffmpeg-dts \ --with-ffmpeg-tree="${ffmpeg}" \ --enable-x264 --with-x264-tree="${x264}" \ --enable-dvb --with-dvb=/usr/src/linux \ --enable-dvb-psi --with-dvb-psi=${depends}/libdvbpsi-20041028/ \ --enable-dvdread --with-dvdread-tree=${depends}/libdvdread-20041028/ \ && make

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?