generated from gaoyang3513/SDK_RK3288
[Mod] First commit
This commit is contained in:
18
package/waylandpp/Config.in
Normal file
18
package/waylandpp/Config.in
Normal file
@ -0,0 +1,18 @@
|
||||
config BR2_PACKAGE_WAYLANDPP
|
||||
bool "waylandpp"
|
||||
depends on BR2_PACKAGE_HAS_LIBEGL_WAYLAND
|
||||
depends on BR2_HOST_GCC_AT_LEAST_4_9
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_PACKAGE_WAYLAND
|
||||
help
|
||||
Wayland C++ bindings
|
||||
|
||||
https://github.com/NilsBrause/waylandpp
|
||||
|
||||
comment "waylandpp needs an OpenGL-EGL/wayland backend, a toolchain w/ gcc >= 4.9, host gcc >= 4.9, C++ support"
|
||||
depends on BR2_PACKAGE_WAYLAND
|
||||
depends on !BR2_PACKAGE_HAS_LIBEGL_WAYLAND || \
|
||||
!BR2_HOST_GCC_AT_LEAST_4_9 || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \
|
||||
!BR2_INSTALL_LIBSTDCPP
|
||||
4
package/waylandpp/waylandpp.hash
Normal file
4
package/waylandpp/waylandpp.hash
Normal file
@ -0,0 +1,4 @@
|
||||
# Locally computed
|
||||
sha256 e7f486165d3568c3558b5c7099133aea4a285b82820eeafad329fc10271c654d waylandpp-0.2.8.tar.gz
|
||||
sha256 8ff91f682a38f8a603b173222a60e8dc71754a79a522a316fb6b76ce138c542c LICENSE
|
||||
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 scanner/gpl-3.0.txt
|
||||
28
package/waylandpp/waylandpp.mk
Normal file
28
package/waylandpp/waylandpp.mk
Normal file
@ -0,0 +1,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))
|
||||
Reference in New Issue
Block a user