summaryrefslogtreecommitdiff
path: root/meta/packages/xorg-app/xorg-app-common.inc
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2007-05-09 15:19:45 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2007-05-09 15:19:45 +0000
commitc91e54338f7d6015b361194efc603858d1294076 (patch)
treec558fba922011ea7181d7b744116f26bf19e7e0d /meta/packages/xorg-app/xorg-app-common.inc
parentc23dbdf3cf9b93faac90539c0c10fe3207536420 (diff)
downloadopenembedded-core-c91e54338f7d6015b361194efc603858d1294076.tar.gz
openembedded-core-c91e54338f7d6015b361194efc603858d1294076.tar.bz2
openembedded-core-c91e54338f7d6015b361194efc603858d1294076.zip
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
Diffstat (limited to 'meta/packages/xorg-app/xorg-app-common.inc')
-rw-r--r--meta/packages/xorg-app/xorg-app-common.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/packages/xorg-app/xorg-app-common.inc b/meta/packages/xorg-app/xorg-app-common.inc
index ea024cb331..a33d107675 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}"