mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-13 20:39:57 +01:00
* Updated README.
This commit is contained in:
parent
108f8cf93b
commit
f3b7375779
88
README
88
README
@ -1,78 +1,80 @@
|
||||
Quickstart on Ubuntu
|
||||
--------------------
|
||||
|
||||
sudo apt-get install build-essential cmake libtag1c2a libtag1-dev liblastfm-dev \
|
||||
libqt4-dev libqt4-sql-sqlite libvorbis-dev libmad0-dev libflac++-dev \
|
||||
libasound2-dev libboost-dev zlib1g-dev libgnutls-dev pkg-config
|
||||
$ sudo apt-get install build-essential cmake libtag1c2a libtag1-dev liblastfm-dev \
|
||||
libqt4-dev libqt4-sql-sqlite libvorbis-dev libmad0-dev libflac++-dev \
|
||||
libasound2-dev libboost-dev zlib1g-dev libgnutls-dev pkg-config
|
||||
|
||||
|
||||
Gloox 1.0 (XMPP library)
|
||||
------------------------
|
||||
On Ubuntu 10.10:
|
||||
$ sudo apt-get install libgloox-dev
|
||||
$ sudo apt-get install libgloox-dev
|
||||
|
||||
Otherwise see: http://camaya.net/glooxdownload
|
||||
You need to build gloox 1.0 from source, Ubuntu 10.04 only packages v0.9.
|
||||
|
||||
$ # Download and unpack tarball
|
||||
$ ./configure --without-openssl --with-gnutls --without-libidn --with-zlib --without-examples --without-tests
|
||||
$ CXXFLAGS=-fPIC make
|
||||
$ sudo make install
|
||||
$ # Download and unpack tarball
|
||||
$ ./configure --without-openssl --with-gnutls --without-libidn --with-zlib --without-examples --without-tests
|
||||
$ CXXFLAGS=-fPIC make
|
||||
$ sudo make install
|
||||
|
||||
QJson (Qt JSON library)
|
||||
-----------------------
|
||||
On Ubuntu 10.04:
|
||||
$ sudo apt-get install libqjson-dev
|
||||
$ sudo apt-get install libqjson-dev
|
||||
|
||||
Otherwise see: http://sourceforge.net/projects/qjson/files/ (developed using 0.7.1)
|
||||
|
||||
$ # Download and unpack tarball
|
||||
$ ./configure && make
|
||||
$ sudo make install
|
||||
$ # Download and unpack tarball
|
||||
$ ./configure && make
|
||||
$ sudo make install
|
||||
|
||||
libEchonest 0.1
|
||||
---------------
|
||||
See: http://projects.kde.org/projects/playground/libs/libechonest/
|
||||
|
||||
$ git clone git://git.kde.org/libechonest.git
|
||||
$ cd libechonest
|
||||
$ mkdir build && cd build
|
||||
$ cmake ..
|
||||
$ make
|
||||
$ sudo make install
|
||||
$ git clone git://git.kde.org/libechonest.git
|
||||
$ cd libechonest
|
||||
$ mkdir build && cd build
|
||||
$ cmake ..
|
||||
$ make
|
||||
$ sudo make install
|
||||
|
||||
Now compile Tomahawk
|
||||
--------------------
|
||||
$ sudo ldconfig -v | grep -Ei 'qjson|gloox|echonest'
|
||||
$ mkdir build && cd build
|
||||
$ cmake ..
|
||||
$ make
|
||||
$ ./tomahawk
|
||||
$ sudo ldconfig -v | grep -Ei 'qjson|gloox|echonest'
|
||||
$ mkdir build && cd build
|
||||
$ cmake ..
|
||||
$ make
|
||||
$ ./tomahawk
|
||||
|
||||
|
||||
Quickstart on OS X
|
||||
------------------
|
||||
|
||||
# Install homebrew
|
||||
$ ruby -e "$(curl -fsSL https://gist.github.com/raw/323731/install_homebrew.rb)"
|
||||
$ brew install qt qjson gloox libmad libvorbis flac taglib boost liblastfm
|
||||
$ ruby -e "$(curl -fsSL https://gist.github.com/raw/323731/install_homebrew.rb)"
|
||||
$ brew install qt qjson gloox libmad libvorbis flac taglib boost liblastfm
|
||||
|
||||
# Install libEchnoest as per the above instructions
|
||||
|
||||
# If liblastfm gives problems, do the below:
|
||||
$ brew edit liblastfm
|
||||
$ brew edit liblastfm
|
||||
# change url to https://github.com/davidsansome/liblastfm/tarball/0.3.1
|
||||
$ brew install liblastfm
|
||||
$ brew install liblastfm
|
||||
# copy the md5 hash it gives
|
||||
$ brew edit liblastfm
|
||||
$ brew edit liblastfm
|
||||
# replace the md5 hash with the new one you copied
|
||||
$ brew install liblastfm
|
||||
$ brew install liblastfm
|
||||
|
||||
# Build Tomahawk
|
||||
$ git clone git://github.com/tomahawk-player/tomahawk.git
|
||||
$ cd tomahawk
|
||||
$ mkdir build && cd build
|
||||
$ cmake ..
|
||||
$ make
|
||||
$ open tomahawk.app
|
||||
$ git clone git://github.com/tomahawk-player/tomahawk.git
|
||||
$ cd tomahawk
|
||||
$ mkdir build && cd build
|
||||
$ cmake ..
|
||||
$ make
|
||||
$ open tomahawk.app
|
||||
|
||||
|
||||
Dependencies
|
||||
@ -100,21 +102,21 @@ Dependencies
|
||||
|
||||
To build the app:
|
||||
-----------------
|
||||
$ mkdir build
|
||||
$ cd build
|
||||
$ mkdir build
|
||||
$ cd build
|
||||
|
||||
(Pick one of the following two choices. If unsure pick the second one, you probably want a GUI)
|
||||
$ cmake -Dgui=no .. # enables headless mode, build without GUI
|
||||
$ cmake .. # normal build including GUI
|
||||
$ cmake -Dgui=no .. # enables headless mode, build without GUI
|
||||
$ cmake .. # normal build including GUI
|
||||
|
||||
$ make
|
||||
$ make
|
||||
|
||||
To run the app:
|
||||
---------------
|
||||
(Only run the next two commands if you installed any of the dependencies from source on Linux)
|
||||
$ export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
|
||||
$ sudo ldconfig -v
|
||||
$ export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
|
||||
$ sudo ldconfig -v
|
||||
|
||||
$ ./tomahawk
|
||||
$ ./tomahawk
|
||||
|
||||
Enjoy!
|
||||
|
Loading…
x
Reference in New Issue
Block a user