diff options
author | Joonas Niilola <juippis@gentoo.org> | 2022-06-17 15:48:54 +0300 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2022-06-19 11:34:23 +0300 |
commit | 1cabfee1095110f283ea40ac93902093f588d425 (patch) | |
tree | 9c4c67dd069b23aaacbc3aa0651a60d766d5e63e /media-libs/libepoxy/files/libepoxy-1.5.10-use-opengl.pc-without-x.patch | |
parent | app-admin/awscli: Stabilize 1.25.7 ALLARCHES, #852875 (diff) | |
download | gentoo-1cabfee1095110f283ea40ac93902093f588d425.tar.gz gentoo-1cabfee1095110f283ea40ac93902093f588d425.tar.bz2 gentoo-1cabfee1095110f283ea40ac93902093f588d425.zip |
media-libs/libepoxy: fix pkgconfig file to use lopengl with -X
Closes: https://bugs.gentoo.org/849809
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
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' |