From ee1be44976fcb8d584fee5f5c30f4f95abec76ed Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 31 Mar 2011 20:59:32 -0700 Subject: xorg-lib: inherit gettext class instead of adding gettext to DEPENDS directly Signed-off-by: Khem Raj --- meta/recipes-graphics/xorg-lib/libxau_1.0.6.bb | 4 +++- meta/recipes-graphics/xorg-lib/libxdmcp_1.1.0.bb | 4 ++-- meta/recipes-graphics/xorg-lib/xtrans_1.2.6.bb | 3 ++- 3 files changed, 7 insertions(+), 4 deletions(-) (limited to 'meta/recipes-graphics') diff --git a/meta/recipes-graphics/xorg-lib/libxau_1.0.6.bb b/meta/recipes-graphics/xorg-lib/libxau_1.0.6.bb index 79078efddd..793008b797 100644 --- a/meta/recipes-graphics/xorg-lib/libxau_1.0.6.bb +++ b/meta/recipes-graphics/xorg-lib/libxau_1.0.6.bb @@ -6,10 +6,12 @@ both client-side and server-side." require xorg-lib-common.inc +inherit gettext + LICENSE = "MIT-style" LIC_FILES_CHKSUM = "file://COPYING;md5=7908e342491198401321cec1956807ec" -DEPENDS += " xproto gettext" +DEPENDS += " xproto" PROVIDES = "xau" PR = "r0" diff --git a/meta/recipes-graphics/xorg-lib/libxdmcp_1.1.0.bb b/meta/recipes-graphics/xorg-lib/libxdmcp_1.1.0.bb index d897dab0f5..483dce3aea 100644 --- a/meta/recipes-graphics/xorg-lib/libxdmcp_1.1.0.bb +++ b/meta/recipes-graphics/xorg-lib/libxdmcp_1.1.0.bb @@ -8,6 +8,8 @@ autonomous display." require xorg-lib-common.inc +inherit gettext + LICENSE = "MIT-style" LIC_FILES_CHKSUM = "file://COPYING;md5=d559fb26e129626022e052a5e6e0e123" @@ -17,8 +19,6 @@ PROVIDES = "xdmcp" PR = "r0" PE = "1" -DEPENDS += "gettext" - XORG_PN = "libXdmcp" BBCLASSEXTEND = "native nativesdk" diff --git a/meta/recipes-graphics/xorg-lib/xtrans_1.2.6.bb b/meta/recipes-graphics/xorg-lib/xtrans_1.2.6.bb index 335f020a26..19abe5a317 100644 --- a/meta/recipes-graphics/xorg-lib/xtrans_1.2.6.bb +++ b/meta/recipes-graphics/xorg-lib/xtrans_1.2.6.bb @@ -16,7 +16,8 @@ PE = "1" PR = "r0" RDEPENDS_${PN}-dev = "" -DEPENDS += "gettext" + +inherit gettext BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3