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" | |||
15 | LICENSE = "GPLv3" | 15 | LICENSE = "GPLv3" |
16 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d151214b3131251dfc9d858593acbd24" | 16 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d151214b3131251dfc9d858593acbd24" |
17 | 17 | ||
18 | PR = "r0" | 18 | PR = "r1" |
19 | 19 | ||
20 | DEPENDS = "tiff ${PN}-native" | 20 | DEPENDS = "${PN}-native tiff jpeg fontconfig cups" |
21 | DEPENDS_virtclass-native = "" | 21 | DEPENDS_virtclass-native = "" |
22 | 22 | ||
23 | SRC_URI = "http://downloads.ghostscript.com/public/ghostscript-${PV}.tar.bz2 \ | 23 | SRC_URI = "http://downloads.ghostscript.com/public/ghostscript-${PV}.tar.bz2 \ |
24 | file://ghostscript-9.02-prevent_recompiling.patch \ | 24 | file://ghostscript-9.02-prevent_recompiling.patch \ |
25 | file://ghostscript-9.02-genarch.patch \ | ||
26 | file://objarch.h \ | ||
27 | file://soobjarch.h \ | ||
25 | " | 28 | " |
26 | 29 | ||
27 | SRC_URI[md5sum] = "f67151444bd56a7904579fc75a083dd6" | 30 | SRC_URI[md5sum] = "f67151444bd56a7904579fc75a083dd6" |
28 | SRC_URI[sha256sum] = "03ea2cad13a36f8f9160912012b79619a826e7148fada6d3531feb25409ee05a" | 31 | SRC_URI[sha256sum] = "03ea2cad13a36f8f9160912012b79619a826e7148fada6d3531feb25409ee05a" |
29 | 32 | ||
30 | EXTRA_OECONF = "--with-system-libtiff --without-jbig2dec --without-jasper --x-includes=${STAGING_DIR_HOST}/usr/include/X11 --x-libraries=${STAGING_DIR_HOST}/usr/lib" | 33 | EXTRA_OECONF = "--without-x --with-system-libtiff --without-jbig2dec --without-jasper --with-fontpath=${datadir}/fonts" |
31 | 34 | ||
32 | inherit autotools | 35 | inherit autotools |
33 | 36 | ||
37 | do_configure_prepend () { | ||
38 | mkdir -p obj | ||
39 | mkdir -p soobj | ||
40 | cp ${WORKDIR}/objarch.h obj/arch.h | ||
41 | cp ${WORKDIR}/soobjarch.h soobj/arch.h | ||
42 | } | ||
43 | |||
34 | do_configure () { | 44 | do_configure () { |
35 | oe_runconf | 45 | oe_runconf |
36 | 46 | ||
@@ -42,6 +52,12 @@ do_configure () { | |||
42 | done | 52 | done |
43 | } | 53 | } |
44 | 54 | ||
55 | do_install_append () { | ||
56 | mkdir -p ${D}${datadir}/ghostscript/${PV}/ | ||
57 | cp -r Resource ${D}${datadir}/ghostscript/${PV}/ | ||
58 | cp -r iccprofiles ${D}${datadir}/ghostscript/${PV}/ | ||
59 | } | ||
60 | |||
45 | python do_patch_virtclass-native () { | 61 | python do_patch_virtclass-native () { |
46 | pass | 62 | pass |
47 | } | 63 | } |