package/x11r7/xapp_xeyes: xrender is optional, not mandatory

xrender is optional, not mandatory since its addition in version 1.0.99:
5e825a140f

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Fabrice Fontaine 2021-09-14 18:17:30 +02:00 committed by Yann E. MORIN
parent 3af9c55de0
commit a2b0c9b5f9
2 changed files with 8 additions and 2 deletions

View File

@ -3,7 +3,6 @@ config BR2_PACKAGE_XAPP_XEYES
select BR2_PACKAGE_XLIB_LIBX11
select BR2_PACKAGE_XLIB_LIBXEXT
select BR2_PACKAGE_XLIB_LIBXMU
select BR2_PACKAGE_XLIB_LIBXRENDER
select BR2_PACKAGE_XLIB_LIBXT
help
X.Org xeyes application

View File

@ -9,6 +9,13 @@ XAPP_XEYES_SOURCE = xeyes-$(XAPP_XEYES_VERSION).tar.bz2
XAPP_XEYES_SITE = https://xorg.freedesktop.org/archive/individual/app
XAPP_XEYES_LICENSE = MIT
XAPP_XEYES_LICENSE_FILES = COPYING
XAPP_XEYES_DEPENDENCIES = xlib_libX11 xlib_libXext xlib_libXmu xlib_libXrender xlib_libXt
XAPP_XEYES_DEPENDENCIES = xlib_libX11 xlib_libXext xlib_libXmu xlib_libXt
ifeq ($(BR2_PACKAGE_XLIB_LIBXRENDER),y)
XAPP_XEYES_DEPENDENCIES += xlib_libXrender
XAPP_XEYES_CONF_OPTS += --with-xrender
else
XAPP_XEYES_CONF_OPTS += --without-xrender
endif
$(eval $(autotools-package))