We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 4050

Summary: [PATCH] video: Add pkg-config support to rpi video
Product: SDL Reporter: Guillermo A. Amaral <g>
Component: videoAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: enhancement    
Priority: P2    
Version: HG 2.0   
Hardware: x86_64   
OS: Linux   
Attachments: Based on SDL-2.0.8-11785 snapshot

Description Guillermo A. Amaral 2018-01-17 08:29:32 UTC
Created attachment 3143 [details]
Based on SDL-2.0.8-11785 snapshot

Currently fixed paths are being used for the Raspberry Pi video backend.

The patch attached makes it so that pkg-config is checked first, then it moves onto the current behavior.

As for SDL_egl, the LD_LIBRARY_PATH environment variable is appended with the fixed /opt/vc/lib path instead of having it prefix each library.
Comment 1 Sam Lantinga 2018-01-17 21:08:41 UTC
Added, thanks!
https://hg.libsdl.org/SDL/rev/fcbafc9e443c