summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/exiv2/exiv2_0.28.8.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-support/exiv2/exiv2_0.28.8.bb')
-rw-r--r--meta-oe/recipes-support/exiv2/exiv2_0.28.8.bb38
1 files changed, 38 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/exiv2/exiv2_0.28.8.bb b/meta-oe/recipes-support/exiv2/exiv2_0.28.8.bb
new file mode 100644
index 0000000000..df0e72f5d6
--- /dev/null
+++ b/meta-oe/recipes-support/exiv2/exiv2_0.28.8.bb
@@ -0,0 +1,38 @@
1SUMMARY = "Exif, Iptc and XMP metadata manipulation library and tools"
2LICENSE = "GPL-2.0-only"
3LIC_FILES_CHKSUM = "file://COPYING;md5=625f055f41728f84a8d7938acc35bdc2"
4
5DEPENDS = "zlib expat brotli libinih"
6
7SRC_URI = "git://github.com/Exiv2/exiv2.git;protocol=https;branch=0.28.x;tag=v${PV} \
8 file://run-ptest \
9 file://0001-Use-automake-output-for-tests.patch \
10 file://0001-Allow-test-data-path-configuration.patch \
11 "
12SRCREV = "2cd987a731236037b6b78cbff897d08685a8ef49"
13
14inherit cmake gettext ptest
15
16PACKAGECONFIG ??= "${@bb.utils.contains('PTEST_ENABLED', '1', 'test unittest', '', d)}"
17PACKAGECONFIG[test] = "-DEXIV2_BUILD_SAMPLES=ON -DEXIV2_ENABLE_WEBREADY=ON"
18PACKAGECONFIG[unittest] = "-DEXIV2_BUILD_UNIT_TESTS=ON -DTEST_FOLDER=${PTEST_PATH},,googletest"
19
20RDEPENDS:${PN}-ptest += " \
21 python3-html \
22 python3-json \
23 python3-lxml \
24 python3-multiprocessing \
25 python3-shell \
26 python3-unittest \
27 python3-unittest-automake-output"
28
29do_install_ptest(){
30 cp -r ${S}/tests ${D}${PTEST_PATH}/
31 cp -r ${S}/test ${D}${PTEST_PATH}/
32
33 install -d ${D}${PTEST_PATH}/build/bin
34 install ${B}/bin/* ${D}${PTEST_PATH}/build/bin
35
36 install -d ${D}${PTEST_PATH}/src
37 install ${S}/src/canonmn_int.cpp ${D}${PTEST_PATH}/src
38}