[xorg,1/7] Added xf86-video-intel recipe to xorg-driver.

Submitted by Mads Doré Hansen on Aug. 7, 2014, 12:32 p.m.

Details

Message ID 1407414726-1710-1-git-send-email-dore@madsdore.dk
State New
Delegated to: Jacob Kjaergaard
Headers show

Commit Message

Mads Doré Hansen Aug. 7, 2014, 12:32 p.m.
---
 recipes/drm/libdrm.inc                             |  6 +++++-
 recipes/xorg-driver/xf86-video-intel_2.99.914.oe   | 25 ++++++++++++++++++++++
 .../xorg-driver/xf86-video-intel_2.99.914.oe.sig   |  1 +
 3 files changed, 31 insertions(+), 1 deletion(-)
 create mode 100644 recipes/xorg-driver/xf86-video-intel_2.99.914.oe
 create mode 100644 recipes/xorg-driver/xf86-video-intel_2.99.914.oe.sig

Patch hide | download patch | download mbox

diff --git a/recipes/drm/libdrm.inc b/recipes/drm/libdrm.inc
index 5ced494..6d0c50c 100644
--- a/recipes/drm/libdrm.inc
+++ b/recipes/drm/libdrm.inc
@@ -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 = """
diff --git a/recipes/xorg-driver/xf86-video-intel_2.99.914.oe b/recipes/xorg-driver/xf86-video-intel_2.99.914.oe
new file mode 100644
index 0000000..c12a167
--- /dev/null
+++ b/recipes/xorg-driver/xf86-video-intel_2.99.914.oe
@@ -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"
diff --git a/recipes/xorg-driver/xf86-video-intel_2.99.914.oe.sig b/recipes/xorg-driver/xf86-video-intel_2.99.914.oe.sig
new file mode 100644
index 0000000..ea44ea3
--- /dev/null
+++ b/recipes/xorg-driver/xf86-video-intel_2.99.914.oe.sig
@@ -0,0 +1 @@ 
+a2d8415dd4be514720b8470399d5d22d9fb4caa8  xf86-video-intel-2.99.914.tar.bz2