From e94b79bb1bf8ec81a91227eac03cbd31d2e24759 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Thu, 6 Oct 2022 23:23:07 +0200 Subject: [PATCH] Adjust ghostscript to build libgs for upcoming libspectre MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Andreas Müller --- extends-oe-core/ghostscript%.bbappend | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 extends-oe-core/ghostscript%.bbappend diff --git a/extends-oe-core/ghostscript%.bbappend b/extends-oe-core/ghostscript%.bbappend new file mode 100644 index 00000000..15b0e861 --- /dev/null +++ b/extends-oe-core/ghostscript%.bbappend @@ -0,0 +1,20 @@ +DEPENDS:append:class-target = " libidn" + +EXTRA_OECONF:remove:class-target = "--without-libidn" + +do_configure:append:class-target() { + # more (so) copy tools from the native ghostscript build + mkdir -p soobj/aux + for i in genarch genconf mkromfs echogs gendev genht packps; do + cp -f ${STAGING_BINDIR_NATIVE}/ghostscript-${PV}/$i soobj/aux/$i + done +} + +do_compile:class-target() { + oe_runmake so +} + +do_install:class-target() { + oe_runmake 'DESTDIR=${D}' soinstall + mv -f ${D}${bindir}/gsc ${D}${bindir}/gs +}