2019-02-05 21:41:49 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libwpe
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2020-09-16 00:30:48 +02:00
|
|
|
LIBWPE_VERSION = 1.8.0
|
2019-02-05 21:41:49 +01:00
|
|
|
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
|
|
|
|
|
2020-09-16 00:30:49 +02:00
|
|
|
LIBWPE_CFLAGS = $(TARGET_CFLAGS)
|
|
|
|
LIBWPE_CXXFLAGS = $(TARGET_CXXFLAGS)
|
|
|
|
|
2019-02-05 21:41:49 +01:00
|
|
|
# Workaround for https://github.com/raspberrypi/userland/issues/316
|
|
|
|
ifeq ($(BR2_PACKAGE_RPI_USERLAND),y)
|
2020-09-16 00:30:49 +02:00
|
|
|
LIBWPE_CFLAGS += -D_GNU_SOURCE
|
|
|
|
LIBWPE_CXXFLAGS += -D_GNU_SOURCE
|
2019-02-05 21:41:49 +01:00
|
|
|
endif
|
|
|
|
|
2020-09-16 00:30:49 +02:00
|
|
|
$(eval $(meson-package))
|