From patchwork Wed Apr 27 07:29:47 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [26/52] xorg-lib: inherit gettext class instead of adding gettext to DEPENDS directly Date: Wed, 27 Apr 2011 07:29:47 -0000 From: Saul Wold X-Patchwork-Id: 2941 Message-Id: To: openembedded-core@lists.openembedded.org Cc: Darren Hart , Chris Larson , Antonio Ospite From: Khem Raj 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(-) 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 79078ef..793008b 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 d897dab..483dce3 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 335f020..19abe5a 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"