+<p align="center">
+<img src="https://flavio.tordini.org/files/products/minitube.png">
+</p>
+
# 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 to your language
+Translations are done at https://www.transifex.com/flaviotordini/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
+## Build instructions
+Clone from Github:
-### Google API Key
+ git clone --recursive https://github.com/flaviotordini/minitube.git
-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
+You need Qt >= 5.12 and MPV >= 0.29.0. The following Qt modules are needed: core, gui, widgets, network, sql (using the Sqlite plugin), declarative, dbus, x11extras.
-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.
+To be able to build on a Debian (or derivative) system:
-### Compiling
-Run:
+ sudo apt install build-essential qt5-default qttools5-dev-tools qt5-qmake qtdeclarative5-dev libqt5sql5-sqlite libqt5x11extras5-dev qt5-image-formats-plugins libmpv-dev
- $ qmake -DAPP_GOOGLE_API_KEY="YouAPIKeyHere"
+Compiling:
-and then:
+ qmake
+ make
- $ make
+Running:
-Beware of the Qt3 or Qt5 version of qmake! If things go wrong try running qmake-qt4 instead.
+ build/target/minitube
-### Running
-
- $ ./build/target/minitube
-
-### Installing on Linux
-
- $ sudo make install
+Installing on Linux:
This is for packagers. End users should not install applications in this way.
-## A word about Phonon on Linux
-To be able to actually watch videos you need a working Phonon setup.
-Please don't contact me about this, ask for help on your distribution support channels.
-
-These days Minitube is tested with the VLC backend only.
-Please don't report bugs with other backends as they're not supported.
+ sudo make install
## Legal Stuff
Copyright (C) Flavio Tordini