Revert "trivial: Do not recurse for library or filename deps"
Revert "trivial: Do not recurse for library or filename deps"

This led to ModernToolkit kudos being skipped for apps where a
subpackage links with a modern toolkit library (gtk+ 3 or Qt 5).

This reverts commit e7f14579d1f9ab6f0f016caf81c34bb576c9ea92.

ximion/appstream-glib,ximion/appstream-glib,hughsie/appstream-glib,hughsie/appstream-glib,ximion/appstream-glib,hughsie/appstream-glib