summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2007-05-09 16:56:25 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2007-05-09 16:56:25 +0000
commit082a34fa0b1840116109c88ad24a11f4bfa51484 (patch)
treec4b158faeb687522a8c2b751a2578631c0396f32
parentfbf85058e8a5aa3d4769b201761c7f5216348b57 (diff)
downloadopenembedded-core-082a34fa0b1840116109c88ad24a11f4bfa51484.tar.gz
openembedded-core-082a34fa0b1840116109c88ad24a11f4bfa51484.tar.bz2
openembedded-core-082a34fa0b1840116109c88ad24a11f4bfa51484.zip
xorg-proto-common: handle X11R7.2 and newer
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1683 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r--meta/packages/xorg-proto/xorg-proto-common.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/packages/xorg-proto/xorg-proto-common.inc b/meta/packages/xorg-proto/xorg-proto-common.inc
index 05a9c68e22..1dc4f12fc7 100644
--- a/meta/packages/xorg-proto/xorg-proto-common.inc
+++ b/meta/packages/xorg-proto/xorg-proto-common.inc
@@ -5,7 +5,8 @@ LICENSE = "MIT-X"
#DEPENDS = ""
XORG_PN = "${PN}"
-SRC_URI = "${XORG_MIRROR}/${@bb.data.getVar('PV', d, 1)[0:7]}/src/proto/${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}/proto/${XORG_PN}-${PV}.tar.bz2"
S = "${WORKDIR}/${XORG_PN}-${PV}"
inherit autotools pkgconfig