Get the source code.
$ git clone git://git.videolan.org/vlc/vlc-3.0.git
Pull docker image for building
$ docker pull registry.videolan.org:5000/vlc-debian-stable
Build VLC using docker image.
Start bash from docker with mounted vlc dir.
$ sudo docker run --rm -it -v <vlc dir>:/vlc registry.videolan.org:5000/vlc-debian-stable /bin/bash
bootstrap vlc
from bash in docker image; run
$ cd /vlc $ ./bootstrap
Third party libraries/vlc plugins.
$ cd contrib $ mkdir native # create a directory for building third party libraries. $ cd native # go to the newly created directory. $ ../bootstrap # bootstrap the build for third party libraries. $ make fetch # download tarballs for third party libraries. $ make # build the libraries.
Configure Vlc.
$ cd /vlc $ ./configure $ make
You will find binary for vlc
in bin
directory. Now you can exit the
bash prompt running from docker container and run
$ cd <vlc-source-dir>
$ bin/vlc