9152ef591b
This is a small bugfix release which solves a build issue, a memory leak, and fixes touch input on rotated screens with the DRM/KMS module. Release notes: https://wpewebkit.org/release/cog-0.18.1.html Signed-off-by: Adrian Perez de Castro <aperez@igalia.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
52 lines
1.3 KiB
Makefile
52 lines
1.3 KiB
Makefile
################################################################################
|
|
#
|
|
# cog
|
|
#
|
|
################################################################################
|
|
|
|
COG_VERSION = 0.18.1
|
|
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 = \
|
|
-Ddocumentation=false \
|
|
-Dmanpages=false \
|
|
-Dprograms=true \
|
|
-Dwpe_api=2.0 \
|
|
-Dcog_home_uri='$(call qstrip,$(BR2_PACKAGE_COG_PROGRAMS_HOME_URI))' \
|
|
-Dplatforms='$(subst $(space),$(comma),$(strip $(COG_PLATFORMS_LIST)))'
|
|
|
|
COG_PLATFORMS_LIST = headless
|
|
|
|
ifeq ($(BR2_PACKAGE_WESTON),y)
|
|
COG_CONF_OPTS += -Dwayland_weston_direct_display=true
|
|
COG_DEPENDENCIES += weston
|
|
else
|
|
COG_CONF_OPTS += -Dwayland_weston_direct_display=false
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_COG_PLATFORM_FDO),y)
|
|
COG_PLATFORMS_LIST += wayland
|
|
COG_DEPENDENCIES += libxkbcommon wayland-protocols
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_COG_PLATFORM_DRM),y)
|
|
COG_PLATFORMS_LIST += drm
|
|
COG_DEPENDENCIES += libdrm libinput libgbm libegl udev
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_COG_USE_SYSTEM_DBUS),y)
|
|
COG_CONF_OPTS += -Dcog_dbus_control=system
|
|
else
|
|
COG_CONF_OPTS += -Dcog_dbus_control=user
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBMANETTE),y)
|
|
COG_DEPENDENCIES += libmanette
|
|
endif
|
|
|
|
$(eval $(meson-package))
|