- add PACKAGECONFIG for DOC
-remove references to TMPDIR

Signed-off-by: Markus Volk <[email protected]>
---
 .../gnome-photos/gnome-photos_43.0.bb         | 19 +++++++++++++++----
 1 file changed, 15 insertions(+), 4 deletions(-)

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 c87823ce3..d9f71806c 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
+}
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#99952): 
https://lists.openembedded.org/g/openembedded-devel/message/99952
Mute This Topic: https://lists.openembedded.org/mt/95469973/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to