task-x11: remove server parts and add VIRTUAL_RUNTIME variables to be able to select different -common and init providers

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Martin Jansa
2011-10-29 10:19:30 +02:00
parent 776cb915ff
commit 8f79297046
2 changed files with 30 additions and 41 deletions
-41
View File
@@ -1,41 +0,0 @@
DESCRIPTION = "The X Window System -- install this task to get a client/server based display multiplexer."
SECTION = "x11/server"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
PV = "1.0"
PR = "r8"
# WORK IN PROGRESS
inherit task
PACKAGES += "\
${PN}-server \
${PN}-utils \
"
RRECOMMENDS_${PN} = "\
${PN}-server \
${PN}-utils \
"
# Some machines don't set a *runtime* provider for X, so default to Xfbdev here
# virtual/xserver won't work, since the kdrive recipes will build multiple xserver packages
XSERVER ?= "xserver-xorg"
XSERVER_COMMON ?= "xserver-common"
PACKAGE_ARCH = "${MACHINE_ARCH}"
RDEPENDS_${PN}-server = "\
${XSERVER} \
"
RDEPENDS_${PN}-utils = "\
${XSERVER_COMMON} \
xserver-nodm-init \
xauth \
xhost \
xset \
xrandr \
"
@@ -0,0 +1,30 @@
DESCRIPTION = "The X Window System -- install this task to get a client/server based display multiplexer."
SECTION = "x11/server"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
PR = "r9"
inherit task
PACKAGES += "${PN}-utils"
RRECOMMENDS_${PN} = "\
${PN}-server \
${PN}-utils \
"
# xserver-common, x11-common
VIRTUAL-RUNTIME_xserver_common ?= "xserver-common"
# elsa, xserver-nodm-init
VIRTUAL-RUNTIME_graphical_init_manager ?= "xserver-nodm-init"
RDEPENDS_${PN}-utils = "\
${VIRTUAL-RUNTIME_xserver_common} \
${VIRTUAL-RUNTIME_graphical_init_manager} \
xauth \
xhost \
xset \
xrandr \
"