From 8c58f419c299fe3764482ebe4f366e25533ea23f Mon Sep 17 00:00:00 2001 From: Markus Volk Date: Mon, 5 Dec 2022 15:47:13 +0100 Subject: gnome-photos: update dependencies - add PACKAGECONFIG for DOC -remove references to TMPDIR Signed-off-by: Markus Volk Signed-off-by: Khem Raj --- .../recipes-gnome/gnome-photos/gnome-photos_43.0.bb | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) (limited to 'meta-gnome') diff --git a/meta-gnome/recipes-gnome/gnome-photos/gnome-photos_43.0.bb b/meta-gnome/recipes-gnome/gnome-photos/gnome-photos_43.0.bb index c87823ce31..d9f71806c8 100644 --- a/meta-gnome/recipes-gnome/gnome-photos/gnome-photos_43.0.bb +++ b/meta-gnome/recipes-gnome/gnome-photos/gnome-photos_43.0.bb @@ -4,19 +4,19 @@ LICENSE = "GPL-3.0-only" LIC_FILES_CHKSUM = "file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464" DEPENDS = " \ + cairo \ glib-2.0-native \ gdk-pixbuf-native \ librsvg-native \ gtk+3 \ babl \ + dbus \ gegl \ geocode-glib \ + gexiv2 \ gnome-online-accounts \ - grilo \ gsettings-desktop-schemas \ libdazzle \ - libgdata \ - gfbgraph \ tracker \ libhandy \ libportal \ @@ -31,6 +31,9 @@ def gnome_verdir(v): REQUIRED_DISTRO_FEATURES = "x11" +PACKAGECONFIG ?= "" +PACKAGECONFIG[doc] = "-Dmanuals=true,-Dmanuals=false,libxslt-native docbook-xsl-stylesheets-native" + SRC_URI[archive.sha256sum] = "c7ac7458d533f29d955011c74b76224d79ea31bcc12e9d6d0ce7b6c3704d08e1" do_install:append() { @@ -44,4 +47,12 @@ FILES:${PN} += " \ ${datadir}/gnome-shell \ " -RRECOMMENDS:${PN} = "grilo-plugins" +do_compile:append() { + # glib-mkenums is embedding full paths into this file. There's no + # option to it to use a sysroot style variable. So to avoid QA + # errors, we sed WORKDIR out and make its includes relative + sed -i "s|${B}||" src/photos-enums.h + sed -i "s|${B}||" src/photos-enums.c + sed -i "s|${B}||" src/photos-enums-gegl.c + sed -i "s|${B}||" src/photos-enums-gegl.h +} -- cgit v1.2.3-54-g00ecf