Re: [PATCH 19/28] libmediaart-2.0: upgrade 1.9.4 -> 1.9.5 / merge inc file / build with meson


Martin Jansa
 

Hi,

rygel and packagegroup-meta-multimedia.bb should be updated to respect gobject-introspection-data restriction, now world builds are failing with:

ERROR: Nothing PROVIDES 'libmediaart-2.0' (but meta-openembedded/meta-multimedia/recipes-connectivity/rygel/rygel_0.38.3.bb DEPENDS on or otherwise requires it)
libmediaart-2.0 was skipped: missing required distro feature 'gobject-introspection-data' (not in DISTRO_FEATURES)

ERROR: Nothing RPROVIDES 'rygel' (but meta-openembedded/meta-multimedia/recipes-connectivity/rygel/rygel_0.38.3.bb, meta-openembedded/meta-multimedia/recipes-multimedia/packagegroups/packagegroup-meta-multimedia.bb RDEPENDS on or otherwise requires it)
No eligible RPROVIDERs exist for 'rygel'
NOTE: Runtime target 'rygel' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['rygel']

On Wed, Jun 9, 2021 at 8:39 AM Andreas Müller <schnitzeltony@...> wrote:
NEW in 1.9.5 - 2021-05-22
=========================
  * libmediaart: Remove QT4 support
  * libmediaart: Mandate that input strings are UTF8
  * extract: Remove local storage
  * build: Drop autotools support
  * build: Update to recent glib API
  * build: introspection fixes
  * build: Added CI

Signed-off-by: Andreas Müller <schnitzeltony@...>
---
 .../libmediaart/libmediaart-2.0_1.9.4.bb      |  7 ------
 .../libmediaart/libmediaart-2.0_1.9.5.bb      | 23 +++++++++++++++++++
 .../libmediaart/libmediaart.inc               | 12 ----------
 3 files changed, 23 insertions(+), 19 deletions(-)
 delete mode 100644 meta-multimedia/recipes-support/libmediaart/libmediaart-2.0_1.9.4.bb
 create mode 100644 meta-multimedia/recipes-support/libmediaart/libmediaart-2.0_1.9.5.bb
 delete mode 100644 meta-multimedia/recipes-support/libmediaart/libmediaart.inc

diff --git a/meta-multimedia/recipes-support/libmediaart/libmediaart-2.0_1.9.4.bb b/meta-multimedia/recipes-support/libmediaart/libmediaart-2.0_1.9.4.bb
deleted file mode 100644
index 56a7873fc..000000000
--- a/meta-multimedia/recipes-support/libmediaart/libmediaart-2.0_1.9.4.bb
+++ /dev/null
@@ -1,7 +0,0 @@
-require libmediaart.inc
-
-SRC_URI = "${GNOME_MIRROR}/libmediaart/1.9/libmediaart-${PV}.tar.xz"
-SRC_URI[md5sum] = "9b960a6a764fba38135fb57219f2e6b4"
-SRC_URI[sha256sum] = "a57be017257e4815389afe4f58fdacb6a50e74fd185452b23a652ee56b04813d"
-
-S = "${WORKDIR}/libmediaart-${PV}"
diff --git a/meta-multimedia/recipes-support/libmediaart/libmediaart-2.0_1.9.5.bb b/meta-multimedia/recipes-support/libmediaart/libmediaart-2.0_1.9.5.bb
new file mode 100644
index 000000000..31fe43bfa
--- /dev/null
+++ b/meta-multimedia/recipes-support/libmediaart/libmediaart-2.0_1.9.5.bb
@@ -0,0 +1,23 @@
+SUMMARY = "Library tasked with managing, extracting and handling media art caches"
+
+LICENSE = "LGPLv2+ & GPLv2+"
+LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=4fbd65380cdd255951079008b364516c \
+                    file://libmediaart/extract.c;endline=18;md5=dff2b6328ab067b5baadc135f9876c36 \
+                    file://tests/mediaarttest.c;endline=18;md5=067106eaa1f7a9d918759a096667f18e"
+
+DEPENDS = "glib-2.0 gdk-pixbuf"
+
+GNOMEBASEBUILDCLASS = "meson"
+
+inherit gnomebase gobject-introspection vala features_check
+
+SRC_URI = "${GNOME_MIRROR}/libmediaart/1.9/libmediaart-${PV}.tar.xz"
+SRC_URI[sha256sum] = "07def5a42c482ae71d3e1f77a4d0fdc337f74226059a65284d6d5a241f0e9cd6"
+
+S = "${WORKDIR}/libmediaart-${PV}"
+
+# gobject-introspection is mandatory and cannot be configured
+REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
+UNKNOWN_CONFIGURE_WHITELIST = "introspection"
+
+EXTRA_OEMESON = "-Dimage_library=gdk-pixbuf"
diff --git a/meta-multimedia/recipes-support/libmediaart/libmediaart.inc b/meta-multimedia/recipes-support/libmediaart/libmediaart.inc
deleted file mode 100644
index c7b368de3..000000000
--- a/meta-multimedia/recipes-support/libmediaart/libmediaart.inc
+++ /dev/null
@@ -1,12 +0,0 @@
-SUMMARY = "Library tasked with managing, extracting and handling media art caches"
-
-LICENSE = "LGPLv2+ & GPLv2+"
-LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=4fbd65380cdd255951079008b364516c \
-                    file://libmediaart/extract.c;endline=18;md5=dff2b6328ab067b5baadc135f9876c36 \
-                    file://tests/mediaarttest.c;endline=18;md5=067106eaa1f7a9d918759a096667f18e"
-
-DEPENDS = "glib-2.0 gdk-pixbuf"
-
-inherit gnomebase gtk-doc gobject-introspection
-
-EXTRA_OECONF = "--disable-qt --enable-gdkpixbuf"
--
2.31.1




Join openembedded-devel@lists.openembedded.org to automatically receive all group messages.