diff options
Diffstat (limited to 'meta/recipes-extended/ghostscript/ghostscript_9.54.0.bb')
| -rw-r--r-- | meta/recipes-extended/ghostscript/ghostscript_9.54.0.bb | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/meta/recipes-extended/ghostscript/ghostscript_9.54.0.bb b/meta/recipes-extended/ghostscript/ghostscript_9.54.0.bb index 81f8d615ae..59cc560cf8 100644 --- a/meta/recipes-extended/ghostscript/ghostscript_9.54.0.bb +++ b/meta/recipes-extended/ghostscript/ghostscript_9.54.0.bb | |||
| @@ -14,7 +14,7 @@ LICENSE = "GPLv3" | |||
| 14 | LIC_FILES_CHKSUM = "file://LICENSE;md5=70dc2bac4d0ce4448da873cd86b123fc" | 14 | LIC_FILES_CHKSUM = "file://LICENSE;md5=70dc2bac4d0ce4448da873cd86b123fc" |
| 15 | 15 | ||
| 16 | DEPENDS = "ghostscript-native tiff jpeg fontconfig cups libpng" | 16 | DEPENDS = "ghostscript-native tiff jpeg fontconfig cups libpng" |
| 17 | DEPENDS_class-native = "libpng-native" | 17 | DEPENDS:class-native = "libpng-native" |
| 18 | 18 | ||
| 19 | UPSTREAM_CHECK_URI = "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases" | 19 | UPSTREAM_CHECK_URI = "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases" |
| 20 | UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)\.tar" | 20 | UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)\.tar" |
| @@ -40,7 +40,7 @@ SRC_URI = "${SRC_URI_BASE} \ | |||
| 40 | file://cups-no-gcrypt.patch \ | 40 | file://cups-no-gcrypt.patch \ |
| 41 | " | 41 | " |
| 42 | 42 | ||
| 43 | SRC_URI_class-native = "${SRC_URI_BASE} \ | 43 | SRC_URI:class-native = "${SRC_URI_BASE} \ |
| 44 | file://ghostscript-9.21-native-fix-disable-system-libtiff.patch \ | 44 | file://ghostscript-9.21-native-fix-disable-system-libtiff.patch \ |
| 45 | file://base-genht.c-add-a-preprocessor-define-to-allow-fope.patch \ | 45 | file://base-genht.c-add-a-preprocessor-define-to-allow-fope.patch \ |
| 46 | " | 46 | " |
| @@ -49,13 +49,13 @@ SRC_URI[sha256sum] = "0646bb97f6f4d10a763f4919c54fa28b4fbdd3dff8e7de3410431c8176 | |||
| 49 | 49 | ||
| 50 | # Put something like | 50 | # Put something like |
| 51 | # | 51 | # |
| 52 | # PACKAGECONFIG_append_pn-ghostscript = " x11" | 52 | # PACKAGECONFIG:append:pn-ghostscript = " x11" |
| 53 | # | 53 | # |
| 54 | # in local.conf to enable building with X11. Be careful. The order | 54 | # in local.conf to enable building with X11. Be careful. The order |
| 55 | # of the overrides matters! | 55 | # of the overrides matters! |
| 56 | # | 56 | # |
| 57 | #PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}" | 57 | #PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}" |
| 58 | PACKAGECONFIG_class-native = "" | 58 | PACKAGECONFIG:class-native = "" |
| 59 | 59 | ||
| 60 | PACKAGECONFIG[x11] = "--with-x --x-includes=${STAGING_INCDIR} --x-libraries=${STAGING_LIBDIR}, \ | 60 | PACKAGECONFIG[x11] = "--with-x --x-includes=${STAGING_INCDIR} --x-libraries=${STAGING_LIBDIR}, \ |
| 61 | --without-x, virtual/libx11 libxext libxt gtk+3\ | 61 | --without-x, virtual/libx11 libxext libxt gtk+3\ |
| @@ -68,11 +68,11 @@ EXTRA_OECONF = "--without-libpaper --with-system-libtiff --without-jbig2dec \ | |||
| 68 | CUPSCONFIG="${STAGING_BINDIR_CROSS}/cups-config" \ | 68 | CUPSCONFIG="${STAGING_BINDIR_CROSS}/cups-config" \ |
| 69 | " | 69 | " |
| 70 | 70 | ||
| 71 | EXTRA_OECONF_append_mipsarcho32 = " --with-large_color_index=0" | 71 | EXTRA_OECONF:append:mipsarcho32 = " --with-large_color_index=0" |
| 72 | 72 | ||
| 73 | # Explicity disable libtiff, fontconfig, | 73 | # Explicity disable libtiff, fontconfig, |
| 74 | # freetype, cups for ghostscript-native | 74 | # freetype, cups for ghostscript-native |
| 75 | EXTRA_OECONF_class-native = "--without-x --with-system-libtiff=no \ | 75 | EXTRA_OECONF:class-native = "--without-x --with-system-libtiff=no \ |
| 76 | --without-jbig2dec --without-libpaper \ | 76 | --without-jbig2dec --without-libpaper \ |
| 77 | --with-fontpath=${datadir}/fonts \ | 77 | --with-fontpath=${datadir}/fonts \ |
| 78 | --without-libidn --disable-fontconfig \ | 78 | --without-libidn --disable-fontconfig \ |
| @@ -86,11 +86,11 @@ BUILD_CFLAGS += "-DHAVE_SYS_TIME_H=1" | |||
| 86 | 86 | ||
| 87 | inherit autotools-brokensep | 87 | inherit autotools-brokensep |
| 88 | 88 | ||
| 89 | do_configure_prepend_class-target () { | 89 | do_configure:prepend:class-target () { |
| 90 | rm -rf ${S}/jpeg/ | 90 | rm -rf ${S}/jpeg/ |
| 91 | } | 91 | } |
| 92 | 92 | ||
| 93 | do_configure_append () { | 93 | do_configure:append () { |
| 94 | # copy tools from the native ghostscript build | 94 | # copy tools from the native ghostscript build |
| 95 | if [ "${PN}" != "ghostscript-native" ]; then | 95 | if [ "${PN}" != "ghostscript-native" ]; then |
| 96 | mkdir -p obj/aux soobj | 96 | mkdir -p obj/aux soobj |
| @@ -100,20 +100,20 @@ do_configure_append () { | |||
| 100 | fi | 100 | fi |
| 101 | } | 101 | } |
| 102 | 102 | ||
| 103 | do_install_append () { | 103 | do_install:append () { |
| 104 | mkdir -p ${D}${datadir}/ghostscript/${PV}/ | 104 | mkdir -p ${D}${datadir}/ghostscript/${PV}/ |
| 105 | cp -r ${S}/Resource ${D}${datadir}/ghostscript/${PV}/ | 105 | cp -r ${S}/Resource ${D}${datadir}/ghostscript/${PV}/ |
| 106 | cp -r ${S}/iccprofiles ${D}${datadir}/ghostscript/${PV}/ | 106 | cp -r ${S}/iccprofiles ${D}${datadir}/ghostscript/${PV}/ |
| 107 | } | 107 | } |
| 108 | 108 | ||
| 109 | do_compile_class-native () { | 109 | do_compile:class-native () { |
| 110 | mkdir -p obj | 110 | mkdir -p obj |
| 111 | for i in genarch genconf mkromfs echogs gendev genht packps; do | 111 | for i in genarch genconf mkromfs echogs gendev genht packps; do |
| 112 | oe_runmake obj/aux/$i | 112 | oe_runmake obj/aux/$i |
| 113 | done | 113 | done |
| 114 | } | 114 | } |
| 115 | 115 | ||
| 116 | do_install_class-native () { | 116 | do_install:class-native () { |
| 117 | install -d ${D}${bindir}/ghostscript-${PV} | 117 | install -d ${D}${bindir}/ghostscript-${PV} |
| 118 | for i in genarch genconf mkromfs echogs gendev genht packps; do | 118 | for i in genarch genconf mkromfs echogs gendev genht packps; do |
| 119 | install -m 755 obj/aux/$i ${D}${bindir}/ghostscript-${PV}/$i | 119 | install -m 755 obj/aux/$i ${D}${bindir}/ghostscript-${PV}/$i |
