summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2011-04-28 16:37:20 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-05-04 00:52:49 +0100
commit9cf807f53af988f42ef7742ead58f78bcb869c10 (patch)
tree7130709b2efab8cd69f8ef2c980b158a63e21030
parent7d4cb46017616867dea589be03973897a02991eb (diff)
downloadopenembedded-core-9cf807f53af988f42ef7742ead58f78bcb869c10.tar.gz
openembedded-core-9cf807f53af988f42ef7742ead58f78bcb869c10.tar.bz2
openembedded-core-9cf807f53af988f42ef7742ead58f78bcb869c10.zip
libx11: Use inherit gettext
Avoid direct depependency on gettext, inherit class instead Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta/recipes-graphics/xorg-lib/libx11_1.3.4.bb3
-rw-r--r--meta/recipes-graphics/xorg-lib/libx11_git.bb6
2 files changed, 6 insertions, 3 deletions
diff --git a/meta/recipes-graphics/xorg-lib/libx11_1.3.4.bb b/meta/recipes-graphics/xorg-lib/libx11_1.3.4.bb
index c572d5e1f5..08ba07b06c 100644
--- a/meta/recipes-graphics/xorg-lib/libx11_1.3.4.bb
+++ b/meta/recipes-graphics/xorg-lib/libx11_1.3.4.bb
@@ -1,4 +1,5 @@
require libx11.inc
+inherit gettext
LICENSE = "MIT & MIT-style & BSD"
LIC_FILES_CHKSUM = "file://COPYING;md5=bf75bfe4d05068311b5e6862d4b5f2c5"
@@ -14,7 +15,7 @@ SRC_URI[md5sum] = "f65c9c7ecbfb64c19dbd7927160d63fd"
SRC_URI[sha256sum] = "88d7238ce5f7cd123450567de7a3b56a43556e4ccc45df38b8324147c889a844"
DEPENDS += "bigreqsproto xproto xextproto xtrans libxau xcmiscproto \
- libxdmcp xf86bigfontproto kbproto inputproto xproto-native gettext"
+ libxdmcp xf86bigfontproto kbproto inputproto xproto-native"
EXTRA_OECONF += "--without-xcb"
diff --git a/meta/recipes-graphics/xorg-lib/libx11_git.bb b/meta/recipes-graphics/xorg-lib/libx11_git.bb
index a976a16cd3..aa69f4aeb3 100644
--- a/meta/recipes-graphics/xorg-lib/libx11_git.bb
+++ b/meta/recipes-graphics/xorg-lib/libx11_git.bb
@@ -1,11 +1,13 @@
require libx11.inc
require libx11_git.inc
+inherit gettext
+
PR = "r2"
DEPENDS = "xproto xextproto xcmiscproto xf86bigfontproto kbproto inputproto \
- bigreqsproto xtrans libxau libxcb libxdmcp util-macros gettext"
+ bigreqsproto xtrans libxau libxcb libxdmcp util-macros"
DEFAULT_PREFERENCE = "-1"
-BBCLASSEXTEND = "nativesdk" \ No newline at end of file
+BBCLASSEXTEND = "nativesdk"