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" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 3 | LICENSE = "GPLv2 & LGPLv2.1" |
| 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 | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 9 | inherit autotools pkgconfig python3native |
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" |
| 12 | SRC_URI = "git://github.com/libimobiledevice/libplist;protocol=https" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 13 | |
| 14 | S = "${WORKDIR}/git" |
| 15 | |
| 16 | do_install_append () { |
| 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 | |
| 26 | FILES_${PN} = "${libdir}/libplist-2.0${SOLIBS}" |
| 27 | FILES_${PN}++ = "${libdir}/libplist++-2.0${SOLIBS}" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 28 | FILES_${PN}-utils = "${bindir}/*" |
| 29 | FILES_${PN}-python = "${libdir}/python*/site-packages/*" |