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