From Amarok Wiki

English | Polski


Development Environment

Amarok 2 requires KDE 4.2, Taglib 1.5, mysqld and the development headers thereof. Make sure you have strigi's streamanalyzers installed (libstreamanalyzer-dev and libstrigiqtdbusclient-dev on ubuntu). Optional packages include the latest version (0.3.6) of libmtp. To install the latest version of KDE 4.2 on Ubuntu jaunty see this post. Look here for help with other distributions. Currently Amarok 2 depends on embedded MySQL. Embedded MySQL is only supported in the 5.1 series. See this thread on the mailing list for help.

See the README for a complete list of dependencies.

Building Amarok

We just moved the sources to http://gitorious.org/amarok (as of Monday, July 20, 2009). To build you will have to install git on your computer, then download the sources with the following command:

git clone git://gitorious.org/amarok/amarok.git

For updates you can then just use the command

git pull --rebase

in the amarok source folder. Then follow the instructions below.

cd amarok
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` -DCMAKE_BUILD_TYPE=debugfull .. && make && make install

Note that your cmake preferences are saved in CMakeCache.txt, so you don't have to have the -D options every time you run cmake.

ccmake .

will give you a nice ncurses interface