summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-extended/libimobiledevice/libplist_git.bb37
1 files changed, 37 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/libimobiledevice/libplist_git.bb b/meta-oe/recipes-extended/libimobiledevice/libplist_git.bb
new file mode 100644
index 0000000000..82f3e4d0c9
--- /dev/null
+++ b/meta-oe/recipes-extended/libimobiledevice/libplist_git.bb
@@ -0,0 +1,37 @@
1SUMMARY = "A library to handle Apple Property List format whereas it's binary or XML"
2HOMEPAGE = "https://github.com/libimobiledevice/libplist"
3LICENSE = "GPL-2.0-only & LGPL-2.1-only"
4LIC_FILES_CHKSUM = "file://COPYING;md5=ebb5c50ab7cab4baeffba14977030c07 \
5 file://COPYING.LESSER;md5=6ab17b41640564434dda85c06b7124f7"
6
7DEPENDS = "libxml2 glib-2.0 swig python3"
8
9inherit autotools pkgconfig python3native python3targetconfig
10
11PV = "2.2.0+git${SRCPV}"
12
13SRCREV = "db93bae96d64140230ad050061632531644c46ad"
14SRC_URI = "git://github.com/libimobiledevice/libplist;protocol=https;branch=master"
15
16S = "${WORKDIR}/git"
17
18CVE_CHECK_IGNORE += "\
19 CVE-2017-5834 \
20 CVE-2017-5835 \
21 CVE-2017-5836 \
22"
23
24do_install:append () {
25 if [ -e ${D}${libdir}/python*/site-packages/plist/_plist.so ]; then
26 chrpath -d ${D}${libdir}/python*/site-packages/plist/_plist.so
27 fi
28}
29
30PACKAGES =+ "${PN}-utils \
31 ${PN}++ \
32 ${PN}-python"
33
34FILES:${PN} = "${libdir}/libplist-2.0${SOLIBS}"
35FILES:${PN}++ = "${libdir}/libplist++-2.0${SOLIBS}"
36FILES:${PN}-utils = "${bindir}/*"
37FILES:${PN}-python = "${libdir}/python*/site-packages/*"