From Amarok Wiki
Development Environment
Amarok 2 requires KDE 4.1, Taglib 1.5, mysqld and the development headers thereof. Optional packages include the latest version (0.3.3) of libmtp. To install the latest version of KDE 4.1 on Ubuntu hardy 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 optional dependencies.
Building Amarok
- svn co svn://anonsvn.kde.org/home/kde/trunk/extragear/multimedia/amarok amarok
- 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