1 DESCRIPTION = "X driver"
2 HOMEPAGE = "http://www.x.org"
3 SECTION = "x11/drivers"
7 DEPENDS = "randrproto xorg-server xproto"
10 SRC_URI = "${XORG_MIRROR}/${@bb.data.getVar('PV', d, 1)[0:7]}/src/driver/${XORG_PN}-${PV}.tar.gz"
12 S = "${WORKDIR}/${XORG_PN}-${PV}"
14 FILES_${PN} += " ${libdir}/xorg/modules"
16 inherit autotools pkgconfig
22 # Another sucky behavor from Xorg configure scripts.
23 # They use AC_CHECK_FILE to check for DRI headers. Yuck!
24 # Of course this will blow up when cross compiling.
26 do_configure_prepend() {
27 incdir=${STAGING_INCDIR}/xorg
28 for f in dri.h sarea.h dristruct.h exa.h; do
30 if [ -f "$path" ]; then
31 p=`echo "$path" | sed 'y%*+%pp%;s%[^_[:alnum:]]%_%g'`
32 eval "export ac_cv_file_$p=yes"
37 # FIXME: We don't want to include the libtool archives (*.la) from modules
38 # directory, as they serve no useful purpose. Upstream should fix Makefile.am
40 find ${D}${libdir}/xorg/modules -regex ".*\.la$" | xargs rm -f --