If someone were to go ahead and build the proposed sponsorship platform, it ought to have some method to identify dependencies - either through developers manually specifying them, or through automated analysis of package manager dependencies etc etc - and somehow automatically allocate some percentage of donations accordingly. No, such a system wouldn't be perfect, but it would be better than nothing.