From 7397bb5b448f8e38c310f207bdfcff4b64dfa000 Mon Sep 17 00:00:00 2001 From: Nitin A Kamble Date: Tue, 9 Oct 2012 10:49:41 -0700 Subject: xf86-video-intel: Bring 2.20.0 version to match released graphics stack The Intel Linux graphics stack version 12.07 released on 2012-07-24 requires version 2.20.0 as seen here: http://intellinuxgraphics.org/2012.07.html Currently oecore has 2.19.0 version. So get this 2.20.0 version in meta-intel layer to be used by sugarbay and other BSPs using the Intel graphics stack. Also took changes from version 2.20.8 recipe from Ross Burton's branch. Signed-off-by: Nitin A Kamble Signed-off-by: Tom Zanussi --- .../xorg-driver/xorg-driver-common.inc | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 common/recipes-graphics/xorg-driver/xorg-driver-common.inc (limited to 'common/recipes-graphics/xorg-driver/xorg-driver-common.inc') diff --git a/common/recipes-graphics/xorg-driver/xorg-driver-common.inc b/common/recipes-graphics/xorg-driver/xorg-driver-common.inc new file mode 100644 index 00000000..1ed2742d --- /dev/null +++ b/common/recipes-graphics/xorg-driver/xorg-driver-common.inc @@ -0,0 +1,33 @@ +DESCRIPTION = "X driver" +HOMEPAGE = "http://www.x.org" +BUGTRACKER = "https://bugs.freedesktop.org" +SECTION = "x11/drivers" +LICENSE = "MIT-X" + +PE = "2" +INC_PR = "r0" + +DEPENDS = "virtual/xserver xproto randrproto util-macros" + +SRC_URI = "${XORG_MIRROR}/individual/driver/${BPN}-${PV}.tar.bz2" + +S = "${WORKDIR}/${BPN}-${PV}" + +FILES_${PN} += " ${libdir}/xorg/modules/drivers/*.so" +FILES_${PN}-dbg += " ${libdir}/xorg/modules/drivers/.debug" + +inherit autotools pkgconfig + +# AC_CHECK_FILE doesn't work when cross compiling, so we create a replacement +# macro that simply assumes the test succeeds. +do_configure_prepend () { + echo 'AC_DEFUN(CC_AC_CHECK_FILE, $2)' > configure.ac.new + sed 's/AC_CHECK_FILE/CC_AC_CHECK_FILE/g' configure.ac >> configure.ac.new + mv configure.ac.new configure.ac +} + +# FIXME: We don't want to include the libtool archives (*.la) from modules +# directory, as they serve no useful purpose. Upstream should fix Makefile.am +do_install_append() { + find ${D}${libdir}/xorg/modules -regex ".*\.la$" | xargs rm -f -- +} -- cgit v1.2.3-54-g00ecf