package/kmscube: add optional dependency to libpng
kmscube libpng support was added in:
a09d38f94e
Signed-off-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
8789ea3ad0
commit
29d8ce9c41
@ -10,4 +10,10 @@ KMSCUBE_LICENSE = MIT
|
||||
KMSCUBE_LICENSE_FILES = COPYING
|
||||
KMSCUBE_DEPENDENCIES = host-pkgconf libdrm libegl libgbm libgles
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBPNG),y)
|
||||
KMSCUBE_DEPENDENCIES += libpng
|
||||
# libpng is automatically detected in meson, there is no build
|
||||
# configuration option to pass.
|
||||
endif
|
||||
|
||||
$(eval $(meson-package))
|
||||
|
Loading…
Reference in New Issue
Block a user