2019-02-05 21:41:52 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# cog
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2021-05-18 17:14:07 +02:00
|
|
|
COG_VERSION = 0.10.0
|
2019-09-20 23:38:26 +02:00
|
|
|
COG_SITE = https://wpewebkit.org/releases
|
2019-07-04 11:01:48 +02:00
|
|
|
COG_SOURCE = cog-$(COG_VERSION).tar.xz
|
2019-05-15 20:47:04 +02:00
|
|
|
COG_INSTALL_STAGING = YES
|
2020-04-06 19:42:05 +02:00
|
|
|
COG_DEPENDENCIES = dbus wpewebkit wpebackend-fdo wayland
|
2019-02-05 21:41:52 +01:00
|
|
|
COG_LICENSE = MIT
|
|
|
|
COG_LICENSE_FILES = COPYING
|
|
|
|
COG_CONF_OPTS = \
|
|
|
|
-DCOG_BUILD_PROGRAMS=ON \
|
2020-03-31 19:53:25 +02:00
|
|
|
-DCOG_WESTON_DIRECT_DISPLAY=OFF \
|
|
|
|
-DINSTALL_MAN_PAGES=OFF \
|
2019-02-05 21:41:52 +01:00
|
|
|
-DCOG_HOME_URI='$(call qstrip,$(BR2_PACKAGE_COG_PROGRAMS_HOME_URI))'
|
|
|
|
|
2020-04-06 19:42:05 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_COG_PLATFORM_FDO),y)
|
|
|
|
COG_CONF_OPTS += -DCOG_PLATFORM_FDO=ON
|
|
|
|
COG_DEPENDENCIES += libxkbcommon wayland-protocols
|
|
|
|
else
|
|
|
|
COG_CONF_OPTS += -DCOG_PLATFORM_FDO=OFF
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_COG_PLATFORM_DRM),y)
|
|
|
|
COG_CONF_OPTS += -DCOG_PLATFORM_DRM=ON
|
|
|
|
COG_DEPENDENCIES += libdrm libinput
|
|
|
|
else
|
|
|
|
COG_CONF_OPTS += -DCOG_PLATFORM_DRM=OFF
|
|
|
|
endif
|
|
|
|
|
2021-03-16 10:47:27 +01:00
|
|
|
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
|
|
|
|
|
2019-02-05 21:41:52 +01:00
|
|
|
$(eval $(cmake-package))
|