[3.0] contrib: Fix .pc generation
This is a backport of !468 (merged) with 2 extra commits:
- Backporting Alexandre's patch for lua
- Fixing glew .pc generation which wasn't required since glew moved to cmake in the main branch
Edited by Steve Lhomme
This is a backport of !468 (merged) with 2 extra commits:
VideoLAN code repository instance