Implementing installation of dependent libraries before installing the main package
This implements installing dependent libraries which are requested by some of Gplay apps.
One of theese examples being Google Chrome requiring the TriChrome library. Theese kind of libraries aren't found by "normal" means, and instead are provided by part of the dependencies structure.
The related gplayapi PR is gplayapi!6 (merged) and it's merging is blocking this one. The pipeline fails for the same reason. Probably a bump to gplayapi will be required as well.
This should fix this issue: #346 (closed)
Tips from #346 (comment 317736918) were used.
The implementation is as follows: when an app with a dependent library is being installed, the dependent libraries are being checked. If there is one, the installation is paused and instead the installation of the library is being done, with checking each second if this is done. When all the library installations are processed, the installation is resumed.