summaryrefslogtreecommitdiff
path: root/meta/packages/xorg-lib
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2007-05-09 16:54:29 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2007-05-09 16:54:29 +0000
commit0a384c74a24f5813214e517b6b9d46ce667c7e0b (patch)
treeacd253d4aac8f8c4dbb4c32864e05961066e77a4 /meta/packages/xorg-lib
parent3bd8b94fbb6a6ac0979ec3193e6985cd060a9a19 (diff)
downloadopenembedded-core-0a384c74a24f5813214e517b6b9d46ce667c7e0b.tar.gz
openembedded-core-0a384c74a24f5813214e517b6b9d46ce667c7e0b.tar.bz2
openembedded-core-0a384c74a24f5813214e517b6b9d46ce667c7e0b.zip
xorg-lib-common: handle X11R7.2 and newer
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1674 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/xorg-lib')
-rw-r--r--meta/packages/xorg-lib/xorg-lib-common.inc7
1 files changed, 4 insertions, 3 deletions
diff --git a/meta/packages/xorg-lib/xorg-lib-common.inc b/meta/packages/xorg-lib/xorg-lib-common.inc
index b12627474a..e1f783e352 100644
--- a/meta/packages/xorg-lib/xorg-lib-common.inc
+++ b/meta/packages/xorg-lib/xorg-lib-common.inc
@@ -2,14 +2,15 @@ HOMEPAGE = "http://www.x.org"
SECTION = "x11/libs"
LICENSE = "MIT-X"
-DEPENDS = "util-macros"
+DEPENDS = "util-macros xorg-headers-native"
XORG_PN = "${PN}"
-SRC_URI = "${XORG_MIRROR}/${@bb.data.getVar('PV', d, 1)[0:7]}/src/lib/${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}/lib/${XORG_PN}-${PV}.tar.bz2"
S = "${WORKDIR}/${XORG_PN}-${PV}"
inherit autotools pkgconfig
-EXTRA_OECONF="--enable-malloc0returnsnull"
+EXTRA_OECONF = "--enable-malloc0returnsnull"
do_stage() {
autotools_stage_all