summaryrefslogtreecommitdiff
path: root/meta/recipes-graphics/xorg-xserver/xserver-xorg-common.inc
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2011-10-07 16:37:10 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-10-11 17:04:30 +0100
commit0b31c7200a368533df970f0efeb81e2e20c73593 (patch)
treed0f55f21e949080e148f8b1b3e27b6bdff06abeb /meta/recipes-graphics/xorg-xserver/xserver-xorg-common.inc
parenteb048308ae80d779e904951b032dba5b780898e5 (diff)
downloadopenembedded-core-0b31c7200a368533df970f0efeb81e2e20c73593.tar.gz
openembedded-core-0b31c7200a368533df970f0efeb81e2e20c73593.tar.bz2
openembedded-core-0b31c7200a368533df970f0efeb81e2e20c73593.tar.xz
openembedded-core-0b31c7200a368533df970f0efeb81e2e20c73593.zip
xserver-xf86(-dri)-lite: rename to xserver-xorg and xserver-xorg-lite
* xserver-xorg is closer to upstream naming and that's how it's named in OE-classic and meta-oe? It would make meta-oe transition easier and better to do it now then convert meta-oe to xserver-xf86 and then rename it back later. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta/recipes-graphics/xorg-xserver/xserver-xorg-common.inc')
-rw-r--r--meta/recipes-graphics/xorg-xserver/xserver-xorg-common.inc43
1 files changed, 43 insertions, 0 deletions
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xorg-common.inc b/meta/recipes-graphics/xorg-xserver/xserver-xorg-common.inc
new file mode 100644
index 000000000..78c5f2e3b
--- /dev/null
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xorg-common.inc
@@ -0,0 +1,43 @@
+DESCRIPTION = "The X.Org X server"
+HOMEPAGE = "http://www.x.org"
+SECTION = "x11/base"
+LICENSE = "MIT-X"
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=3dd2bbe3563837f80ed8926b06c1c353"
+
+# xf86-*-* packages depend on an X server built with the xfree86 DDX
+# so we have a virtual to represent that:
+# deprecated, we should use virtual/xserver instead
+PROVIDES = "virtual/xserver-xf86"
+
+# Other packages tend to just care that there is *an* X server:
+PROVIDES += "virtual/xserver"
+
+XORG_PN = "xorg-server"
+SRC_URI = "${XORG_MIRROR}/individual/xserver/${XORG_PN}-${PV}.tar.bz2"
+
+S = "${WORKDIR}/${XORG_PN}-${PV}"
+
+inherit autotools pkgconfig
+
+PACKAGES =+ "${PN}-utils"
+
+RDEPENDS_${PN} += "xserver-xf86-config xkeyboard-config"
+
+FILES_${PN}-utils = "${bindir}/scanpci ${bindir}/pcitweak ${bindir}/ioport ${bindir}/in[bwl] ${bindir}/out[bwl] ${bindir}/mmap[rw] ${bindir}/gtf ${bindir}/getconfig ${bindir}/getconfig.pl"
+FILES_${PN} = "${libdir}/X11/Options ${libdir}/X11/Cards ${libdir}/X11/getconfig ${libdir}/X11/etc ${libdir}/xserver/SecurityPolicy ${libdir}/xorg/modules/*.so ${libdir}/xorg/modules/*/*.so ${libdir}/xorg/modules/*/*/*.so /etc/X11 "
+FILES_${PN}-doc += "${libdir}/X11/doc ${datadir}/X11/xkb/compiled/README.compiled"
+
+FILES_${PN}-dbg += "${libdir}/xorg/modules/.debug \
+ ${libdir}/xorg/modules/*/.debug \
+ ${libdir}/xorg/modules/*/*/.debug \
+ "
+
+SRC_URI += "file://macro_tweak.patch"
+
+EXTRA_OECONF = "--with-fop=no"
+
+PACKAGECONFIG ??= "udev"
+PACKAGECONFIG[hal] = "--enable-config-hal,--disable-config-hal,,hal"
+PACKAGECONFIG[udev] = "--enable-config-udev,--disable-config-udev,udev"
+