diff options
Diffstat (limited to 'meta/packages/xorg-xserver/xserver-kdrive.inc')
-rw-r--r-- | meta/packages/xorg-xserver/xserver-kdrive.inc | 129 |
1 files changed, 129 insertions, 0 deletions
diff --git a/meta/packages/xorg-xserver/xserver-kdrive.inc b/meta/packages/xorg-xserver/xserver-kdrive.inc new file mode 100644 index 0000000000..e46abe3fe8 --- /dev/null +++ b/meta/packages/xorg-xserver/xserver-kdrive.inc | |||
@@ -0,0 +1,129 @@ | |||
1 | LICENSE = "MIT" | ||
2 | DEPENDS = "compositeproto damageproto fixesproto recordproto resourceproto scrnsaverproto xineramaproto videoproto xextproto xproto \ | ||
3 | libxau libxext libxdmcp libxfont libxrandr tslib virtual/libx11 xtrans" | ||
4 | |||
5 | PROVIDES = "virtual/xserver" | ||
6 | PACKAGES =+ "xserver-kdrive-fbdev \ | ||
7 | xserver-kdrive-sdl \ | ||
8 | xserver-kdrive-fake \ | ||
9 | xserver-kdrive-xephyr \ | ||
10 | xserver-kdrive-epson \ | ||
11 | xserver-kdrive-ati \ | ||
12 | xserver-kdrive-chips \ | ||
13 | xserver-kdrive-i810 \ | ||
14 | xserver-kdrive-mach64 \ | ||
15 | xserver-kdrive-mga \ | ||
16 | xserver-kdrive-neomagic \ | ||
17 | xserver-kdrive-nvidia \ | ||
18 | xserver-kdrive-pm2 \ | ||
19 | xserver-kdrive-r128 \ | ||
20 | xserver-kdrive-smi \ | ||
21 | xserver-kdrive-vesa \ | ||
22 | xserver-kdrive-via \ | ||
23 | xserver-kdrive-w100 \ | ||
24 | " | ||
25 | |||
26 | SECTION = "x11/base" | ||
27 | DESCRIPTION = "X server from freedesktop.org" | ||
28 | DESCRIPTION_xserver-kdrive-fbdev = "X server from freedesktop.org, supporting generic framebuffer devices" | ||
29 | DESCRIPTION_xserver-kdrive-fake = "Fake X server" | ||
30 | DESCRIPTION_xserver-kdrive-xephyr = "X server in an X window" | ||
31 | DESCRIPTION_xserver-kdrive-epson = "X server from freedesktop.org, supporting Epson S1D13806 devices" | ||
32 | DESCRIPTION_xserver-kdrive-sdl = "X server from freedesktop.org, SDL version" | ||
33 | DESCRIPTION_xserver-kdrive-w100 = "X server from freedesktop.org, supporting the ATI imageon w100 chipset" | ||
34 | DESCRIPTION_xserver-kdrive-ati = "X server from freedesktop.org, supporting ATI devices" | ||
35 | DESCRIPTION_xserver-kdrive-chips = "X server from freedesktop.org, supporting Chips chipsets" | ||
36 | DESCRIPTION_xserver-kdrive-i810 = "X server from freedesktop.org, supporting Intel chipsets" | ||
37 | DESCRIPTION_xserver-kdrive-imageon = "X server from freedesktop.org, supporting the ATI imageon 100 chipset" | ||
38 | DESCRIPTION_xserver-kdrive-mach64 = "X server from freedesktop.org, supporting mach64 chipsets" | ||
39 | DESCRIPTION_xserver-kdrive-mga = "X server from freedesktop.org, supporting mga chipsets" | ||
40 | DESCRIPTION_xserver-kdrive-neomagic = "X server from freedesktop.org, supporting neomagic chipsets" | ||
41 | DESCRIPTION_xserver-kdrive-nvidia = "X server from freedesktop.org, supporting nvidia devices" | ||
42 | DESCRIPTION_xserver-kdrive-pm2 = "X server from freedesktop.org, supporting Permedia2 chipsets" | ||
43 | DESCRIPTION_xserver-kdrive-r128 = "X server from freedesktop.org, supporting rage128 chipsets" | ||
44 | DESCRIPTION_xserver-kdrive-smi = "X server from freedesktop.org, supporting Silicon Motion devices" | ||
45 | DESCRIPTION_xserver-kdrive-vesa = "X server from freedesktop.org, supporting any card with a VESA, VGA or even EGA BIOS. x86 hardware only" | ||
46 | DESCRIPTION_xserver-kdrive-via = "X server from freedesktop.org, supporting VIA chipsets" | ||
47 | |||
48 | FILES_${PN} += "${libdir}/xserver/SecurityPolicy" | ||
49 | |||
50 | FILES_xserver-kdrive-fbdev = "${bindir}/Xfbdev" | ||
51 | FILES_xserver-kdrive-fake = "${bindir}/Xfake" | ||
52 | FILES_xserver-kdrive-xephyr = "${bindir}/Xephyr" | ||
53 | FILES_xserver-kdrive-epson = "${bindir}/Xepson" | ||
54 | FILES_xserver-kdrive-sdl = "${bindir}/Xsdl" | ||
55 | FILES_xserver-kdrive-w100 = "${bindir}/Xw100" | ||
56 | FILES_xserver-kdrive-ati = "${bindir}/Xati" | ||
57 | FILES_xserver-kdrive-chips = "${bindir}/Xchips" | ||
58 | FILES_xserver-kdrive-i810 = "${bindir}/Xi810" | ||
59 | FILES_xserver-kdrive-imageon = "${bindir}/Ximageon" | ||
60 | FILES_xserver-kdrive-mach64 = "${bindir}/Xmach64" | ||
61 | FILES_xserver-kdrive-mga = "${bindir}/Xmga" | ||
62 | FILES_xserver-kdrive-neomagic = "${bindir}/Xneomagic" | ||
63 | FILES_xserver-kdrive-nvidia = "${bindir}/Xnvidia" | ||
64 | FILES_xserver-kdrive-pm2 = "${bindir}/Xpm2" | ||
65 | FILES_xserver-kdrive-r128 = "${bindir}/Xr128" | ||
66 | FILES_xserver-kdrive-smi = "${bindir}/Xsmi" | ||
67 | FILES_xserver-kdrive-vesa = "${bindir}/Xvesa" | ||
68 | FILES_xserver-kdrive-via = "${bindir}/Xvia" | ||
69 | |||
70 | RDEPENDS_xserver-kdrive-fbdev = "${PN}" | ||
71 | RDEPENDS_xserver-kdrive-fake = "${PN}" | ||
72 | RDEPENDS_xserver-kdrive-xephyr = "${PN}" | ||
73 | RDEPENDS_xserver-kdrive-epson = "${PN}" | ||
74 | RDEPENDS_xserver-kdrive-sdl = "${PN}" | ||
75 | RDEPENDS_xserver-kdrive-w100 = "${PN}" | ||
76 | RDEPENDS_xserver-kdrive-ati = "${PN}" | ||
77 | RDEPENDS_xserver-kdrive-chips = "${PN}" | ||
78 | RDEPENDS_xserver-kdrive-i810 = "${PN}" | ||
79 | RDEPENDS_xserver-kdrive-mach64 = "${PN}" | ||
80 | RDEPENDS_xserver-kdrive-mga = "${PN}" | ||
81 | RDEPENDS_xserver-kdrive-neomagic = "${PN}" | ||
82 | RDEPENDS_xserver-kdrive-nvidia = "${PN}" | ||
83 | RDEPENDS_xserver-kdrive-pm2 = "${PN}" | ||
84 | RDEPENDS_xserver-kdrive-r128 = "${PN}" | ||
85 | RDEPENDS_xserver-kdrive-smi = "${PN}" | ||
86 | RDEPENDS_xserver-kdrive-vesa = "${PN}" | ||
87 | RDEPENDS_xserver-kdrive-via = "${PN}" | ||
88 | |||
89 | SRC_URI ?= "${XORG_MIRROR}/individual/xserver/xorg-server-${PV}.tar.bz2 \ | ||
90 | ${KDRIVE_COMMON_PATCHES}" | ||
91 | KDRIVE_COMMON_PATCHES = " \ | ||
92 | file://kmode.patch;patch=1 \ | ||
93 | file://disable-apm.patch;patch=1 \ | ||
94 | file://no-serial-probing.patch;patch=1 \ | ||
95 | file://kdrive-evdev.patch;patch=1 \ | ||
96 | file://kdrive-use-evdev.patch;patch=1 \ | ||
97 | file://fbdev-not-fix.patch;patch=1 \ | ||
98 | file://enable-builtin-fonts.patch;patch=1 \ | ||
99 | file://disable-xf86-dga-xorgcfg.patch;patch=1 \ | ||
100 | file://optional-xkb.patch;patch=1 \ | ||
101 | file://enable-epson.patch;patch=1 \ | ||
102 | file://enable-tslib.patch;patch=1 \ | ||
103 | file://kmode-palm.patch;patch=1 \ | ||
104 | " | ||
105 | |||
106 | SRC_URI_append_mnci = " file://onlyfb.patch;patch=1" | ||
107 | SRC_URI_append_poodle = " file://xserver-kdrive-poodle.patch;patch=1" | ||
108 | SRC_URI_append_qemux86 = " file://xserver-kdrive-poodle.patch;patch=1" | ||
109 | PACKAGE_ARCH_poodle = "${MACHINE_ARCH}" | ||
110 | PACKAGE_ARCH_qemux86 = "${MACHINE_ARCH}" | ||
111 | |||
112 | inherit autotools pkgconfig | ||
113 | |||
114 | ARM_INSTRUCTION_SET = "arm" | ||
115 | |||
116 | EXTRA_OECONF = "--enable-composite --enable-kdrive \ | ||
117 | --disable-dga --disable-dri --disable-xinerama \ | ||
118 | --disable-xf86misc --disable-xf86vidmode \ | ||
119 | --disable-xorg --disable-xorgcfg \ | ||
120 | --disable-xkb --disable-xnest --disable-xvfb \ | ||
121 | --disable-xevie --disable-xprint --disable-xtrap \ | ||
122 | --disable-dmx \ | ||
123 | --with-default-font-path=built-ins \ | ||
124 | --enable-tslib --enable-xcalibrate \ | ||
125 | ac_cv_file__usr_share_X11_sgml_defs_ent=no" | ||
126 | |||
127 | do_configure_prepend() { | ||
128 | sed -i -e 's/tslib-0.0/tslib-1.0/' ${S}/configure.ac | ||
129 | } | ||