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 11SRCREV = "c5a30e9267068436a75b5d00fcbf95cb9c1f4dcd" 12SRC_URI = "git://github.com/libimobiledevice/libplist;protocol=https;branch=master" 13 14S = "${WORKDIR}/git" 15 16CVE_CHECK_IGNORE += "\ 17 CVE-2017-5834 \ 18 CVE-2017-5835 \ 19 CVE-2017-5836 \ 20" 21 22do_install:append () { 23 if [ -e ${D}${libdir}/python*/site-packages/plist/_plist.so ]; then 24 chrpath -d ${D}${libdir}/python*/site-packages/plist/_plist.so 25 fi 26} 27 28PACKAGES =+ "${PN}-utils \ 29 ${PN}++ \ 30 ${PN}-python" 31 32FILES:${PN} = "${libdir}/libplist-2.0${SOLIBS}" 33FILES:${PN}++ = "${libdir}/libplist++-2.0${SOLIBS}" 34FILES:${PN}-utils = "${bindir}/*" 35FILES:${PN}-python = "${libdir}/python*/site-packages/*" 36