diff options
author | Joshua Watt <jpewhacker@gmail.com> | 2019-12-06 14:32:29 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-12-09 10:21:51 +0000 |
commit | b6cae466992e1bf98a9babc5853f727158ca7a04 (patch) | |
tree | dbe0cd7ac6593466b91bd7c4dbdeca0aae4f3d3c | |
parent | 5785de72ac2b49ba43816da6b0355d83eb0d73f7 (diff) | |
download | poky-b6cae466992e1bf98a9babc5853f727158ca7a04.tar.gz |
wayland: Add PACKAGECONFIG for dtd-validation
Adds the option to disable DTD validation when building wayland-scanner,
which makes libxml2 optional.
(From OE-Core rev: d821415ab09248a894d58f6e5a5749e822d30939)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-graphics/wayland/wayland_1.17.0.bb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-graphics/wayland/wayland_1.17.0.bb b/meta/recipes-graphics/wayland/wayland_1.17.0.bb index 2b5a8f9454..12916a0c40 100644 --- a/meta/recipes-graphics/wayland/wayland_1.17.0.bb +++ b/meta/recipes-graphics/wayland/wayland_1.17.0.bb | |||
@@ -10,7 +10,7 @@ LICENSE = "MIT" | |||
10 | LIC_FILES_CHKSUM = "file://COPYING;md5=b31d8f53b6aaf2b4985d7dd7810a70d1 \ | 10 | LIC_FILES_CHKSUM = "file://COPYING;md5=b31d8f53b6aaf2b4985d7dd7810a70d1 \ |
11 | file://src/wayland-server.c;endline=24;md5=b8e046164a766bb1ede8ba38e9dcd7ce" | 11 | file://src/wayland-server.c;endline=24;md5=b8e046164a766bb1ede8ba38e9dcd7ce" |
12 | 12 | ||
13 | DEPENDS = "expat libxml2 libffi wayland-native" | 13 | DEPENDS = "expat libffi wayland-native" |
14 | 14 | ||
15 | SRC_URI = "https://wayland.freedesktop.org/releases/${BPN}-${PV}.tar.xz \ | 15 | SRC_URI = "https://wayland.freedesktop.org/releases/${BPN}-${PV}.tar.xz \ |
16 | file://fixpathinpcfiles.patch \ | 16 | file://fixpathinpcfiles.patch \ |
@@ -24,6 +24,9 @@ UPSTREAM_CHECK_URI = "https://wayland.freedesktop.org/releases.html" | |||
24 | 24 | ||
25 | inherit autotools pkgconfig | 25 | inherit autotools pkgconfig |
26 | 26 | ||
27 | PACKAGECONFIG ??= "dtd-validation" | ||
28 | PACKAGECONFIG[dtd-validation] = "--enable-dtd-validation,--disable-dtd-validation,libxml2,," | ||
29 | |||
27 | EXTRA_OECONF = "--disable-documentation --with-host-scanner" | 30 | EXTRA_OECONF = "--disable-documentation --with-host-scanner" |
28 | EXTRA_OECONF_class-native = "--disable-documentation --disable-libraries" | 31 | EXTRA_OECONF_class-native = "--disable-documentation --disable-libraries" |
29 | 32 | ||