summaryrefslogtreecommitdiff
path: root/packages/xorg-app/xorg-app-common.inc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/xorg-app/xorg-app-common.inc')
-rw-r--r--packages/xorg-app/xorg-app-common.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/xorg-app/xorg-app-common.inc b/packages/xorg-app/xorg-app-common.inc
index b2a73f9ca8..15f76ab5e2 100644
--- a/packages/xorg-app/xorg-app-common.inc
+++ b/packages/xorg-app/xorg-app-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/app/${XORG_PN}-${PV}.tar.bz2"
+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}"