diff options
Diffstat (limited to 'meta/packages/xorg-xserver/xorg-xserver-common.inc')
| -rw-r--r-- | meta/packages/xorg-xserver/xorg-xserver-common.inc | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/meta/packages/xorg-xserver/xorg-xserver-common.inc b/meta/packages/xorg-xserver/xorg-xserver-common.inc new file mode 100644 index 0000000000..6c1bbd34a9 --- /dev/null +++ b/meta/packages/xorg-xserver/xorg-xserver-common.inc | |||
| @@ -0,0 +1,43 @@ | |||
| 1 | HOMEPAGE = "http://www.x.org" | ||
| 2 | SECTION = "x11/base" | ||
| 3 | #MAINTAINER = "" | ||
| 4 | LICENSE = "MIT-X" | ||
| 5 | |||
| 6 | RPROVIDES = "virtual/xserver" | ||
| 7 | PROVIDES = "virtual/xserver" | ||
| 8 | |||
| 9 | DEPENDS = "fontconfig freetype flex-native lbxutil kbproto \ | ||
| 10 | xf86driproto drm glproto randrproto renderproto fixesproto damageproto \ | ||
| 11 | xcmiscproto xextproto xproto xf86miscproto xf86vidmodeproto xf86bigfontproto \ | ||
| 12 | scrnsaverproto bigreqsproto resourceproto fontsproto inputproto \ | ||
| 13 | xf86dgaproto videoproto compositeproto trapproto recordproto dmxproto \ | ||
| 14 | resourceproto xineramaproto xtrans evieext libxkbfile libxfont libxau \ | ||
| 15 | libfontenc libxdmcp libxxf86vm libxaw libxmu libxt libxpm libxext libx11 \ | ||
| 16 | libxkbui libxxf86misc libxi libdmx libxtst libxres mesa" | ||
| 17 | |||
| 18 | REPENDS="rgb" | ||
| 19 | |||
| 20 | XORG_PN = "xorg-server" | ||
| 21 | SRC_URI = "${XORG_MIRROR}/${@bb.data.getVar('PV', d, 1)[0:7]}/src/xserver/${XORG_PN}-${PV}.tar.gz \ | ||
| 22 | file://xorg.conf" | ||
| 23 | |||
| 24 | S = "${WORKDIR}/${XORG_PN}-${PV}" | ||
| 25 | |||
| 26 | inherit autotools pkgconfig | ||
| 27 | |||
| 28 | PACKAGES =+ "${PN}-xprint ${PN}-xvfb ${PN}-utils" | ||
| 29 | |||
| 30 | FILES_${PN}-xprint = "${libdir}/X11/xserver/*/print" | ||
| 31 | FILES_${PN}-xvfb = "${bindir}/Xvfb" | ||
| 32 | 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" | ||
| 33 | FILES_${PN} = "${bindir} ${libdir}/X11/Options ${libdir}/X11/Cards ${libdir}/X11/getconfig ${libdir}/X11/etc ${libdir}/xserver/SecurityPolicy ${libdir}/modules ${libdir}/xorg/modules /etc/X11 " | ||
| 34 | FILES_${PN}-doc += "${libdir}/X11/doc /usr/share/X11/xkb/compiled/README.compiled" | ||
| 35 | |||
| 36 | do_stage() { | ||
| 37 | autotools_stage_all | ||
| 38 | } | ||
| 39 | |||
| 40 | do_install_append () { | ||
| 41 | install -d ${D}/etc/X11 | ||
| 42 | install -m0644 ${WORKDIR}/xorg.conf ${D}/etc/X11/ | ||
| 43 | } | ||
