From 9cf807f53af988f42ef7742ead58f78bcb869c10 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 28 Apr 2011 16:37:20 -0700 Subject: libx11: Use inherit gettext Avoid direct depependency on gettext, inherit class instead Signed-off-by: Khem Raj --- meta/recipes-graphics/xorg-lib/libx11_1.3.4.bb | 3 ++- meta/recipes-graphics/xorg-lib/libx11_git.bb | 6 ++++-- 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 c572d5e1f..08ba07b06 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 a976a16cd..aa69f4aeb 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" -- cgit v1.2.3