@@ -17,15 +17,17 @@ DEPENDS += "${COMMON_DEPENDS}"
DEPENDS_${PN} += "${COMMON_DEPENDS}"
RDEPENDS_${PN} += "${COMMON_DEPENDS}"
-PACKAGES =+ "${PN}-tests ${PN}-radeon ${PN}-nouveau ${PN}-kms"
+PACKAGES =+ "${PN}-tests ${PN}-radeon ${PN}-intel ${PN}-nouveau ${PN}-kms"
PROVIDES_${PN}-kms = "libkms"
PROVIDES_${PN}-radeon = "libdrm_radeon"
+PROVIDES_${PN}-intel = "libdrm_intel"
PROVIDES_${PN}-nouveau = "libdrm_nouveau"
PROVIDES_${PN} = "libdrm"
FILES_${PN}-tests = "${bindir}/dr* ${bindir}/mode*"
FILES_${PN}-nouveau = "${libdir}/libdrm_nouveau*.so.*"
FILES_${PN}-radeon = "${libdir}/libdrm_radeon*.so.*"
+FILES_${PN}-intel = "${libdir}/libdrm_intel*.so.*"
FILES_${PN}-kms = "${libdir}/libkms*.so.*"
@@ -34,6 +36,8 @@ DEPENDS_${PN}-nouveau = "${PN}"
RDEPENDS_${PN}-nouveau += "${PN}"
DEPENDS_${PN}-radeon = "${PN}"
RDEPENDS_${PN}-radeon += "${PN}"
+DEPENDS_${PN}-intel = "${PN}"
+RDEPENDS_${PN}-intel += "${PN}"
DEPENDS_${PN}-kms = "libc"
MIRRORS = """
new file mode 100644
@@ -0,0 +1,25 @@
+DESCRIPTION = "X.Org X server -- Intel display driver"
+
+require xorg-driver-video.inc
+
+DEPENDS += "libdrm-intel kbproto xf86driproto"
+LIBS_DEPS = """
+ xserver-xorg-extension-dri
+ xserver-xorg-extension-dri2
+ xserver-xorg-extension-exa
+ xserver-xorg-extension-fb
+ xserver-xorg-extension-dbe
+ xserver-xorg-extension-glx
+ xserver-xorg-extension-extmod
+ libdrm-intel
+"""
+
+DEPENDS_${PN} += "${LIBS_DEPS}"
+RDEPENDS_${PN} += "${LIBS_DEPS}"
+
+do_compile () {
+ export ACLOCAL_FLAGS="--verbose -I ${WORKDIR}/stage/native/share/aclocal -I ${WORKDIR}/stage/machine/usr/share/aclocal"
+ make -j 6
+}
+
+FILES_${PN} += "${datadir}/polkit-1/actions/org.x.xf86-video-intel.backlight-helper.policy"
new file mode 100644
@@ -0,0 +1 @@
+a2d8415dd4be514720b8470399d5d22d9fb4caa8 xf86-video-intel-2.99.914.tar.bz2