Liu Yiding fb8bdc2ab2
gexiv2: upgrade 0.14.5 -> 0.14.6
Changelog:
===========
- Fix memory leak when calling open_* multiple times
- ci: Add fmt to flatpak builder
- Fix gexiv2_metadata_get_xmp_tag_multiple returning incorrect value
- tests: Add test for #87
- tests: Add missing file

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-21 22:43: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] = "606c28aaae7b1f3ef5c8eabe5e7dffd7c5a1c866d25b7671fb847fe287a72b8b"
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 code in generated sources to ensure reproducibility
sed -i -e "s,${B}/../sources/${BP},${TARGET_DBGSRC_DIR},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
}