From 85b0b10bb1a62e77ff6d51f09856c8cfeb70eecf Mon Sep 17 00:00:00 2001 From: Markus Volk Date: Sat, 23 Sep 2023 02:10:23 +0200 Subject: gexiv: Upgrade 0.14.0 -> 0.14.2 - enable vapi build - delete removed meson option Signed-off-by: Markus Volk Signed-off-by: Khem Raj --- meta-gnome/recipes-gnome/gexiv2/gexiv2_0.14.0.bb | 28 ------------------------ meta-gnome/recipes-gnome/gexiv2/gexiv2_0.14.2.bb | 27 +++++++++++++++++++++++ 2 files changed, 27 insertions(+), 28 deletions(-) delete mode 100644 meta-gnome/recipes-gnome/gexiv2/gexiv2_0.14.0.bb create mode 100644 meta-gnome/recipes-gnome/gexiv2/gexiv2_0.14.2.bb (limited to 'meta-gnome') diff --git a/meta-gnome/recipes-gnome/gexiv2/gexiv2_0.14.0.bb b/meta-gnome/recipes-gnome/gexiv2/gexiv2_0.14.0.bb deleted file mode 100644 index fed29da0f..000000000 --- a/meta-gnome/recipes-gnome/gexiv2/gexiv2_0.14.0.bb +++ /dev/null @@ -1,28 +0,0 @@ -SUMMARY = "A GObject-based Exiv2 wrapper" -LICENSE = "GPL-2.0-only" -LIC_FILES_CHKSUM = "file://COPYING;md5=625f055f41728f84a8d7938acc35bdc2" - -DEPENDS = "exiv2 python3-pygobject-native" - -GNOMEBASEBUILDCLASS = "meson" -GTKDOC_MESON_OPTION = "gtk_doc" - -inherit gnomebase gobject-introspection gtk-doc python3native - -SRC_URI[archive.sha256sum] = "e58279a6ff20b6f64fa499615da5e9b57cf65ba7850b72fafdf17221a9d6d69e" - -EXTRA_OEMESON = " \ - -Dvapi=false \ - -Dpython3_girdir=${PYTHON_SITEPACKAGES_DIR}/gi/overrides \ -" - -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 -} diff --git a/meta-gnome/recipes-gnome/gexiv2/gexiv2_0.14.2.bb b/meta-gnome/recipes-gnome/gexiv2/gexiv2_0.14.2.bb new file mode 100644 index 000000000..15091d4cd --- /dev/null +++ b/meta-gnome/recipes-gnome/gexiv2/gexiv2_0.14.2.bb @@ -0,0 +1,27 @@ +SUMMARY = "A GObject-based Exiv2 wrapper" +LICENSE = "GPL-2.0-only" +LIC_FILES_CHKSUM = "file://COPYING;md5=625f055f41728f84a8d7938acc35bdc2" + +DEPENDS = "exiv2 python3-pygobject-native" + +GNOMEBASEBUILDCLASS = "meson" +GTKDOC_MESON_OPTION = "gtk_doc" + +inherit gnomebase gobject-introspection gtk-doc python3native vala + +SRC_URI[archive.sha256sum] = "2a0c9cf48fbe8b3435008866ffd40b8eddb0667d2212b42396fdf688e93ce0be" + +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 +} -- cgit v1.2.3-54-g00ecf