diff options
Diffstat (limited to 'meta-moblin/packages/xorg-xserver/xserver-xf86-common.inc')
-rw-r--r-- | meta-moblin/packages/xorg-xserver/xserver-xf86-common.inc | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/meta-moblin/packages/xorg-xserver/xserver-xf86-common.inc b/meta-moblin/packages/xorg-xserver/xserver-xf86-common.inc new file mode 100644 index 0000000000..d31e97a0e2 --- /dev/null +++ b/meta-moblin/packages/xorg-xserver/xserver-xf86-common.inc | |||
@@ -0,0 +1,45 @@ | |||
1 | DESCRIPTION = "The X.Org X server" | ||
2 | HOMEPAGE = "http://www.x.org" | ||
3 | SECTION = "x11/base" | ||
4 | LICENSE = "MIT-X" | ||
5 | |||
6 | # xf86-*-* packages depend on an X server built with the xfree86 DDX | ||
7 | # so we have a virtual to represent that: | ||
8 | PROVIDES = "virtual/xserver-xf86" | ||
9 | |||
10 | # Other packages tend to just care that there is *an* X server: | ||
11 | PROVIDES += "virtual/xserver" | ||
12 | |||
13 | XORG_PN = "xorg-server" | ||
14 | SRC_URI = "${XORG_MIRROR}/individual/xserver/${XORG_PN}-${PV}.tar.bz2 \ | ||
15 | file://xorg.conf" | ||
16 | |||
17 | S = "${WORKDIR}/${XORG_PN}-${PV}" | ||
18 | |||
19 | inherit autotools pkgconfig | ||
20 | |||
21 | PACKAGES =+ "${PN}-utils" | ||
22 | |||
23 | 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" | ||
24 | 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 " | ||
25 | FILES_${PN}-doc += "${libdir}/X11/doc /usr/share/X11/xkb/compiled/README.compiled" | ||
26 | |||
27 | FILES_${PN}-dbg += "${libdir}/xorg/modules/.debug \ | ||
28 | ${libdir}/xorg/modules/*/.debug \ | ||
29 | ${libdir}/xorg/modules/*/*/.debug \ | ||
30 | " | ||
31 | |||
32 | CONFFILES_${PN} += "${sysconfdir}/X11/xorg.conf" | ||
33 | |||
34 | SRC_URI += "file://macro_tweak.patch;patch=1" | ||
35 | |||
36 | do_stage() { | ||
37 | autotools_stage_all | ||
38 | } | ||
39 | |||
40 | do_install_append () { | ||
41 | install -d ${D}/${sysconfdir}/X11 | ||
42 | install -m 0644 ${WORKDIR}/xorg.conf ${D}/${sysconfdir}/X11/ | ||
43 | ln -sf ${datadir}/fonts/X11 ${D}/${libdir}/X11/fonts | ||
44 | } | ||
45 | |||