Files
Wang Mingyu 30291d4537 gexiv2: upgrade 0.14.2 -> 0.14.3
Changelog:
=========
 * Prevent std::exception escaping from exiv2
 * Declare gexiv2_metadata_open_stream and _save_stream as deprecated
 * Documentation updates

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-07-01 08:01:58 -07:00

35 lines
1.1 KiB
BlitzBasic

SUMMARY = "A GObject-based Exiv2 wrapper"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=625f055f41728f84a8d7938acc35bdc2"
DEPENDS = "exiv2 python3-pygobject-native"
GTKDOC_MESON_OPTION = "gtk_doc"
inherit gnomebase gobject-introspection gtk-doc python3native vala
SRC_URI[archive.sha256sum] = "21e64d2c56e9b333d44fef3f2a4b25653d922c419acd972fa96fab695217e2c8"
EXTRA_OEMESON = " \
${@bb.utils.contains('GI_DATA_ENABLED', 'True', '-Dvapi=true', '-Dvapi=false', d)} \
"
PACKAGES =+ "${PN}-python3"
FILES:${PN}-python3 = "${PYTHON_SITEPACKAGES_DIR}"
RDEPENDS:${PN}-python3 = "${PN}"
PACKAGE_PREPROCESS_FUNCS += "src_package_preprocess"
src_package_preprocess () {
# Trim build paths from comments in generated sources to ensure reproducibility
sed -i -e "s,${B}/../${BPN}-${PV}/${BPN}/,,g" \
${B}/gexiv2/gexiv2-enums.cpp
}
do_install:append() {
# gexiv2 harcodes usr/lib as install path, so this corrects it to actual libdir
if [ "${prefix}/lib" != "${libdir}" ]; then
mv ${D}/${prefix}/lib/* ${D}/${libdir}/
rm -rf ${D}/${prefix}/lib
fi
}