edb505b78f
The CMake based build system will be eventually removed by upstream so it seems like a good idea to switch over to Meson already before that happens. Signed-off-by: Adrian Perez de Castro <aperez@igalia.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
25 lines
697 B
Makefile
25 lines
697 B
Makefile
################################################################################
|
|
#
|
|
# libwpe
|
|
#
|
|
################################################################################
|
|
|
|
LIBWPE_VERSION = 1.8.0
|
|
LIBWPE_SITE = https://wpewebkit.org/releases
|
|
LIBWPE_SOURCE = libwpe-$(LIBWPE_VERSION).tar.xz
|
|
LIBWPE_INSTALL_STAGING = YES
|
|
LIBWPE_LICENSE = BSD-2-Clause
|
|
LIBWPE_LICENSE_FILES = COPYING
|
|
LIBWPE_DEPENDENCIES = libegl libxkbcommon
|
|
|
|
LIBWPE_CFLAGS = $(TARGET_CFLAGS)
|
|
LIBWPE_CXXFLAGS = $(TARGET_CXXFLAGS)
|
|
|
|
# Workaround for https://github.com/raspberrypi/userland/issues/316
|
|
ifeq ($(BR2_PACKAGE_RPI_USERLAND),y)
|
|
LIBWPE_CFLAGS += -D_GNU_SOURCE
|
|
LIBWPE_CXXFLAGS += -D_GNU_SOURCE
|
|
endif
|
|
|
|
$(eval $(meson-package))
|