From 32aaa9bde903a7ebbe36fb8341e0bc72ef4fb458 Mon Sep 17 00:00:00 2001 From: Evgeniy Khramtsov Date: Fri, 4 Jun 2021 20:49:22 +0300 Subject: [PATCH] graphics/imv: allow building on Wayland-only imv can work on a system where libX11 is fully removed and OpenGL is provided by libOpenGL instead of libGL[1]. Adjust USE_GL for imv to build in such environment. [1]: https://github.com/eXeC64/imv/commit/ a70727b74c532ffb303023b3eb215310948b31 --- graphics/imv/Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/graphics/imv/Makefile b/graphics/imv/Makefile index 8efed9f1736b..98d0d90f9c01 100644 --- a/graphics/imv/Makefile +++ b/graphics/imv/Makefile @@ -18,7 +18,7 @@ USES= compiler:c11 desktop-file-utils gettext-runtime gl gnome \ meson pkgconfig USE_GITHUB= yes GH_ACCOUNT= eXeC64 -USE_GL= gl +USE_GL= egl USE_GNOME= cairo glib20 pango PLIST_FILES= bin/imv \ @@ -42,7 +42,7 @@ WIN_DESC= Windowing system ALL_LIB_DEPENDS+= libwayland-client.so:graphics/wayland ALL_USES= xorg -ALL_USE= gl=egl,glu xorg=x11,xcb +ALL_USE= gl=glu xorg=x11,xcb ALL_MESON_ON= -Dwindows=all ALL_PLIST_FILES= bin/imv-wayland \ bin/imv-x11 @@ -73,8 +73,6 @@ TIFF_MESON_ENABLED= libtiff WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland \ libwayland-egl.so:graphics/wayland - -WAYLAND_USE= gl=egl WAYLAND_MESON_ON= -Dwindows=wayland X11_USES= xorg -- 2.31.1