VLC在Ubuntu下的编译总结

获取源代码

$ git clone git://git.videolan.org/vlc.git

 

bootstrap

% cd vlc

% ./bootstrap

 

准备依赖项

# sudo apt-get build-dep vlc

 

安装XCB

VLC 1.1 and later requires XCB libraries to deal with X11 displays. Do not disable XCB or you will not get any video support!

To install these libraries run the following commands (Debian/Ubuntu):

% sudo apt-get install libxcb-shm0-dev libxcb-xv0-dev libxcb-keysyms1-dev libxcb-randr0-dev libxcb-composite0-dev

 

configure && make

% ./configure

(如果要调试的话,用./configure --enable-debug --disable-optimiazations)

% make

 

你可能感兴趣的:(ubuntu,git,video)