The libmusicbrainz package contains a library which allows you to access the data held on the MusicBrainz server.
This package is known to build and work properly using an LFS-10.1 platform.
Download (HTTP): https://github.com/metabrainz/libmusicbrainz/releases/download/release-5.1.0/libmusicbrainz-5.1.0.tar.gz
Download MD5 sum: 4cc5556aa40ff7ab8f8cb83965535bc3
Download size: 76 KB
Estimated disk space required: 6.6 MB (additional 4.4 MB for the API documentaion)
Estimated build time: 0.1 SBU
CMake-3.20.1, libxml2-2.9.10 and neon-0.31.2
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/libmusicbrainz5
First, fix a problem caused by CMake-3.18.0:
patch -Np1 -i ../libmusicbrainz-5.1.0-cmake_fixes-1.patch
Install libmusicbrainz by running the following commands:
mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .. && make
If you have installed Doxygen-1.9.1, optionally build the API documentation:
doxygen ../Doxyfile
This package does not come with a test suite.
Now, as the root
user:
make install
If you have built the API documentation, install, as the
root
user:
rm -rf /usr/share/doc/libmusicbrainz-5.1.0 && cp -vr docs/ /usr/share/doc/libmusicbrainz-5.1.0
Last updated on 2021-02-21 17:09:04 -0600