-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathINSTALL.unix
39 lines (26 loc) · 929 Bytes
/
INSTALL.unix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
1 - Install needed development packages
apt-get build-dep vlc
apt-get install qt4-dev-tools
2 - Get VLC and patch it
git clone git://git.videolan.org/vlc.git
cd vlc
git am ../patches/*
./bootstrap
3 - Build and patch ffmpeg
cd extras/contrib/src
svn co svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg
cd ffmpeg
patch -p0 < ../Patches/ffmpeg-mkv.diff
./configure --disable-mmx --enable-static --disable-shared --enable-pic --enable-gpl --disable-swscale --prefix=$PWD/inst
make && make install
4 - Build VLC
cd ../../../../../
mkdir ./build-vlc ; cd ./build-vlc
PKG_CONFIG_PATH=$PWD/../vlc/extras/contrib/src/ffmpeg/inst/lib/pkgconfig ../vlc/configure --prefix=/usr --disable-postproc --disable-swscale --disable-qt4 --disable-skins2 && make
cd ..
ln -s ./build-vlc/src/.libs lib
5 - Build and package
./build-unix.sh
6 - Install
sudo cp -r pkg/* /usr
# for a different prefix, you must build vlc with --prefix=/your/prefix