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 - [PATCH] video: Add pkg-config support to rpi video
Summary: [PATCH] video: Add pkg-config support to rpi video
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: HG 2.0
Hardware: x86_64 Linux
: P2 enhancement
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-17 08:29 UTC by Guillermo A. Amaral
Modified: 2018-01-17 21:08 UTC (History)
0 users

See Also:


Attachments
Based on SDL-2.0.8-11785 snapshot (6.98 KB, patch)
2018-01-17 08:29 UTC, Guillermo A. Amaral
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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