diff options
Diffstat (limited to 'meta/recipes-graphics/drm')
-rw-r--r-- | meta/recipes-graphics/drm/libdrm-2.4.21/installtests.patch | 43 | ||||
-rw-r--r-- | meta/recipes-graphics/drm/libdrm.inc | 14 | ||||
-rw-r--r-- | meta/recipes-graphics/drm/libdrm_2.4.21.bb | 4 | ||||
-rw-r--r-- | meta/recipes-graphics/drm/libdrm_git.bb | 8 |
4 files changed, 69 insertions, 0 deletions
diff --git a/meta/recipes-graphics/drm/libdrm-2.4.21/installtests.patch b/meta/recipes-graphics/drm/libdrm-2.4.21/installtests.patch new file mode 100644 index 0000000000..9d6a168bbc --- /dev/null +++ b/meta/recipes-graphics/drm/libdrm-2.4.21/installtests.patch | |||
@@ -0,0 +1,43 @@ | |||
1 | Index: libdrm-2.4.7/tests/Makefile.am | ||
2 | =================================================================== | ||
3 | --- libdrm-2.4.7.orig/tests/Makefile.am 2009-04-09 20:16:35.000000000 +0100 | ||
4 | +++ libdrm-2.4.7/tests/Makefile.am 2009-04-17 12:35:14.000000000 +0100 | ||
5 | @@ -6,10 +6,11 @@ | ||
6 | |||
7 | LDADD = $(top_builddir)/libdrm.la | ||
8 | |||
9 | -check_PROGRAMS = \ | ||
10 | +bin_PROGRAMS = \ | ||
11 | dristat \ | ||
12 | drmstat | ||
13 | |||
14 | +check_PROGRAMS = | ||
15 | SUBDIRS = | ||
16 | |||
17 | if HAVE_LIBKMS | ||
18 | Index: libdrm-2.4.7/tests/modeprint/Makefile.am | ||
19 | =================================================================== | ||
20 | --- libdrm-2.4.7.orig/tests/modeprint/Makefile.am 2009-02-17 19:52:37.000000000 +0000 | ||
21 | +++ libdrm-2.4.7/tests/modeprint/Makefile.am 2009-04-17 12:35:32.000000000 +0100 | ||
22 | @@ -3,7 +3,7 @@ | ||
23 | -I$(top_srcdir)/libdrm/intel/ \ | ||
24 | -I$(top_srcdir)/libdrm | ||
25 | |||
26 | -noinst_PROGRAMS = \ | ||
27 | +bin_PROGRAMS = \ | ||
28 | modeprint | ||
29 | |||
30 | modeprint_SOURCES = \ | ||
31 | Index: libdrm-2.4.7/tests/modetest/Makefile.am | ||
32 | =================================================================== | ||
33 | --- libdrm-2.4.7.orig/tests/modetest/Makefile.am 2009-02-17 19:52:37.000000000 +0000 | ||
34 | +++ libdrm-2.4.7/tests/modetest/Makefile.am 2009-04-17 12:35:42.000000000 +0100 | ||
35 | @@ -4,7 +4,7 @@ | ||
36 | -I$(top_srcdir)/libdrm \ | ||
37 | $(CAIRO_CFLAGS) | ||
38 | |||
39 | -noinst_PROGRAMS = \ | ||
40 | +bin_PROGRAMS = \ | ||
41 | modetest | ||
42 | |||
43 | modetest_SOURCES = \ | ||
diff --git a/meta/recipes-graphics/drm/libdrm.inc b/meta/recipes-graphics/drm/libdrm.inc new file mode 100644 index 0000000000..4f153ff7f7 --- /dev/null +++ b/meta/recipes-graphics/drm/libdrm.inc | |||
@@ -0,0 +1,14 @@ | |||
1 | DESCRIPTION = "userspace library for accessing the DRM(direct rendering manager)" | ||
2 | HOMEPAGE = "http://dri.freedesktop.org" | ||
3 | SECTION = "x11/base" | ||
4 | LICENSE = "MIT" | ||
5 | SRC_URI = "http://dri.freedesktop.org/libdrm/libdrm-${PV}.tar.bz2" | ||
6 | PROVIDES = "drm" | ||
7 | DEPENDS = "libpthread-stubs udev cairo virtual/libx11" | ||
8 | |||
9 | inherit autotools pkgconfig | ||
10 | |||
11 | PACKAGES =+ "libdrm-tests" | ||
12 | FILES_libdrm-tests = "${bindir}/dr* ${bindir}/mode*" | ||
13 | |||
14 | LEAD_SONAME = "libdrm.so" | ||
diff --git a/meta/recipes-graphics/drm/libdrm_2.4.21.bb b/meta/recipes-graphics/drm/libdrm_2.4.21.bb new file mode 100644 index 0000000000..97ca069004 --- /dev/null +++ b/meta/recipes-graphics/drm/libdrm_2.4.21.bb | |||
@@ -0,0 +1,4 @@ | |||
1 | require libdrm.inc | ||
2 | |||
3 | SRC_URI += "file://installtests.patch" | ||
4 | PR = "r0" | ||
diff --git a/meta/recipes-graphics/drm/libdrm_git.bb b/meta/recipes-graphics/drm/libdrm_git.bb new file mode 100644 index 0000000000..d80dd5f433 --- /dev/null +++ b/meta/recipes-graphics/drm/libdrm_git.bb | |||
@@ -0,0 +1,8 @@ | |||
1 | require libdrm.inc | ||
2 | |||
3 | SRC_URI = "git://anongit.freedesktop.org/git/mesa/drm;protocol=git" | ||
4 | |||
5 | S = ${WORKDIR}/git | ||
6 | |||
7 | PV = "2.4.15+git${SRCREV}" | ||
8 | PR = "r0" | ||