Adjust header levels

Shane Bell 2014-05-08 03:43:25 -07:00
parent 30ee0065b0
commit fc0df8727e
1 changed files with 9 additions and 9 deletions

@ -3,13 +3,13 @@ This is a tutorial on how to build Clementine on the Raspberry Pi. I used revisi
Note: Building Clementine on the Pi takes a lot of time, around 8 hours.
### What you need
## What you need
* A [Raspberry Pi](http://www.raspberrypi.org/) obviously
* At least a 8GB flash card (16GB recommended)
* [Raspbian](http://www.raspbian.org/). Other distros might work as well.
### Dependencies
## Dependencies
The same as on any linux distro:
sudo apt-get install liblastfm-dev libtag1-dev gettext libboost-dev \
@ -20,39 +20,39 @@ The same as on any linux distro:
protobuf-compiler libprotobuf-dev libqca2-dev libqca2-plugin-ossl \
libfftw3-dev libsparsehash-dev libsqlite3-dev
### Get the source
## Get the source
We will compile the stable 1.2.2 release. If you want to compile the master branch, don't execute `git checkout release-1.2`. I haven't tested it, so it might not work!
git clone https://github.com/clementine-player/Clementine.git && cd Clementine
git checkout release-1.2
cd bin
### Preparing the build enviroment
## Preparing the build enviroment
Since the Raspberry Pi has only a limited amount of ram, we need to create a swap file. Without it, compiling fails when building the translations.
sudo dd if=/dev/zero of=swapfile bs=1M count=512
sudo mkswap swapfile
sudo swapon swapfile
### Compile
## Compile
cmake ..
make -j2
Wait. A (very long) time.
### After compiling
## After compiling
A swap file on a flash memory is not healty, so we remove the created swap file after compiling.
sudo swapoff swapfile
sudo rm swapfile
### Install Clementine runtime dependencies
## Install Clementine runtime dependencies
Raspbian doesn't have gstreamer plugins installed by default, so we have to do this now.
sudo apt-get install gstreamer0.10-alsa gstreamer0.10-tools gstreamer0.10-ffmpeg \
gstreamer0.10-plugins-base gstreamer0.10-plugins-good gstreamer0.10-fluendo-mp3
### Setting up Clementine
## Setting up Clementine
Start Clementine with `./clementine`. The first start takes quite long as Clementine has to setup the database. After you see the main window, you should disable moodbar generation and glowing. They take too many resources you need for playback.
For me setting the output plugin to `Audio sink (ALSA)` and output device to `hw:0,0` gave pretty good audio results. I don't recommend using pulseaudio.
@ -61,7 +61,7 @@ Now you can add your music to your library and listen to it!
Note: Clementine is quite slow on the Raspberry Pi, so be patient when using it. Clementine Remote works very well on the Raspberry Pi.
### Credits
## Credits
http://sentryytech.blogspot.de/2012/10/compiling-retroshare-for-raspberry-pi.html for swap file
http://blog.scphillips.com/2013/01/using-a-raspberry-pi-with-android-phones-for-media-streaming/ for gstreamer tips