File: INSTALL

package info (click to toggle)
kid3 3.9.6-3
  • links: PTS
  • area: main
  • in suites: trixie
  • size: 16,212 kB
  • sloc: cpp: 67,855; sh: 1,966; python: 1,648; ansic: 762; xml: 558; java: 164; makefile: 37
file content (67 lines) | stat: -rw-r--r-- 1,994 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
* TO INSTALL
** Requirements

Qt, optional KDE, id3lib, TagLib, libogg, libvorbis, libvorbisfile, libFLAC++,
libFLAC, Chromaprint, mp4v2.

** Linux

*** Build KDE, Qt and CLI applications

cmake . -DCMAKE_BUILD_TYPE=RelWithDebInfo
make
make install

*** Customize build options

For a customized build, several build options are available. They can be set
with CMake variable definitions (-D OPTION=VAL, in the same way as
CMAKE_BUILD_TYPE in the example above).

CMAKE_BUILD_TYPE: Debug, Release, RelWithDebInfo or MinSizeRel
CMAKE_INSTALL_PREFIX: Installation directory, default is /usr/local
WITH_APPS: Which applications to build, possible values are Qt, CLI, KDE, Qml,
multiple values can be separated by semicolons, default is "Qt;CLI;KDE".
For example, to build only the Qt and CLI applications, set it to "Qt;CLI".

The following options are ON by default and can be set to OFF to disable a
feature:

BUILD_SHARED_LIBS: build with shared libraries
WITH_TAGLIB: build with TagLib
WITH_ID3LIB: build with id3lib
WITH_VORBIS: build with Ogg/Vorbis
WITH_FLAC: build with FLAC
WITH_CHROMAPRINT: build with Chromaprint
WITH_DBUS: build with D-Bus
WITH_READLINE: build with readline

The following options are OFF by default and can be set to ON to enable:

WITH_MP4V2: build with mp4v2
WITH_FFMPEG: force use of FFmpeg for Chromaprint decoding
WITH_CHROMAPRINT_FFMPEG: link FFmpeg only for Chromaprint FFT
WITH_GSTREAMER: force use of GStreamer for Chromaprint decoding
WITH_QAUDIODECODER: force use of QAudioDecoder for Chromaprint decoding
WITH_NO_MANCOMPRESS: disable compressed manpages

The install directory can be assigned to DESTDIR

*** Create Debian Packages

Make sure that you have installed all packages listed in deb/control,
section Build-Depends.

./build.sh deb

*** Create RPM Package

Copy kid3.spec into the SPEC directory
and the tar.gz archive into the SOURCES directory.

rpmbuild -ba kid3.spec


** Windows, macOS and Android

See instructions at the top of build.sh.