1d207e4c3c
When building with the DRM support, it can happen that the libgbm library is not yet built by the provider of this lib (specified by BR2_PACKAGE_PROVIDES_LIBGBM). The docs in cog `docs/platform-drm.md` specify this dep-list: - **WPEBackend-fdo**: - **Wayland**: - **libdrm**: - **libgbm**: - **libinput**: - **libudev**: libgbm needs to be added. Adding libegl as well. Updated package/cog/Config.in to define the dependencies (for DRM) according to libegl & libgbm. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
################################################################################
|
|
#
|
|
# cog
|
|
#
|
|
################################################################################
|
|
|
|
COG_VERSION = 0.12.4
|
|
COG_SITE = https://wpewebkit.org/releases
|
|
COG_SOURCE = cog-$(COG_VERSION).tar.xz
|
|
COG_INSTALL_STAGING = YES
|
|
COG_DEPENDENCIES = dbus wpewebkit wpebackend-fdo wayland
|
|
COG_LICENSE = MIT
|
|
COG_LICENSE_FILES = COPYING
|
|
COG_CONF_OPTS = \
|
|
-DCOG_BUILD_PROGRAMS=ON \
|
|
-DCOG_PLATFORM_HEADLESS=ON \
|
|
-DCOG_WESTON_DIRECT_DISPLAY=OFF \
|
|
-DINSTALL_MAN_PAGES=OFF \
|
|
-DCOG_HOME_URI='$(call qstrip,$(BR2_PACKAGE_COG_PROGRAMS_HOME_URI))' \
|
|
-DUSE_SOUP2=ON
|
|
|
|
ifeq ($(BR2_PACKAGE_COG_PLATFORM_FDO),y)
|
|
COG_CONF_OPTS += -DCOG_PLATFORM_WL=ON
|
|
COG_DEPENDENCIES += libxkbcommon wayland-protocols
|
|
else
|
|
COG_CONF_OPTS += -DCOG_PLATFORM_WL=OFF
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_COG_PLATFORM_DRM),y)
|
|
COG_CONF_OPTS += -DCOG_PLATFORM_DRM=ON
|
|
COG_DEPENDENCIES += libdrm libinput libgbm libegl
|
|
else
|
|
COG_CONF_OPTS += -DCOG_PLATFORM_DRM=OFF
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_COG_USE_SYSTEM_DBUS),y)
|
|
COG_CONF_OPTS += -DCOG_DBUS_SYSTEM_BUS=ON
|
|
else
|
|
COG_CONF_OPTS += -DCOG_DBUS_SYSTEM_BUS=OFF
|
|
endif
|
|
|
|
$(eval $(cmake-package))
|