# Minitube
Minitube is a YouTube desktop application. It is written in C++ using the Qt framework. Contributing is welcome, especially in the Linux desktop integration area.
-## Traslating Minitube to your language
-Minitube translations are done at https://www.transifex.com/projects/p/minitube/
+## Translating Minitube to your language
+Translations are done at https://www.transifex.com/projects/p/minitube/
Just register and apply for a language team. Please don't request translation merges on GitHub.
-## Building
-To compile Minitube you need at least Qt 4.8. The following Qt modules are needed:
-core, gui, network, sql (using the Sqlite plugin), script, dbus, phonon
-
-On a Debian or Ubuntu system, type:
-
- $ sudo apt-get install build-essential qt4-dev-tools libphonon-dev
-
-### Google API Key
+## Google API Key
Google is now requiring an API key in order to access YouTube Data web services.
Create a "Browser Key" at https://console.developers.google.com
The key must be specified at compile time as shown below.
Alternatively Minitube can read an API key from the GOOGLE_API_KEY environment variable.
-### Compiling
-Run:
+## Build instructions
+To compile Minitube you need at least Qt 4.8. The following Qt modules are needed:
+core, gui, network, sql (using the Sqlite plugin), script, dbus, phonon
- $ qmake "DEFINES += APP_GOOGLE_API_KEY=YouAPIKeyHere"
+To be able to build on a Debian (or derivative) system:
-and then:
+ $ sudo apt-get install build-essential qt4-dev-tools libphonon-dev libqt4-sql-sqlite
+Compiling:
+
+ $ qmake "DEFINES += APP_GOOGLE_API_KEY=YouAPIKeyHere"
$ make
Beware of the Qt3 or Qt5 version of qmake! If things go wrong try running qmake-qt4 instead.
-### Running
+Running:
- $ ./build/target/minitube
+ $ build/target/minitube
-### Installing on Linux
+Installing on Linux:
$ sudo make install