Skip to contentSkip to conversation

file-roller: Add packagekit support via packageconfig

PATCH New Khem Raj 1 participant 1 message Apr 13, 2020

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 file-roller: Add packagekit support via packageconfig

Enable packagekit support only when x11 is in distro features

Fixes

../file-roller-3.32.4/src/dlg-package-installer.c:26:10: fatal error: 'gdk/gdkx.h' file not found

         ^~~~~~~~~~~~

1 error generated.

---
 meta-gnome/recipes-gnome/file-roller/file-roller_3.32.4.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-gnome/recipes-gnome/file-roller/file-roller_3.32.4.bb +3 -0
index 0e57848c5c..a95735c9b9 100644
@@ -16,7 +16,10 @@ inherit gnomebase gsettings itstool gnome-help gettext upstream-version-is-even
 SRC_URI[archive.md5sum] = "21982b8d298cb2994a99494399dcb2d5"
 SRC_URI[archive.sha256sum] = "1b3b2cbfcb444e0d150bfd063add9d5181c8ab24f0593e5a8894399297214017"
 
+PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'packagekit', '', d)}"
+
 PACKAGECONFIG[nautilus] = "-Dnautilus-actions=true,-Dnautilus-actions=false,nautilus"
+PACKAGECONFIG[packagekit] = "-Dpackagekit=true,-Dpackagekit=false,"
 
 FILES_${PN} += " \
     ${datadir}/dbus-1 \
Signature · 1 line
2.26.0