diff options
Diffstat (limited to 'meta/recipes-support/libxslt/libxslt_1.1.42.bb')
-rw-r--r-- | meta/recipes-support/libxslt/libxslt_1.1.42.bb | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/meta/recipes-support/libxslt/libxslt_1.1.42.bb b/meta/recipes-support/libxslt/libxslt_1.1.42.bb new file mode 100644 index 0000000000..9985dd8827 --- /dev/null +++ b/meta/recipes-support/libxslt/libxslt_1.1.42.bb | |||
@@ -0,0 +1,58 @@ | |||
1 | SUMMARY = "GNOME XSLT library" | ||
2 | DESCRIPTION = "libxslt is the XSLT C parser and toolkit developed for the Gnome project. \ | ||
3 | XSLT itself is a an XML language to define transformation for XML. Libxslt is based on \ | ||
4 | libxml2 the XML C library developed for the GNOME project. It also implements most of \ | ||
5 | the EXSLT set of processor-portable extensions functions and some of Saxon's evaluate \ | ||
6 | and expressions extensions." | ||
7 | HOMEPAGE = "http://xmlsoft.org/XSLT/" | ||
8 | BUGTRACKER = "https://bugzilla.gnome.org/" | ||
9 | |||
10 | LICENSE = "MIT" | ||
11 | LIC_FILES_CHKSUM = "file://Copyright;md5=0cd9a07afbeb24026c9b03aecfeba458" | ||
12 | |||
13 | SECTION = "libs" | ||
14 | DEPENDS = "libxml2" | ||
15 | |||
16 | SRC_URI = "https://download.gnome.org/sources/libxslt/1.1/libxslt-${PV}.tar.xz" | ||
17 | |||
18 | SRC_URI[sha256sum] = "85ca62cac0d41fc77d3f6033da9df6fd73d20ea2fc18b0a3609ffb4110e1baeb" | ||
19 | |||
20 | UPSTREAM_CHECK_REGEX = "libxslt-(?P<pver>\d+(\.\d+)+)\.tar" | ||
21 | |||
22 | CVE_STATUS[CVE-2022-29824] = "not-applicable-config: Static linking to libxml2 is not enabled." | ||
23 | |||
24 | S = "${WORKDIR}/libxslt-${PV}" | ||
25 | |||
26 | BINCONFIG = "${bindir}/xslt-config" | ||
27 | |||
28 | inherit autotools pkgconfig binconfig-disabled lib_package multilib_header | ||
29 | |||
30 | do_configure:prepend () { | ||
31 | # We don't DEPEND on binutils for ansidecl.h so ensure we don't use the header. | ||
32 | # This can be removed when upgrading to 1.1.34. | ||
33 | sed -i -e 's/ansidecl.h//' ${S}/configure.ac | ||
34 | |||
35 | # The timestamps in the 1.1.28 tarball are messed up causing this file to | ||
36 | # appear out of date. Touch it so that we don't try to regenerate it. | ||
37 | touch ${S}/doc/xsltproc.1 | ||
38 | } | ||
39 | |||
40 | EXTRA_OECONF = "--without-python --without-debug --without-crypto" | ||
41 | # older versions of this recipe had ${PN}-utils | ||
42 | RPROVIDES:${PN}-bin += "${PN}-utils" | ||
43 | RCONFLICTS:${PN}-bin += "${PN}-utils" | ||
44 | RREPLACES:${PN}-bin += "${PN}-utils" | ||
45 | |||
46 | # This is only needed until libxml can load the relocated catalog itself | ||
47 | do_install:append:class-native () { | ||
48 | create_wrapper ${D}/${bindir}/xsltproc XML_CATALOG_FILES=${sysconfdir}/xml/catalog | ||
49 | } | ||
50 | |||
51 | do_install:append () { | ||
52 | oe_multilib_header libxslt/xsltconfig.h | ||
53 | } | ||
54 | |||
55 | FILES:${PN} += "${libdir}/libxslt-plugins" | ||
56 | FILES:${PN}-dev += "${libdir}/xsltConf.sh" | ||
57 | |||
58 | BBCLASSEXTEND = "native nativesdk" | ||