Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 1 | SUMMARY = "A library to handle Apple Property List format whereas it's binary or XML" |
Andrew Geissler | bffdb3e | 2020-08-21 16:13:29 -0500 | [diff] [blame] | 2 | HOMEPAGE = "https://github.com/libimobiledevice/libplist" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame^] | 3 | LICENSE = "GPL-2.0-only & LGPL-2.1-only" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=ebb5c50ab7cab4baeffba14977030c07 \ |
| 5 | file://COPYING.LESSER;md5=6ab17b41640564434dda85c06b7124f7" |
| 6 | |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 7 | DEPENDS = "libxml2 glib-2.0 swig python3" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 8 | |
Andrew Geissler | 4b7c115 | 2020-11-30 19:55:29 -0600 | [diff] [blame] | 9 | inherit autotools pkgconfig python3native python3targetconfig |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 10 | |
Andrew Geissler | bffdb3e | 2020-08-21 16:13:29 -0500 | [diff] [blame] | 11 | SRCREV = "c5a30e9267068436a75b5d00fcbf95cb9c1f4dcd" |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 12 | SRC_URI = "git://github.com/libimobiledevice/libplist;protocol=https;branch=master" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 13 | |
| 14 | S = "${WORKDIR}/git" |
| 15 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 16 | do_install:append () { |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 17 | if [ -e ${D}${libdir}/python*/site-packages/plist/_plist.so ]; then |
| 18 | chrpath -d ${D}${libdir}/python*/site-packages/plist/_plist.so |
| 19 | fi |
| 20 | } |
| 21 | |
Andrew Geissler | bffdb3e | 2020-08-21 16:13:29 -0500 | [diff] [blame] | 22 | PACKAGES =+ "${PN}-utils \ |
| 23 | ${PN}++ \ |
| 24 | ${PN}-python" |
| 25 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 26 | FILES:${PN} = "${libdir}/libplist-2.0${SOLIBS}" |
| 27 | FILES:${PN}++ = "${libdir}/libplist++-2.0${SOLIBS}" |
| 28 | FILES:${PN}-utils = "${bindir}/*" |
| 29 | FILES:${PN}-python = "${libdir}/python*/site-packages/*" |