[xorg,5/7] Made a more generic xf86-video-intel recipe set.

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

Details

Message ID 1407414726-1710-5-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/xorg-driver/xf86-video-intel-common.inc    | 50 ++++++++++++++++++++++
 recipes/xorg-driver/xf86-video-intel_2.21.15.oe    |  2 +
 .../xorg-driver/xf86-video-intel_2.21.15.oe.sig    |  1 +
 recipes/xorg-driver/xf86-video-intel_2.99.912.oe   |  3 ++
 .../xorg-driver/xf86-video-intel_2.99.912.oe.sig   |  1 +
 5 files changed, 57 insertions(+)
 create mode 100644 recipes/xorg-driver/xf86-video-intel-common.inc
 create mode 100644 recipes/xorg-driver/xf86-video-intel_2.21.15.oe
 create mode 100644 recipes/xorg-driver/xf86-video-intel_2.21.15.oe.sig
 create mode 100644 recipes/xorg-driver/xf86-video-intel_2.99.912.oe
 create mode 100644 recipes/xorg-driver/xf86-video-intel_2.99.912.oe.sig

Patch hide | download patch | download mbox

diff --git a/recipes/xorg-driver/xf86-video-intel-common.inc b/recipes/xorg-driver/xf86-video-intel-common.inc
new file mode 100644
index 0000000..00714d0
--- /dev/null
+++ b/recipes/xorg-driver/xf86-video-intel-common.inc
@@ -0,0 +1,50 @@ 
+DESCRIPTION = "X.Org X server -- Intel display driver"
+HOMEPAGE = "http://www.x.org"
+BUGTRACKER = "https://bugs.freedesktop.org"
+LICENSE = "MIT-X"
+
+require conf/fetch/xorg.conf 
+require conf/xorg.conf
+
+SRC_URI = "${XORG_MIRROR}/individual/driver/${PN}-${PV}.tar.bz2"
+
+DEPENDS = " xserver-xorg xproto randrproto util-macros \
+            renderproto videoproto xextproto fontsproto \
+            kbproto pixman libpciaccess inputproto \
+            libdrm-intel kbproto xf86driproto"
+
+S = "${SRCDIR}/${PN}-${PV}"
+
+inherit autotools pkgconfig
+
+#hack for includes
+CFLAGS += " -I${HOST_SYSROOT}${includedir}/xorg \
+            -I${HOST_SYSROOT}${includedir}/pixman-1 \
+            -I${HOST_SYSROOT}${includedir}"
+
+# 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[postfuncs] += "do_install_input"
+do_install_input() {
+	find ${D}${libdir}/xorg/modules -regex ".*\.la$" | xargs rm -f --
+}
+
+SOLIBS = "*.so"
+
+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} += "libc ${LIBS_DEPS}"
+RDEPENDS_${PN} += "libc ${LIBS_DEPS}"
+
+FILES_${PN} += " ${libdir}/xorg/modules/drivers/*.so"
+FILES_${PN} += "${datadir}/polkit-1/actions/org.x.xf86-video-intel.backlight-helper.policy"
+FILES_${PN}-dbg += " ${libdir}/xorg/modules/drivers/.debug"
diff --git a/recipes/xorg-driver/xf86-video-intel_2.21.15.oe b/recipes/xorg-driver/xf86-video-intel_2.21.15.oe
new file mode 100644
index 0000000..807d677
--- /dev/null
+++ b/recipes/xorg-driver/xf86-video-intel_2.21.15.oe
@@ -0,0 +1,2 @@ 
+require xf86-video-intel-common.inc
+
diff --git a/recipes/xorg-driver/xf86-video-intel_2.21.15.oe.sig b/recipes/xorg-driver/xf86-video-intel_2.21.15.oe.sig
new file mode 100644
index 0000000..2f5de5b
--- /dev/null
+++ b/recipes/xorg-driver/xf86-video-intel_2.21.15.oe.sig
@@ -0,0 +1 @@ 
+6952e6e1deff1c4580ddee472dbc2223c3248d0f  xf86-video-intel-2.21.15.tar.bz2
diff --git a/recipes/xorg-driver/xf86-video-intel_2.99.912.oe b/recipes/xorg-driver/xf86-video-intel_2.99.912.oe
new file mode 100644
index 0000000..41ea65a
--- /dev/null
+++ b/recipes/xorg-driver/xf86-video-intel_2.99.912.oe
@@ -0,0 +1,3 @@ 
+require xf86-video-intel-common.inc
+
+DEFAULT_PREFERENCE = "-1"
diff --git a/recipes/xorg-driver/xf86-video-intel_2.99.912.oe.sig b/recipes/xorg-driver/xf86-video-intel_2.99.912.oe.sig
new file mode 100644
index 0000000..60d809b
--- /dev/null
+++ b/recipes/xorg-driver/xf86-video-intel_2.99.912.oe.sig
@@ -0,0 +1 @@ 
+ad67228c3d8a12517d12484a7291007ced11f04a  xf86-video-intel-2.99.912.tar.bz2