summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/ghostscript/ghostscript_9.02.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/ghostscript/ghostscript_9.02.bb')
-rw-r--r--meta/recipes-extended/ghostscript/ghostscript_9.02.bb22
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"
15LICENSE = "GPLv3" 15LICENSE = "GPLv3"
16LIC_FILES_CHKSUM = "file://LICENSE;md5=d151214b3131251dfc9d858593acbd24" 16LIC_FILES_CHKSUM = "file://LICENSE;md5=d151214b3131251dfc9d858593acbd24"
17 17
18PR = "r0" 18PR = "r1"
19 19
20DEPENDS = "tiff ${PN}-native" 20DEPENDS = "${PN}-native tiff jpeg fontconfig cups"
21DEPENDS_virtclass-native = "" 21DEPENDS_virtclass-native = ""
22 22
23SRC_URI = "http://downloads.ghostscript.com/public/ghostscript-${PV}.tar.bz2 \ 23SRC_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
27SRC_URI[md5sum] = "f67151444bd56a7904579fc75a083dd6" 30SRC_URI[md5sum] = "f67151444bd56a7904579fc75a083dd6"
28SRC_URI[sha256sum] = "03ea2cad13a36f8f9160912012b79619a826e7148fada6d3531feb25409ee05a" 31SRC_URI[sha256sum] = "03ea2cad13a36f8f9160912012b79619a826e7148fada6d3531feb25409ee05a"
29 32
30EXTRA_OECONF = "--with-system-libtiff --without-jbig2dec --without-jasper --x-includes=${STAGING_DIR_HOST}/usr/include/X11 --x-libraries=${STAGING_DIR_HOST}/usr/lib" 33EXTRA_OECONF = "--without-x --with-system-libtiff --without-jbig2dec --without-jasper --with-fontpath=${datadir}/fonts"
31 34
32inherit autotools 35inherit autotools
33 36
37do_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
34do_configure () { 44do_configure () {
35 oe_runconf 45 oe_runconf
36 46
@@ -42,6 +52,12 @@ do_configure () {
42 done 52 done
43} 53}
44 54
55do_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
45python do_patch_virtclass-native () { 61python do_patch_virtclass-native () {
46 pass 62 pass
47} 63}