hc
2023-05-26 a23f51ed7a39e452c1037343a84d7db1ca2c5bd7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
################################################################################
#
# waylandpp
#
################################################################################
 
WAYLANDPP_VERSION = 0.2.8
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
# pugixml is needed only to build the host version of wayland-scanner++
HOST_WAYLANDPP_DEPENDENCIES = host-pugixml host-pkgconf host-wayland
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))