FS#63279 - [raylib] pkg-config has incorrect glfw dependency
Attached to Project:
Community Packages
Opened by secret (dec05eba) - Thursday, 25 July 2019, 17:53 GMT
Last edited by Alexander F. Rødseth (xyproto) - Monday, 29 July 2019, 09:09 GMT
Opened by secret (dec05eba) - Thursday, 25 July 2019, 17:53 GMT
Last edited by Alexander F. Rødseth (xyproto) - Monday, 29 July 2019, 09:09 GMT
|
Details
Description:
Unable to use raylib pkg-config since it contains an invalid reference to a package called "glfw33", but the pkg-config for glfw is called "glfw3". I modified raylib pkg-config to use glfw3 instead of glfw33 and it correctly detects glfw. Steps to reproduce: Install raylib and run the command: `pkg-config --cflags raylib` and it will output: --- Package glfw33 was not found in the pkg-config search path. Perhaps you should add the directory containing `glfw33.pc' to the PKG_CONFIG_PATH environment variable Package 'glfw33', required by 'raylib', not found --- It looks like this is an issue with the arch package since upstream in raylib, they define the glfw dependency as "glfw3": https://github.com/raysan5/raylib/blob/master/src/CMakeLists.txt#L43 |
This task depends upon
Comment by
Eli Schwartz (eschwartz) -
Thursday, 25 July 2019, 18:36 GMT
- Field changed: Summary (Raylib pkg-config has incorrect glfw dependency → [raylib] pkg-config has incorrect glfw dependency)
The PKGBUILD contains an obsolete fix for something which was
fixed upstream in the unrelated
https://github.com/raysan5/raylib/commit/e82505b873370b8f3a914a079062c21e64353210
Comment by
Alexander F. Rødseth (xyproto) -
Monday, 29 July 2019, 09:02 GMT
Thanks for reporting, I'm applying the fix from
e82505b873370b8f3a914a079062c21e64353210 and removing the old fix
in the PKGBUILD. The updated package should appear in [community]
shortly.