mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-24 11:54:01 +00:00
README.md: update instructions for libEBML, libMatroska, unit tests
Fixes #2308.
This commit is contained in:
parent
aa99dd50f5
commit
2f9f1445c1
23
README.md
23
README.md
@ -134,19 +134,16 @@ built. These include:
|
|||||||
This is optional as MKVToolNix comes with its own set of the
|
This is optional as MKVToolNix comes with its own set of the
|
||||||
libraries. It will use them if no version is found on the system.
|
libraries. It will use them if no version is found on the system.
|
||||||
|
|
||||||
Start with the two libraries. Either download releases of
|
Start by either downloading releases of [libEBML
|
||||||
[libEBML v1.3.5](http://dl.matroska.org/downloads/libebml/) and
|
v1.3.5](http://dl.matroska.org/downloads/libebml/) and [libMatroska
|
||||||
[libMatroska v1.4.8](http://dl.matroska.org/downloads/libmatroska/) or
|
v1.4.8](http://dl.matroska.org/downloads/libmatroska/) or by getting
|
||||||
get a fresh copy from the git repository:
|
fresh copies from their git repositories:
|
||||||
|
|
||||||
git clone https://github.com/Matroska-Org/libebml.git
|
git clone https://github.com/Matroska-Org/libebml.git
|
||||||
git clone https://github.com/Matroska-Org/libmatroska.git
|
git clone https://github.com/Matroska-Org/libmatroska.git
|
||||||
|
|
||||||
First change to libEBML's directory and run `./configure` followed by
|
First build and install libEBML according to the included
|
||||||
`make`. Now install libEBML by running `make install` as root
|
instructions. Afterwards do the same for libMatroska.
|
||||||
(e.g. via `sudo`). Change to libMatroska's directory and go through
|
|
||||||
the same steps: first `./configure` followed by `make` as a normal
|
|
||||||
user and lastly `make install` as root.
|
|
||||||
|
|
||||||
## 2.4. Building MKVToolNix
|
## 2.4. Building MKVToolNix
|
||||||
|
|
||||||
@ -217,14 +214,16 @@ do this, you have to follow these steps:
|
|||||||
file to download was "googletest-release-1.8.0.tar.gz")
|
file to download was "googletest-release-1.8.0.tar.gz")
|
||||||
|
|
||||||
2. Extract the archive somewhere and create a symbolic link to its
|
2. Extract the archive somewhere and create a symbolic link to its
|
||||||
`googletest-release-1.8.0/googletest/include/gtest` sub-directory
|
`googletest-release-1.8.0/googletest` sub-directory
|
||||||
inside MKVToolNix' "lib" directory.
|
inside MKVToolNix' `lib` directory and call it `gtest`, e.g. like this:
|
||||||
|
|
||||||
|
`ln -s /path/to/googletest-release-1.8.0/googletest lib/gtest`
|
||||||
|
|
||||||
3. Configure MKVToolNix normally.
|
3. Configure MKVToolNix normally.
|
||||||
|
|
||||||
4. Build the unit test executable and run it with
|
4. Build the unit test executable and run it with
|
||||||
|
|
||||||
rake tests:unit
|
rake tests:run_unit
|
||||||
|
|
||||||
|
|
||||||
# 3. Reporting bugs
|
# 3. Reporting bugs
|
||||||
|
Loading…
Reference in New Issue
Block a user