2017-11-22 19:34:20 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# waylandpp
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2019-10-17 19:01:13 +02:00
|
|
|
WAYLANDPP_VERSION = 0.2.7
|
2017-11-22 19:34:20 +01:00
|
|
|
WAYLANDPP_SITE = $(call github,NilsBrause,waylandpp,$(WAYLANDPP_VERSION))
|
|
|
|
WAYLANDPP_LICENSE = MIT, GPL-3.0+ (wayland_scanner)
|
|
|
|
WAYLANDPP_LICENSE_FILES = LICENSE scanner/gpl-3.0.txt
|
|
|
|
WAYLANDPP_INSTALL_STAGING = YES
|
2019-06-16 22:16:21 +02:00
|
|
|
# pugixml is needed only to build the host version of wayland-scanner++
|
|
|
|
HOST_WAYLANDPP_DEPENDENCIES = host-pugixml host-pkgconf host-wayland
|
2017-11-22 19:34:20 +01:00
|
|
|
WAYLANDPP_DEPENDENCIES = libegl host-pkgconf wayland host-waylandpp
|
|
|
|
|
|
|
|
# host variant of wayland-scanner++ is needed for building the target
|
|
|
|
# package
|
|
|
|
HOST_WAYLANDPP_CONF_OPTS = \
|
|
|
|
-DBUILD_LIBRARIES=OFF \
|
|
|
|
-DBUILD_SCANNER=ON
|
|
|
|
|
|
|
|
WAYLANDPP_CONF_OPTS = \
|
|
|
|
-DBUILD_LIBRARIES=ON \
|
|
|
|
-DBUILD_SCANNER=OFF \
|
|
|
|
-DWAYLAND_SCANNERPP=$(HOST_DIR)/bin/wayland-scanner++
|
|
|
|
|
|
|
|
$(eval $(cmake-package))
|
|
|
|
$(eval $(host-cmake-package))
|