blob: 6ccd9fb26650e63fac042388de6be58a473fbde8 [file] [log] [blame]
SUMMARY = "Exif, Iptc and XMP metadata manipulation library and tools"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=625f055f41728f84a8d7938acc35bdc2"
DEPENDS = "zlib expat"
SRC_URI = "https://github.com/Exiv2/${BPN}/releases/download/v${PV}/${BP}-Source.tar.gz"
SRC_URI[sha256sum] = "4c192483a1125dc59a3d70b30d30d32edace9e14adf52802d2f853abf72db8a6"
# Once patch is obsolete (project should be aware due to PRs), dos2unix can be removed either
# inherit dos2unix
S = "${WORKDIR}/${BP}-Source"
inherit cmake gettext
do_install:append:class-target() {
# reproducibility: remove build host path
sed -i ${D}${libdir}/cmake/exiv2/exiv2Config.cmake \
-e 's:${STAGING_DIR_HOST}::g'
}