refactor factorization a tad and de-duplicate the lookup logic in settings

Authored by sitter on Aug 5 2019, 11:34 AM.

Description

refactor factorization a tad and de-duplicate the lookup logic in settings

previously we had the (almost) same logic between libphonon and settings,
since the settings are now in-tree we can easily remove the duplication
by exporting a new (privateish) finder on the factory that is used in the
settings app and the actual factorization

also extend descriptor a bit to more easily match functional requirements
of libphonon factorization. notably it now has a pluginname for mapping
to legacy PHONON_BACKEND env override and a weight which is the configured
preference

Details

Committed
sitterAug 5 2019, 11:54 AM
Parents
R487:3f762ba8bb50: include settings in phonon build system
Branches
Unknown
Tags
Unknown