diff options
Diffstat (limited to 'media-libs/libepoxy/files/libepoxy-1.5.10-use-opengl.pc-without-x.patch')
-rw-r--r-- | media-libs/libepoxy/files/libepoxy-1.5.10-use-opengl.pc-without-x.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/media-libs/libepoxy/files/libepoxy-1.5.10-use-opengl.pc-without-x.patch b/media-libs/libepoxy/files/libepoxy-1.5.10-use-opengl.pc-without-x.patch new file mode 100644 index 000000000000..0ed9c2f17681 --- /dev/null +++ b/media-libs/libepoxy/files/libepoxy-1.5.10-use-opengl.pc-without-x.patch @@ -0,0 +1,15 @@ +diff -Naur a/src/meson.build b/src/meson.build +--- a/src/meson.build 2022-02-17 14:56:12.000000000 +0200 ++++ b/src/meson.build 2022-06-17 15:17:20.388423154 +0300 +@@ -98,8 +98,10 @@ + # not needed when building Epoxy; we do want to add them to the generated + # pkg-config file, for consumers of Epoxy + gl_reqs = [] +-if gl_dep.found() and gl_dep.type_name() == 'pkgconfig' ++if build_glx and gl_dep.found() and gl_dep.type_name() == 'pkgconfig' + gl_reqs += 'gl' ++else ++ gl_reqs += 'opengl' + endif + if build_egl and egl_dep.found() and egl_dep.type_name() == 'pkgconfig' + gl_reqs += 'egl' |