opkg_manager: add a list of packages to hide

Advanced build system can come up with an impressive list of
(sub-)packages, most of them not really interesting for installation
through the GUI. Add a filter with simple patterns to suppress the
display of those packages.
TODO: this should be made configurable via a run-time config file.

Signed-off-by: Markus Volk <f_l_k@gmx.net>
This commit is contained in:
Stefan Seyfried
2015-02-08 11:24:49 +01:00
committed by Thilo Graf
parent 47b37d4405
commit 5750ca23ae
2 changed files with 45 additions and 0 deletions

View File

@@ -67,6 +67,7 @@ class COPKGManager : public CMenuTarget
int showMenu();
void updateMenu();
void refreshMenu();
bool badpackage(std::string &s);
struct pkg {
std::string name;