From c91e54338f7d6015b361194efc603858d1294076 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Wed, 9 May 2007 15:19:45 +0000 Subject: xorg-app-common.inc: handle X11R7.2 and newer releases git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1636 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- meta/packages/xorg-app/xorg-app-common.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'meta/packages/xorg-app') diff --git a/meta/packages/xorg-app/xorg-app-common.inc b/meta/packages/xorg-app/xorg-app-common.inc index ea024cb33..a33d10767 100644 --- a/meta/packages/xorg-app/xorg-app-common.inc +++ b/meta/packages/xorg-app/xorg-app-common.inc @@ -1,11 +1,12 @@ DESCRIPTION = "X application" HOMEPAGE = "http://www.x.org" -SECTION = "x11/apps" +SECTION = "x11/applications" LICENSE = "MIT-X" DEPENDS = "util-macros" XORG_PN = "${PN}" -SRC_URI = "${XORG_MIRROR}/${@bb.data.getVar('PV', d, 1)[0:7]}/src/app/${XORG_PN}-${PV}.tar.gz" +XORG_RELEASE = "${@["individual",bb.data.getVar('PV', d, 1)[0:7]+"/src"][bb.data.getVar('PV', d, 1)[0:4] == "X11R"]}" +SRC_URI = "${XORG_MIRROR}/${XORG_RELEASE}/app/${XORG_PN}-${PV}.tar.bz2" S = "${WORKDIR}/${XORG_PN}-${PV}" FILES_${PN} += " /usr/lib/X11/${XORG_PN}" -- cgit v1.2.3