Patchwork [OE-core,03/10] gtk.inc: Split x11 dependency relationship from DEPENDS

login
register
mail settings
Submitter Xiaofeng Yan
Date Dec. 6, 2011, 6:58 a.m.
Message ID <d7517a289b581675bf56af73d5c78bc92255be30.1323141676.git.xiaofeng.yan@windriver.com>
Download mbox | patch
Permalink /patch/16217/
State Not Applicable
Headers show

Comments

Xiaofeng Yan - Dec. 6, 2011, 6:58 a.m.
From: Xiaofeng Yan <xiaofeng.yan@windriver.com>

DEPENDS has some packages related to x11.
I define a variable "X11DEPENDS" to inlude these packages.

[YOCTO #1674]

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
---
 meta/recipes-gnome/gtk+/gtk+.inc |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

Patch

diff --git a/meta/recipes-gnome/gtk+/gtk+.inc b/meta/recipes-gnome/gtk+/gtk+.inc
index 0e5c45c..39a4f4a 100644
--- a/meta/recipes-gnome/gtk+/gtk+.inc
+++ b/meta/recipes-gnome/gtk+/gtk+.inc
@@ -9,9 +9,10 @@  LICENSE = "LGPLv2 & LGPLv2+ & LGPLv2.1+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7"
 
 SECTION = "libs"
-DEPENDS = "glib-2.0 pango atk jpeg libpng libxext libxcursor \
-           gtk-doc-native docbook-utils-native libxrandr libgcrypt \
-           libxdamage libxrender libxcomposite cairo gdk-pixbuf"
+
+X11DEPENDS = "virtual/libx11 libxext libxcursor libxrandr libxdamage libxrender libxcomposite"
+DEPENDS = "glib-2.0 pango atk jpeg libpng gtk-doc-native gdk-pixbuf-native docbook-utils-native \
+           libgcrypt cairo gdk-pixbuf ${X11DEPENDS}"
 
 inherit autotools pkgconfig