Andrew Geissler | c5535c9 | 2023-01-27 16:10:19 -0600 | [diff] [blame] | 1 | SUMMARY = "Exif, Iptc and XMP metadata manipulation library and tools" |
| 2 | LICENSE = "GPL-2.0-only" |
| 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=625f055f41728f84a8d7938acc35bdc2" |
| 4 | |
| 5 | DEPENDS = "zlib expat" |
| 6 | |
| 7 | SRC_URI = "https://github.com/Exiv2/${BPN}/releases/download/v${PV}/${BP}-Source.tar.gz" |
| 8 | SRC_URI[sha256sum] = "4c192483a1125dc59a3d70b30d30d32edace9e14adf52802d2f853abf72db8a6" |
| 9 | # Once patch is obsolete (project should be aware due to PRs), dos2unix can be removed either |
| 10 | # inherit dos2unix |
| 11 | S = "${WORKDIR}/${BP}-Source" |
| 12 | |
| 13 | inherit cmake gettext |
| 14 | |
| 15 | do_install:append:class-target() { |
| 16 | # reproducibility: remove build host path |
| 17 | sed -i ${D}${libdir}/cmake/exiv2/exiv2Config.cmake \ |
| 18 | -e 's:${STAGING_DIR_HOST}::g' |
| 19 | } |