1*4882a593Smuzhiyun################################################################################ 2*4882a593Smuzhiyun# 3*4882a593Smuzhiyun# qt5wayland 4*4882a593Smuzhiyun# 5*4882a593Smuzhiyun################################################################################ 6*4882a593Smuzhiyun 7*4882a593SmuzhiyunQT5WAYLAND_VERSION = 36659e6130ed3fc2b3f0c91423408ef5ecb7b991 8*4882a593SmuzhiyunQT5WAYLAND_SITE = $(QT5_SITE)/qtwayland/-/archive/$(QT5WAYLAND_VERSION) 9*4882a593SmuzhiyunQT5WAYLAND_SOURCE = qtwayland-$(QT5WAYLAND_VERSION).tar.bz2 10*4882a593SmuzhiyunQT5WAYLAND_DEPENDENCIES = wayland 11*4882a593SmuzhiyunQT5WAYLAND_INSTALL_STAGING = YES 12*4882a593SmuzhiyunQT5WAYLAND_SYNC_QT_HEADERS = YES 13*4882a593Smuzhiyun 14*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_QT5DECLARATIVE_QUICK),y) 15*4882a593SmuzhiyunQT5WAYLAND_DEPENDENCIES += qt5declarative 16*4882a593Smuzhiyunendif 17*4882a593Smuzhiyun 18*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_LIBXKBCOMMON),y) 19*4882a593SmuzhiyunQT5WAYLAND_DEPENDENCIES += libxkbcommon 20*4882a593Smuzhiyunendif 21*4882a593Smuzhiyun 22*4882a593SmuzhiyunQT5WAYLAND_LICENSE = GPL-2.0+ or LGPL-3.0, GPL-3.0 with exception(tools), GFDL-1.3 (docs) 23*4882a593SmuzhiyunQT5WAYLAND_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPL3 LICENSE.GPL3-EXCEPT LICENSE.LGPL3 LICENSE.FDL 24*4882a593Smuzhiyun 25*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_QT5WAYLAND_COMPOSITOR),y) 26*4882a593SmuzhiyunQT5WAYLAND_CONF_OPTS += CONFIG+=wayland-compositor 27*4882a593Smuzhiyunelse 28*4882a593SmuzhiyunQT5WAYLAND_CONFIG += --no-feature-wayland-server 29*4882a593Smuzhiyunendif 30*4882a593Smuzhiyun 31*4882a593SmuzhiyunQT5WAYLAND_CONF_OPTS += -- $(QT5WAYLAND_CONFIG) 32*4882a593Smuzhiyun 33*4882a593Smuzhiyundefine QT5WAYLAND_FORCE_XDG_SHELL 34*4882a593Smuzhiyun cd $(TARGET_DIR)/usr/lib/qt/plugins/wayland-shell-integration/ && \ 35*4882a593Smuzhiyun ls | grep -wv libxdg-shell.so | xargs rm -rf 36*4882a593Smuzhiyunendef 37*4882a593SmuzhiyunQT5WAYLAND_POST_INSTALL_TARGET_HOOKS += QT5WAYLAND_FORCE_XDG_SHELL 38*4882a593Smuzhiyun 39*4882a593Smuzhiyun$(eval $(qmake-package)) 40