libdrm: add git version for om-gta02
authorMartin Jansa <Martin.Jansa@gmail.com>
Wed, 18 Nov 2009 09:27:49 +0000 (10:27 +0100)
committerMartin Jansa <Martin.Jansa@gmail.com>
Tue, 22 Dec 2009 12:42:26 +0000 (13:42 +0100)
recipes/dri/libdrm_git.bb [new file with mode: 0644]

diff --git a/recipes/dri/libdrm_git.bb b/recipes/dri/libdrm_git.bb
new file mode 100644 (file)
index 0000000..1eabc20
--- /dev/null
@@ -0,0 +1,24 @@
+SECTION = "x11/base"
+LICENSE = "MIT"
+SRC_URI = "git://anongit.freedesktop.org/mesa/drm;protocol=git;branch=master"
+SRC_URI_om-gta02 = "git://git.bitwiz.org.uk/libdrm.git;protocol=git;branch=glamo"
+
+PROVIDES = "drm"
+DEPENDS = "libpthread-stubs virtual/kernel"
+
+PE = "1"
+PV = "2.4.15+gitr${SRCREV}"
+PR = "r1"
+
+DEFAULT_PREFERENCE = "-1"
+DEFAULT_PREFERENCE_om-gta02 = "1"
+
+S = "${WORKDIR}/git"
+
+EXTRA_OECONF_append_om-gta02 = " --enable-glamo-experimental-api --disable-intel"
+
+inherit autotools pkgconfig
+
+do_stage() {
+       autotools_stage_all
+}