Building Binary on Ubuntu Precise (12.04)

From TomahaWiki

Jump to: navigation, search

Contents

Installing Dependencies

sudo apt-get install build-essential cmake libtag1c2a libtag1-dev libqt4-dev libqt4-sql-sqlite \
                     libphonon-dev libboost-dev libboost-thread-dev zlib1g-dev libgnutls-dev libz-dev \
                     libqjson-dev libattica-dev libqca2-dev libx11-dev pkg-config libqca2-plugin-ossl

Building libechonest, QTweetLib, liblastfm, jreen, CLucene, QuaZip

libechonest

See: http://projects.kde.org/projects/playground/libs/libechonest/

git clone git://anongit.kde.org/libechonest.git
mkdir libechonest/build && cd libechonest/build
cmake ..
make
sudo make install

QTweetLib 0.5

See: https://github.com/minimoog/QTweetLib

git clone git://github.com/minimoog/QTweetLib.git
mkdir QTweetLib/build && cd QTweetLib/build
git checkout 0.5
cmake ..
make
sudo make install

liblastfm 1.0

See: https://github.com/lastfm/liblastfm

git clone git://github.com/lastfm/liblastfm.git
mkdir liblastfm/build && cd liblastfm/build
cmake -DBUILD_WITH_QT4=ON ..
make
sudo make install

jreen 1.x

See: https://github.com/euroelessar/jreen

git clone git://github.com/euroelessar/jreen.git
mkdir jreen/build && cd jreen/build
cmake ..
make
sudo make install

CLucene 0.9.23

See: http://clucene.sourceforge.net/download.shtml

git clone git://clucene.git.sourceforge.net/gitroot/clucene/clucene
mkdir clucene/build && cd clucene/build
cmake ..
make
sudo make install

QuaZip 0.4.x

See: http://quazip.sourceforge.net

svn co https://quazip.svn.sourceforge.net/svnroot/quazip/trunk/quazip
mkdir quazip/build && cd quazip/build
cmake ..
make
sudo make install

Compiling Tomahawk

git clone git://github.com/tomahawk-player/tomahawk.git
mkdir tomahawk/build && cd tomahawk/build
cmake ..
make
./tomahawk
Personal tools