... | ... | @@ -107,22 +107,22 @@ Notes: |
|
|
|
|
|
## Build instruction (summary)
|
|
|
|
|
|
Note that this port only targets VLC 4.0 (and later).
|
|
|
**DO NOT** use 3.0.x releases; they are **not** supported.
|
|
|
|
|
|
### Natively
|
|
|
|
|
|
For more general info on building VLC on Linux, see
|
|
|
https://wiki.videolan.org/UnixCompile/
|
|
|
|
|
|
As noted in the VideoLAN wiki, compiling natively is much easier, as you can readily install dependencies via the packaging system of the Linux distribution.
|
|
|
Note however that this is much slower than on a typical desktop system.
|
|
|
To mitigate this:
|
|
|
* Disable the Qt and skinned GUIs (unless you really need them).
|
|
|
* Install all dependencies from the distribution packaging system and do **not** use the VLC contribs.
|
|
|
Both native compilation and cross-compilation are supported:
|
|
|
* Native compilation is easier.
|
|
|
* Cross-compilation is faster.
|
|
|
|
|
|
### Natively
|
|
|
|
|
|
To build within a reasonable time scale, be sure to:
|
|
|
* Install all dependencies from the distribution packaging system,
|
|
|
* Do **not** use the VLC contribs,
|
|
|
* Disable the Qt GUI and skin engine.
|
|
|
|
|
|
For a minimalist build on the Linux RISC-V port,
|
|
|
install the following packages and their dependencies (names from Debian, will vary with on other distros):
|
|
|
install the following packages and their dependencies. The names are taken from Debian, and will vary with on other distributions:
|
|
|
```
|
|
|
g++ make automake libtool autopoint pkg-config flex bison lua5.2
|
|
|
libasound2-dev libdrm-dev
|
... | ... | @@ -134,8 +134,8 @@ gdb |
|
|
```
|
|
|
Then clone VLC:
|
|
|
```
|
|
|
git clone https://code.videolan.org/videolan/vlc.git
|
|
|
cd vlc
|
|
|
% git clone https://code.videolan.org/videolan/vlc.git
|
|
|
% cd vlc
|
|
|
```
|
|
|
And build it:
|
|
|
```
|
... | ... | @@ -153,9 +153,9 @@ And build it: |
|
|
### Cross-compilation
|
|
|
|
|
|
Cross-compilation to 64-bit RISC-V is fully supported with the GCC toolchain.
|
|
|
See also https://www.remlab.net/op/vlc-riscv-1.shtml
|
|
|
See also: https://www.remlab.net/op/vlc-riscv-1.shtml
|
|
|
|
|
|
Note however that some essential modules cannot easily be built in such setup,
|
|
|
Note that some essential modules cannot easily be built in such setup,
|
|
|
notably the KMS modules which are dependent on `libdrm`.
|
|
|
Also Simple ALSA (SALSA) will be used instead of the fully fledged ALSA.
|
|
|
|
... | ... | |