summaryrefslogtreecommitdiff
path: root/meta/packages/xorg-driver
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/xorg-driver')
-rw-r--r--meta/packages/xorg-driver/xf86-driver-common.inc32
-rw-r--r--meta/packages/xorg-driver/xf86-input-common.inc7
-rw-r--r--meta/packages/xorg-driver/xf86-input-evdev_2.0.4.bb4
-rw-r--r--meta/packages/xorg-driver/xf86-input-keyboard_1.3.1.bb4
-rw-r--r--meta/packages/xorg-driver/xf86-input-mouse_1.3.0.bb4
-rw-r--r--meta/packages/xorg-driver/xf86-input-synaptics_0.15.0.bb4
-rw-r--r--meta/packages/xorg-driver/xf86-video-common.inc4
-rw-r--r--meta/packages/xorg-driver/xf86-video-intel_2.4.2.bb5
8 files changed, 64 insertions, 0 deletions
diff --git a/meta/packages/xorg-driver/xf86-driver-common.inc b/meta/packages/xorg-driver/xf86-driver-common.inc
new file mode 100644
index 000000000..308d06e0b
--- /dev/null
+++ b/meta/packages/xorg-driver/xf86-driver-common.inc
@@ -0,0 +1,32 @@
+DESCRIPTION = "X driver"
+HOMEPAGE = "http://www.x.org"
+SECTION = "x11/drivers"
+LICENSE = "MIT-X"
+
+PE = "1"
+PR = "r0"
+
+DEPENDS = "virtual/xserver-xf86 xproto randrproto"
+
+XORG_PN = "${PN}"
+SRC_URI = "${XORG_MIRROR}/individual/driver/${XORG_PN}-${PV}.tar.bz2"
+
+S = "${WORKDIR}/${XORG_PN}-${PV}"
+
+FILES_${PN} += " ${libdir}/xorg/modules/drivers/*.so"
+FILES_${PN}-dbg += " ${libdir}/xorg/modules/drivers/.debug"
+
+inherit autotools pkgconfig
+
+do_stage() {
+ autotools_stage_all
+}
+
+# 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
+}
+
diff --git a/meta/packages/xorg-driver/xf86-input-common.inc b/meta/packages/xorg-driver/xf86-input-common.inc
new file mode 100644
index 000000000..6fc88cf9d
--- /dev/null
+++ b/meta/packages/xorg-driver/xf86-input-common.inc
@@ -0,0 +1,7 @@
+include xf86-driver-common.inc
+
+DEPENDS += "inputproto kbproto "
+
+FILES_${PN} += " ${libdir}/xorg/modules/input/*.so"
+FILES_${PN}-dbg += " ${libdir}/xorg/modules/input/.debug"
+
diff --git a/meta/packages/xorg-driver/xf86-input-evdev_2.0.4.bb b/meta/packages/xorg-driver/xf86-input-evdev_2.0.4.bb
new file mode 100644
index 000000000..d1fb0f000
--- /dev/null
+++ b/meta/packages/xorg-driver/xf86-input-evdev_2.0.4.bb
@@ -0,0 +1,4 @@
+require xf86-input-common.inc
+
+DESCRIPTION = "X.Org X server -- evdev input driver"
+
diff --git a/meta/packages/xorg-driver/xf86-input-keyboard_1.3.1.bb b/meta/packages/xorg-driver/xf86-input-keyboard_1.3.1.bb
new file mode 100644
index 000000000..f554141c9
--- /dev/null
+++ b/meta/packages/xorg-driver/xf86-input-keyboard_1.3.1.bb
@@ -0,0 +1,4 @@
+require xf86-input-common.inc
+
+DESCRIPTION = "X.Org X server -- keyboard input driver"
+
diff --git a/meta/packages/xorg-driver/xf86-input-mouse_1.3.0.bb b/meta/packages/xorg-driver/xf86-input-mouse_1.3.0.bb
new file mode 100644
index 000000000..39c2e05da
--- /dev/null
+++ b/meta/packages/xorg-driver/xf86-input-mouse_1.3.0.bb
@@ -0,0 +1,4 @@
+require xf86-input-common.inc
+
+DESCRIPTION = "X.Org X server -- mouse input driver"
+
diff --git a/meta/packages/xorg-driver/xf86-input-synaptics_0.15.0.bb b/meta/packages/xorg-driver/xf86-input-synaptics_0.15.0.bb
new file mode 100644
index 000000000..f554141c9
--- /dev/null
+++ b/meta/packages/xorg-driver/xf86-input-synaptics_0.15.0.bb
@@ -0,0 +1,4 @@
+require xf86-input-common.inc
+
+DESCRIPTION = "X.Org X server -- keyboard input driver"
+
diff --git a/meta/packages/xorg-driver/xf86-video-common.inc b/meta/packages/xorg-driver/xf86-video-common.inc
new file mode 100644
index 000000000..4bf9c1b3b
--- /dev/null
+++ b/meta/packages/xorg-driver/xf86-video-common.inc
@@ -0,0 +1,4 @@
+include xf86-driver-common.inc
+
+DEPENDS = "renderproto videoproto xextproto fontsproto"
+
diff --git a/meta/packages/xorg-driver/xf86-video-intel_2.4.2.bb b/meta/packages/xorg-driver/xf86-video-intel_2.4.2.bb
new file mode 100644
index 000000000..4362baa15
--- /dev/null
+++ b/meta/packages/xorg-driver/xf86-video-intel_2.4.2.bb
@@ -0,0 +1,5 @@
+require xf86-video-common.inc
+
+DESCRIPTION = "X.Org X server -- Intel i8xx, i9xx display driver"
+DEPENDS += " virtual/libx11 libxvmc drm xf86driproto"
+