diff options
author | Joe Slater <jslater@windriver.com> | 2017-06-15 14:35:27 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-06-23 11:44:13 +0100 |
commit | 8f6c991a302a96b82bc3132ba75713f2153477d1 (patch) | |
tree | ef3ec6953cf3607fe30db193c9c98586cc132976 | |
parent | d3e8504ce7a25908fe5ad7973d807d199950dc9a (diff) | |
download | poky-8f6c991a302a96b82bc3132ba75713f2153477d1.tar.gz |
ghostscript: add X11 PACKAGECONFIG info
Add information necessary to build for x11, but
do not enable that option.
Fix parallel build directory creation issue.
(From OE-Core rev: 2bfc7be412da501d8a9138a3dde33636c5fe2616)
Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-extended/ghostscript/ghostscript_9.21.bb | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/meta/recipes-extended/ghostscript/ghostscript_9.21.bb b/meta/recipes-extended/ghostscript/ghostscript_9.21.bb index ed0fd431a7..fb36a1345a 100644 --- a/meta/recipes-extended/ghostscript/ghostscript_9.21.bb +++ b/meta/recipes-extended/ghostscript/ghostscript_9.21.bb | |||
@@ -48,7 +48,21 @@ SRC_URI_class-native = "${SRC_URI_BASE} \ | |||
48 | SRC_URI[md5sum] = "5f213281761d2750fcf27476c404d17f" | 48 | SRC_URI[md5sum] = "5f213281761d2750fcf27476c404d17f" |
49 | SRC_URI[sha256sum] = "02bceadbc4dddeb6f2eec9c8b1623d945d355ca11b8b4df035332b217d58ce85" | 49 | SRC_URI[sha256sum] = "02bceadbc4dddeb6f2eec9c8b1623d945d355ca11b8b4df035332b217d58ce85" |
50 | 50 | ||
51 | EXTRA_OECONF = "--without-x --with-system-libtiff --without-jbig2dec \ | 51 | # Put something like |
52 | # | ||
53 | # PACKAGECONFIG_append_pn-ghostscript = " x11" | ||
54 | # | ||
55 | # in local.conf to enable building with X11. Be careful. The order | ||
56 | # of the overrides matters! | ||
57 | # | ||
58 | #PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}" | ||
59 | PACKAGECONFIG_class-native = "" | ||
60 | |||
61 | PACKAGECONFIG[x11] = "--with-x --x-includes=${STAGING_INCDIR} --x-libraries=${STAGING_LIBDIR}, \ | ||
62 | --without-x, virtual/libx11 libxext libxt gtk+3\ | ||
63 | " | ||
64 | |||
65 | EXTRA_OECONF = "--with-system-libtiff --without-jbig2dec \ | ||
52 | --with-fontpath=${datadir}/fonts \ | 66 | --with-fontpath=${datadir}/fonts \ |
53 | --without-libidn --with-cups-serverbin=${exec_prefix}/lib/cups \ | 67 | --without-libidn --with-cups-serverbin=${exec_prefix}/lib/cups \ |
54 | --with-cups-datadir=${datadir}/cups \ | 68 | --with-cups-datadir=${datadir}/cups \ |