Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame^] | 1 | SUMMARY = "A library to handle Apple Property List format whereas it's binary or XML" |
| 2 | HOMEPAGE = "https://github.com/libimobiledevice/libplist" |
| 3 | LICENSE = "GPL-2.0-only & LGPL-2.1-only" |
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=ebb5c50ab7cab4baeffba14977030c07 \ |
| 5 | file://COPYING.LESSER;md5=6ab17b41640564434dda85c06b7124f7" |
| 6 | |
| 7 | DEPENDS = "libxml2 glib-2.0 swig python3" |
| 8 | |
| 9 | inherit autotools pkgconfig python3native python3targetconfig |
| 10 | |
| 11 | PV = "2.2.0+git${SRCPV}" |
| 12 | |
| 13 | SRCREV = "db93bae96d64140230ad050061632531644c46ad" |
| 14 | SRC_URI = "git://github.com/libimobiledevice/libplist;protocol=https;branch=master" |
| 15 | |
| 16 | S = "${WORKDIR}/git" |
| 17 | |
| 18 | CVE_CHECK_IGNORE += "\ |
| 19 | CVE-2017-5834 \ |
| 20 | CVE-2017-5835 \ |
| 21 | CVE-2017-5836 \ |
| 22 | " |
| 23 | |
| 24 | do_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 | |
| 30 | PACKAGES =+ "${PN}-utils \ |
| 31 | ${PN}++ \ |
| 32 | ${PN}-python" |
| 33 | |
| 34 | FILES:${PN} = "${libdir}/libplist-2.0${SOLIBS}" |
| 35 | FILES:${PN}++ = "${libdir}/libplist++-2.0${SOLIBS}" |
| 36 | FILES:${PN}-utils = "${bindir}/*" |
| 37 | FILES:${PN}-python = "${libdir}/python*/site-packages/*" |