Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 77 lines (54 sloc) 1.504 kb
112528c @PromyLOPh Added missing files to repo
authored
1 Install
2 =======
3
4 Dependencies
5 ------------
6
b14463a @PromyLOPh Update install documentation
authored
7 - gmake
8 - pthreads
9 - libao
b3fcb39 @PromyLOPh waitress: Support GnuTLS <= 2.10.0
authored
10 - gnutls
b47ecbe @PromyLOPh Document new dependencies
authored
11 - gcrypt
12 - json-c
d2fe803 @PromyLOPh libfaad must be compiled without DRM
authored
13 - libfaad2 (compiled with --without-drm)
efa919f @PromyLOPh libfaad is *required* now for most users, libmad is optional
authored
14 - libmad (optional, Pandora One users only)
b14463a @PromyLOPh Update install documentation
authored
15 - UTF-8 console/locale
6811fd3 @PromyLOPh Update INSTALL
authored
16
c9e23f4 @PromyLOPh mp3 playback support
authored
17 Building
18 --------
112528c @PromyLOPh Added missing files to repo
authored
19
8ac0b95 @PromyLOPh Switching build system again
authored
20 If you have all of the dependencies listed above just type
112528c @PromyLOPh Added missing files to repo
authored
21
fd2ca63 @PromyLOPh Makefile uses GNU make extension => gmake
authored
22 gmake clean && gmake
8ac0b95 @PromyLOPh Switching build system again
authored
23
24 You can run the client directly from the source directory now
112528c @PromyLOPh Added missing files to repo
authored
25
8ac0b95 @PromyLOPh Switching build system again
authored
26 ./pianobar
27
28 Or install it by issuing
29
fd2ca63 @PromyLOPh Makefile uses GNU make extension => gmake
authored
30 gmake install
8ac0b95 @PromyLOPh Switching build system again
authored
31
b14463a @PromyLOPh Update install documentation
authored
32 Selecting features
33 ++++++++++++++++++
8ac0b95 @PromyLOPh Switching build system again
authored
34
b14463a @PromyLOPh Update install documentation
authored
35 It is possible to disable certain features when building pianobar by setting
36 one of the variables listed below. In fact it is required if you don’t have the
37 corresponding library installed. So if you don’t want AAC playback or don’t
38 have libfaad installed for example, run
8ac0b95 @PromyLOPh Switching build system again
authored
39
b14463a @PromyLOPh Update install documentation
authored
40 gmake DISABLE_FAAD=1
8ac0b95 @PromyLOPh Switching build system again
authored
41
b14463a @PromyLOPh Update install documentation
authored
42 instead of a plain `gmake`.
8ac0b95 @PromyLOPh Switching build system again
authored
43
b14463a @PromyLOPh Update install documentation
authored
44 DISABLE_FAAD=1
45 Disables AAC playback.
46 DISABLE_MAD=1
47 Disables MP3 playback.
8ac0b95 @PromyLOPh Switching build system again
authored
48
b14463a @PromyLOPh Update install documentation
authored
49 Mac OS X
50 ++++++++
51
52 NOTE: The above won't work on Mac OS X (Snow Leopard) since c99 targets i386
53 and cc (gcc4.2) targets x86_64. If you've built supporting libraries
54 (libao, etc.) using gcc, you'll be unable to link. You can work around
55 this issue by overriding CFLAGS[1]
56
57 make clean && make CFLAGS="-O2 -DNDEBUG -W64"
4ac7414 @PromyLOPh Added build note for Mac OS X
authored
58
59 [1] https://github.com/PromyLOPh/pianobar/issues/98
60
93ae3c6 @jc00ke Adding Ubuntu 12.04 instructions
jc00ke authored
61 Ubuntu 12.04
62 ++++++++++++
63
51dcefb @jc00ke Fix last commit
jc00ke authored
64 To install on Ubuntu >= 12.04
93ae3c6 @jc00ke Adding Ubuntu 12.04 instructions
jc00ke authored
65
66 sudo apt-get install \
67 libao-dev \
68 libmad0-dev \
69 libfaad-dev \
70 libgnutls-dev \
bf13c96 @PromyLOPh libgcrypt11-dev is a dependency too
authored
71 libjson0-dev \
72 libgcrypt11-dev
93ae3c6 @jc00ke Adding Ubuntu 12.04 instructions
jc00ke authored
73 make
74 sudo make install
75
51dcefb @jc00ke Fix last commit
jc00ke authored
76 You can then fire it up with `pianobar`
Something went wrong with that request. Please try again.