root/openembedded/zipitZ2BBfiles/xorg-xserver/xserver-kdrive-common.inc

Revision 56, 5.4 kB (checked in by bryank, 5 years ago)

Add a copy of the xorg-kdrive stuff from OE, modified to enable the XKB extension.

Line 
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-glamo \
13              xserver-kdrive-chips \
14              xserver-kdrive-i810 \
15              xserver-kdrive-mach64 \
16              xserver-kdrive-mga \
17              xserver-kdrive-neomagic \
18              xserver-kdrive-nvidia \
19              xserver-kdrive-pm2 \
20              xserver-kdrive-r128 \
21              xserver-kdrive-smi \
22              xserver-kdrive-vesa \
23              xserver-kdrive-via \
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-ati = "X server from freedesktop.org, supporting ATI devices"
34 DESCRIPTION_xserver-kdrive-glamo = "X server from freedesktop.org, supporting Smedia Glamo chipset"
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-ati = "${bindir}/Xati"
56 FILES_xserver-kdrive-glamo = "${bindir}/Xglamo"
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-ati = "${PN}"
76 RDEPENDS_xserver-kdrive-glamo = "${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://fbdev-not-fix.patch;patch=1  \
96         file://optional-xkb.patch;patch=1 \
97         file://enable-tslib.patch;patch=1 \
98         file://kmode-palm.patch;patch=1 \
99         "
100
101 inherit autotools pkgconfig
102
103 ARM_INSTRUCTION_SET = "arm"
104
105 EXTRA_OECONF = "--enable-composite --enable-kdrive \
106                 --disable-dga --disable-dri --disable-xinerama \
107                 --disable-xf86misc --disable-xf86vidmode \
108                 --disable-xorg --disable-xorgcfg \
109                 --disable-xnest --disable-xvfb \
110                 --disable-xevie --disable-xprint --disable-xtrap \
111                 --disable-dmx \
112                 --with-default-font-path=built-ins \
113                 --enable-tslib --enable-xcalibrate \
114                 ac_cv_file__usr_share_X11_sgml_defs_ent=no"
115
116 do_configure_prepend() {
117     sed -i -e 's/tslib-0.0/tslib-1.0/' ${S}/configure.ac
118 }
Note: See TracBrowser for help on using the browser.