Skip to content
Snippets Groups Projects
Forked from VideoLAN / medialibrary
1777 commits behind the upstream repository.
Hugo Beauzée-Luyssen's avatar
Hugo Beauzée-Luyssen authored
But only if they have never been assigned to a group before.
This fixes the lack of media groups when migrating from VideoGroup to
MediaGroup
079fbeac

Build instructions

The media library depends on libvlc, so we must build and install libvlc first.

Libvlc

To build libvlc in some build directory (let's call it x), and install it in a subdirectory install/:

cd ~/projects/vlc   # the VLC git repository
mkdir -p x/install
cd x
../configure --prefix="$PWD"/install
make
make install

If everything is ok then libvlc is built and installed in ~/projects/vlc/x/install.

Media library

First, we must set PKG_CONFIG_PATH to point to the libvlc pkgconfig:

export PKG_CONFIG_PATH=~/projects/vlc/x/install/lib/pkgconfig

We can now build the media library:

cd ~/projects/medialibrary
mkdir x
cd x
../configure
make

Tests

To build with the tests:

cd ~/projects/medialibrary
mkdir x
cd x
../configure --enable-tests
make check

To run the tests:

./unittest
./samples