diff options
Diffstat (limited to 'meta/recipes-extended/ghostscript/ghostscript_9.02.bb')
-rw-r--r-- | meta/recipes-extended/ghostscript/ghostscript_9.02.bb | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/meta/recipes-extended/ghostscript/ghostscript_9.02.bb b/meta/recipes-extended/ghostscript/ghostscript_9.02.bb index dcdedade10..e3d32ddab4 100644 --- a/meta/recipes-extended/ghostscript/ghostscript_9.02.bb +++ b/meta/recipes-extended/ghostscript/ghostscript_9.02.bb @@ -15,22 +15,32 @@ SECTION = "console/utils" LICENSE = "GPLv3" LIC_FILES_CHKSUM = "file://LICENSE;md5=d151214b3131251dfc9d858593acbd24" -PR = "r0" +PR = "r1" -DEPENDS = "tiff ${PN}-native" +DEPENDS = "${PN}-native tiff jpeg fontconfig cups" DEPENDS_virtclass-native = "" SRC_URI = "http://downloads.ghostscript.com/public/ghostscript-${PV}.tar.bz2 \ file://ghostscript-9.02-prevent_recompiling.patch \ + file://ghostscript-9.02-genarch.patch \ + file://objarch.h \ + file://soobjarch.h \ " SRC_URI[md5sum] = "f67151444bd56a7904579fc75a083dd6" SRC_URI[sha256sum] = "03ea2cad13a36f8f9160912012b79619a826e7148fada6d3531feb25409ee05a" -EXTRA_OECONF = "--with-system-libtiff --without-jbig2dec --without-jasper --x-includes=${STAGING_DIR_HOST}/usr/include/X11 --x-libraries=${STAGING_DIR_HOST}/usr/lib" +EXTRA_OECONF = "--without-x --with-system-libtiff --without-jbig2dec --without-jasper --with-fontpath=${datadir}/fonts" inherit autotools +do_configure_prepend () { + mkdir -p obj + mkdir -p soobj + cp ${WORKDIR}/objarch.h obj/arch.h + cp ${WORKDIR}/soobjarch.h soobj/arch.h +} + do_configure () { oe_runconf @@ -42,6 +52,12 @@ do_configure () { done } +do_install_append () { + mkdir -p ${D}${datadir}/ghostscript/${PV}/ + cp -r Resource ${D}${datadir}/ghostscript/${PV}/ + cp -r iccprofiles ${D}${datadir}/ghostscript/${PV}/ +} + python do_patch_virtclass-native () { pass } |