Patchwork [1/2] evince: make nautilus extension a PACKAGECONFIG and disable by default

login
register
mail settings
Submitter Andreas Müller
Date April 16, 2014, 7:32 a.m.
Message ID <1397633550-19323-2-git-send-email-schnitzeltony@googlemail.com>
Download mbox | patch
Permalink /patch/70613/
State Accepted, archived
Headers show

Comments

Andreas Müller - April 16, 2014, 7:32 a.m.
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
 meta-gnome/recipes-gnome/evince/evince_2.32.0.bb | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Patch

diff --git a/meta-gnome/recipes-gnome/evince/evince_2.32.0.bb b/meta-gnome/recipes-gnome/evince/evince_2.32.0.bb
index 263765f..5aa485e 100644
--- a/meta-gnome/recipes-gnome/evince/evince_2.32.0.bb
+++ b/meta-gnome/recipes-gnome/evince/evince_2.32.0.bb
@@ -2,7 +2,7 @@  SUMMARY = "Evince is a document viewer for document formats like pdf, ps, djvu"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=96f2f8d5ee576a2163977938ea36fa7b"
 SECTION = "x11/office"
-DEPENDS = "gnome-icon-theme gnome-doc-utils-native libgnome-keyring nautilus tiff libxt ghostscript poppler libxml2 gtk+ gconf libglade"
+DEPENDS = "gnome-icon-theme gnome-doc-utils-native libgnome-keyring tiff libxt ghostscript poppler libxml2 gtk+ gconf libglade"
 
 PR = "r5"
 
@@ -17,7 +17,6 @@  SRC_URI[archive.md5sum] = "ebc3ce6df8dcbf29cb9492f8dd031319"
 SRC_URI[archive.sha256sum] = "2a4c91ae38f8b5028cebb91b9da9ddc50ea8ae3f3d429df89ba351da2d787ff7"
 
 EXTRA_OECONF = " --enable-thumbnailer \
-                 --enable-nautilus \
                  --disable-scrollkeeper \
                  --enable-pixbuf \
                  --disable-help \
@@ -28,6 +27,9 @@  do_install_append() {
     install -m 0755 ${S}/data/icons/48x48/apps/evince.png ${D}${datadir}/pixmaps/
 }
 
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[nautilus] = "--enable-nautilus,--disable-nautilus,nautilus"
+
 RDEPENDS_${PN} += "glib-2.0-utils"
 
 PACKAGES =+ "${PN}-nautilus-extension"