surpport seeking the recorded video
[vuplus_openembedded] / recipes / xorg-xserver / xserver-kdrive-common.inc
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 xextproto-70-includes"
4 INC_PR = "r28"
5
6 PKGN ?= "xserver-kdrive"
7
8 PROVIDES = "virtual/xserver"
9 PACKAGES =+ "${PKGN}-fbdev \
10              ${PKGN}-sdl \
11              ${PKGN}-fake \
12              ${PKGN}-xephyr \
13              ${PKGN}-epson \
14              ${PKGN}-ati \
15              ${PKGN}-chips \
16              ${PKGN}-i810 \
17              ${PKGN}-mach64 \
18              ${PKGN}-mga \
19              ${PKGN}-neomagic \
20              ${PKGN}-nvidia \
21              ${PKGN}-pm2 \
22              ${PKGN}-r128 \
23              ${PKGN}-smi \
24              ${PKGN}-vesa \
25              ${PKGN}-via \
26              ${PKGN}-w100 \
27         "
28
29 SECTION = "x11/base"
30 DESCRIPTION = "X server from freedesktop.org"
31 DESCRIPTION_${PKGN}-fbdev = "X server from freedesktop.org, supporting generic framebuffer devices"
32 DESCRIPTION_${PKGN}-fake = "Fake X server"
33 DESCRIPTION_${PKGN}-xephyr = "X server in an X window"
34 DESCRIPTION_${PKGN}-epson = "X server from freedesktop.org, supporting Epson S1D13806 devices"
35 DESCRIPTION_${PKGN}-sdl = "X server from freedesktop.org, SDL version"
36 DESCRIPTION_${PKGN}-w100 = "X server from freedesktop.org, supporting the ATI imageon w100 chipset"
37 DESCRIPTION_${PKGN}-ati = "X server from freedesktop.org, supporting ATI devices"
38 DESCRIPTION_${PKGN}-chips = "X server from freedesktop.org, supporting Chips chipsets"
39 DESCRIPTION_${PKGN}-i810 = "X server from freedesktop.org, supporting Intel chipsets"
40 DESCRIPTION_${PKGN}-imageon = "X server from freedesktop.org, supporting the ATI imageon 100 chipset"
41 DESCRIPTION_${PKGN}-mach64 = "X server from freedesktop.org, supporting mach64 chipsets"
42 DESCRIPTION_${PKGN}-mga = "X server from freedesktop.org, supporting mga chipsets"
43 DESCRIPTION_${PKGN}-neomagic = "X server from freedesktop.org, supporting neomagic chipsets"
44 DESCRIPTION_${PKGN}-nvidia = "X server from freedesktop.org, supporting nvidia devices"
45 DESCRIPTION_${PKGN}-pm2 = "X server from freedesktop.org, supporting Permedia2 chipsets"
46 DESCRIPTION_${PKGN}-r128 = "X server from freedesktop.org, supporting rage128 chipsets"
47 DESCRIPTION_${PKGN}-smi = "X server from freedesktop.org, supporting Silicon Motion devices"
48 DESCRIPTION_${PKGN}-vesa = "X server from freedesktop.org, supporting any card with a VESA, VGA or even EGA BIOS. x86 hardware only"
49 DESCRIPTION_${PKGN}-via = "X server from freedesktop.org, supporting VIA chipsets"
50
51 PACKAGES =+ "xserver-security-policy"
52 FILES_xserver-security-policy += "${libdir}/xserver/SecurityPolicy"
53 RRECOMMENDS_${PN} += "xserver-security-policy"
54
55 FILES_${PKGN}-fbdev = "${bindir}/Xfbdev"
56 FILES_${PKGN}-fake = "${bindir}/Xfake"
57 FILES_${PKGN}-xephyr = "${bindir}/Xephyr"
58 FILES_${PKGN}-epson = "${bindir}/Xepson"
59 FILES_${PKGN}-sdl = "${bindir}/Xsdl"
60 FILES_${PKGN}-w100 = "${bindir}/Xw100"
61 FILES_${PKGN}-ati = "${bindir}/Xati"
62 FILES_${PKGN}-chips = "${bindir}/Xchips"
63 FILES_${PKGN}-i810 = "${bindir}/Xi810"
64 FILES_${PKGN}-imageon = "${bindir}/Ximageon"
65 FILES_${PKGN}-mach64 = "${bindir}/Xmach64"
66 FILES_${PKGN}-mga = "${bindir}/Xmga"
67 FILES_${PKGN}-neomagic = "${bindir}/Xneomagic"
68 FILES_${PKGN}-nvidia = "${bindir}/Xnvidia"
69 FILES_${PKGN}-pm2 = "${bindir}/Xpm2"
70 FILES_${PKGN}-r128 = "${bindir}/Xr128"
71 FILES_${PKGN}-smi = "${bindir}/Xsmi"
72 FILES_${PKGN}-vesa = "${bindir}/Xvesa"
73 FILES_${PKGN}-via = "${bindir}/Xvia"
74
75 SRC_URI ?= "${XORG_MIRROR}/individual/xserver/xorg-server-${PV}.tar.bz2 \
76         ${KDRIVE_COMMON_PATCHES}"
77 KDRIVE_COMMON_PATCHES = " \
78         file://kmode.patch;patch=1 \
79         file://kmode-800_480.patch;patch=1 \
80         file://disable-apm.patch;patch=1 \
81         file://no-serial-probing.patch;patch=1 \
82         file://fbdev-not-fix.patch;patch=1  \
83         file://optional-xkb.patch;patch=1 \
84         file://enable-tslib.patch;patch=1 \
85         file://kmode-palm.patch;patch=1 \
86         "
87
88 SRC_URI_append_mnci   = " file://onlyfb.patch;patch=1"
89 SRC_URI_append_poodle = " file://xserver-kdrive-poodle.patch;patch=1"
90 SRC_URI_append_qemux86 = " file://xserver-kdrive-poodle.patch;patch=1"
91 PACKAGE_ARCH_poodle = "${MACHINE_ARCH}"
92 PACKAGE_ARCH_qemux86 = "${MACHINE_ARCH}"
93
94 inherit autotools pkgconfig
95
96 ARM_INSTRUCTION_SET = "arm"
97
98 CFLAGS_prepend = "-I${STAGING_INCDIR}/xextproto-70 "
99
100 EXTRA_OECONF = "--enable-composite --enable-kdrive \
101                 --disable-dga --disable-dri --disable-xinerama \
102                 --disable-xf86misc --disable-xf86vidmode \
103                 --disable-xorg --disable-xorgcfg \
104                 --disable-xkb --disable-xnest --disable-xvfb \
105                 --disable-xevie --disable-xprint --disable-xtrap \
106                 --disable-dmx ${W100_OECONF} \
107                 --with-default-font-path=built-ins \
108                 --enable-tslib --enable-xcalibrate \
109                 ac_cv_file__usr_share_sgml_X11_defs_ent=no"
110
111 do_configure_prepend() {
112     sed -i -e 's/tslib-0.0/tslib-1.0/' ${S}/configure.ac
113 }