When building in a clean chroot like so:
makechrootpkg -c -r $BUILD_CHROOT -I ../scdoc/scdoc-1.5.2-2-any.pkg.tar.xz -I ../dummy-opengl-driver-git/dummy-opengl-driver-git-1-3-any.pkg.tar.xz -I ../xcb-util-errors/xcb-util-errors-1.0-1-x86_64.pkg.tar.xz
If fails with:
Dependency egl found: NO (tried pkgconfig) meson.build:57:0: ERROR: Dependency "egl" not found, tried pkgconfig
I think the 'opengl-driver' dependency should be replaced with 'mesa', as it provides opengl-driver and probably lots of GL stuff. But as I'm a novice, I'm really not sure.
When replacing 'opengl-driver' with 'mesa' though it build correctly with this command:
makechrootpkg -c -r $BUILD_CHROOT -I ../scdoc/scdoc-1.5.2-2-any.pkg.tar.xz -I ../xcb-util-errors/xcb-util-errors-1.0-1-x86_64.pkg.tar.xz
PS: How can I format text as a code block?
Pinned Comments
aperez commented on 2018-09-28 08:31 (UTC) (edited on 2019-03-07 16:25 (UTC) by aperez)
IMPORTANT
Please do not flag this package as out-of-date if the only change you need is to update to a newer version. It is not needed because it always fetches the sources using Git and uses the most recent version without needing to modify the PKGBUILD — just rebuild the package.
Also, please try building in a clean chroot before assuming that the PKGBUILD is broken.