| 1 |
* TO INSTALL |
| 2 |
** Requirements |
| 3 |
|
| 4 |
Qt, optional KDE, id3lib, TagLib, libogg, libvorbis, libvorbisfile, libFLAC++, |
| 5 |
libFLAC, Chromaprint, mp4v2. |
| 6 |
|
| 7 |
** Linux |
| 8 |
|
| 9 |
*** Build KDE, Qt and CLI applications |
| 10 |
|
| 11 |
cmake . -DCMAKE_BUILD_TYPE=RelWithDebInfo |
| 12 |
make |
| 13 |
make install |
| 14 |
|
| 15 |
*** Customize build options |
| 16 |
|
| 17 |
For a customized build, several build options are available. They can be set |
| 18 |
with CMake variable definitions (-D OPTION=VAL, in the same way as |
| 19 |
CMAKE_BUILD_TYPE in the example above). |
| 20 |
|
| 21 |
CMAKE_BUILD_TYPE: Debug, Release, RelWithDebInfo or MinSizeRel |
| 22 |
CMAKE_INSTALL_PREFIX: Installation directory, default is /usr/local |
| 23 |
WITH_APPS: Which applications to build, possible values are Qt, CLI, KDE, Qml, |
| 24 |
multiple values can be separated by semicolons, default is "Qt;CLI;KDE". |
| 25 |
For example, to build only the Qt and CLI applications, set it to "Qt;CLI". |
| 26 |
|
| 27 |
The following options are ON by default and can be set to OFF to disable a |
| 28 |
feature: |
| 29 |
|
| 30 |
BUILD_SHARED_LIBS: build with shared libraries |
| 31 |
WITH_TAGLIB: build with TagLib |
| 32 |
WITH_ID3LIB: build with id3lib |
| 33 |
WITH_VORBIS: build with Ogg/Vorbis |
| 34 |
WITH_FLAC: build with FLAC |
| 35 |
WITH_CHROMAPRINT: build with Chromaprint |
| 36 |
WITH_DBUS: build with D-Bus |
| 37 |
WITH_READLINE: build with readline |
| 38 |
|
| 39 |
The following options are OFF by default and can be set to ON to enable: |
| 40 |
|
| 41 |
WITH_MP4V2: build with mp4v2 |
| 42 |
WITH_FFMPEG: force use of FFmpeg for Chromaprint decoding |
| 43 |
WITH_CHROMAPRINT_FFMPEG: link FFmpeg only for Chromaprint FFT |
| 44 |
WITH_GSTREAMER: force use of GStreamer for Chromaprint decoding |
| 45 |
WITH_QAUDIODECODER: force use of QAudioDecoder for Chromaprint decoding |
| 46 |
WITH_NO_MANCOMPRESS: disable compressed manpages |
| 47 |
|
| 48 |
The install directory can be assigned to DESTDIR |
| 49 |
|
| 50 |
*** Create Debian Packages |
| 51 |
|
| 52 |
Make sure that you have installed all packages listed in deb/control, |
| 53 |
section Build-Depends. |
| 54 |
|
| 55 |
./build.sh deb |
| 56 |
|
| 57 |
*** Create RPM Package |
| 58 |
|
| 59 |
Copy kid3.spec into the SPEC directory |
| 60 |
and the tar.gz archive into the SOURCES directory. |
| 61 |
|
| 62 |
rpmbuild -ba kid3.spec |
| 63 |
|
| 64 |
|
| 65 |
** Windows, macOS and Android |
| 66 |
|
| 67 |
See instructions at the top of build.sh. |
| 68 |
|
| 69 |
See win32/build-vcpkg-msvc.ps1 to build with vcpkg and MSVC on Windows. |