poky/meta/recipes-support/libexif/libexif_0.6.25.bb
Richard Purdie 1e7ead38a0 libexif: upgrade 0.6.24 -> 0.6.25
(From OE-Core rev: 3914200a88c1139ad84390fb1b1a9682a01babf3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-05 12:49:55 +00:00

48 lines
1.5 KiB
BlitzBasic

SUMMARY = "Library for reading extended image information (EXIF) from JPEG files"
DESCRIPTION = "libexif is a library for parsing, editing, and saving EXIF data. It is \
intended to replace lots of redundant implementations in command-line \
utilities and programs with GUIs."
HOMEPAGE = "https://libexif.github.io/"
SECTION = "libs"
LICENSE = "LGPL-2.1-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=243b725d71bb5df4a1e5920b344b86ad"
SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/libexif-${PV}.tar.bz2 \
file://0001-Add-serial-tests-config-needed-by-ptest.patch \
file://run-ptest \
"
SRC_URI[sha256sum] = "7c9eba99aed3e6594d8c3e85861f1c6aaf450c218621528bc989d3b3e7a26307"
inherit autotools gettext github-releases ptest
EXTRA_OECONF += "--disable-docs"
do_compile_ptest() {
oe_runmake -C test buildtest-TESTS
}
do_install_ptest() {
install ${B}/test/test*[!\.o] ${D}${PTEST_PATH}
for f in ${D}${PTEST_PATH}/test*; do
sed -i "s/\(LD_LIBRARY_PATH=\).*\(:\$LD_LIBRARY_PATH\)\"/\1.\2/" $f
done
install ${B}/test/Makefile ${D}${PTEST_PATH}
sed -i -e "/^srcdir/c srcdir = \$\{PWD\}" ${D}${PTEST_PATH}/Makefile
install -d ${D}${PTEST_PATH}/nls
install ${B}/test/nls/*[!\.o] ${D}${PTEST_PATH}/nls
install -d ${D}${PTEST_PATH}/.libs
install ${B}/test/.libs/* ${D}${PTEST_PATH}/.libs
install ${S}/test/*.sh ${D}${PTEST_PATH}
install -d ${D}${PTEST_PATH}/testdata
install ${S}/test/testdata/* ${D}${PTEST_PATH}/testdata
}
RDEPENDS:${PN}-ptest += "make bash"
BBCLASSEXTEND = "native nativesdk"