gnome-disk-utility: use PACKAGECONFIG for nautilus extension
authorChristopher Larson <chris_larson@mentor.com>
Fri, 7 Jun 2013 23:29:43 +0000 (23:29 +0000)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:30:57 +0000 (08:30 -0800)
(From meta-openembedded rev: 792a2b7fc06f2707d7941b9acb42f0ba81d15d55)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-openembedded/meta-gnome/recipes-gnome/gnome-disk-utility/gnome-disk-utility_2.32.0.bb

index ac4a759..58beb63 100644 (file)
@@ -3,7 +3,7 @@ DESCRIPTION = "GNOME disk utility"
 LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=e9115d11797a5e6b746b4e9b90194564"
 
-DEPENDS = "glib-2.0 gtk+ libnotify libunique udisks avahi-ui virtual/libx11 libatasmart nautilus"
+DEPENDS = "glib-2.0 gtk+ libnotify libunique udisks avahi-ui virtual/libx11 libatasmart"
 
 PR = "r4"
 
@@ -20,6 +20,9 @@ SRC_URI += "\
 
 EXTRA_OECONF += "--disable-scrollkeeper"
 
+PACKAGECONFIG ??= "nautilus"
+PACKAGECONFIG[nautilus] = "--enable-nautilus-extension,--disable-nautilus-extension,nautilus"
+
 do_configure_prepend() {
     sed -i -e "s: help : :g" ${S}/Makefile.am
 }