summaryrefslogtreecommitdiffstats
path: root/meta/packages/drm
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-01-27 12:11:11 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2010-01-27 12:11:11 +0000
commitc6868ce84e7525e283875e6111aa97cafc7192e8 (patch)
tree1ce8a65dd18966e6d8255065fe681da2dfc7cb2e /meta/packages/drm
parent4340e3e974c75d4a39e6a17da02979f84203ba6b (diff)
downloadpoky-c6868ce84e7525e283875e6111aa97cafc7192e8.tar.gz
libdrm: Create a common include file and att virtual/libx11 to DEPENDS
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/drm')
-rw-r--r--meta/packages/drm/libdrm.inc12
-rw-r--r--meta/packages/drm/libdrm_2.4.15.bb14
-rw-r--r--meta/packages/drm/libdrm_git.bb11
3 files changed, 17 insertions, 20 deletions
diff --git a/meta/packages/drm/libdrm.inc b/meta/packages/drm/libdrm.inc
new file mode 100644
index 0000000000..11d89a5d2c
--- /dev/null
+++ b/meta/packages/drm/libdrm.inc
@@ -0,0 +1,12 @@
1SECTION = "x11/base"
2LICENSE = "MIT"
3SRC_URI = "http://dri.freedesktop.org/libdrm/libdrm-${PV}.tar.bz2"
4PROVIDES = "drm"
5DEPENDS = "libpthread-stubs udev cairo virtual/libx11"
6
7PACKAGES =+ "libdrm-tests"
8FILES_libdrm-tests = "${bindir}/dr* ${bindir}/mode*"
9
10LEAD_SONAME = "libdrm.so"
11
12inherit autotools_stage pkgconfig
diff --git a/meta/packages/drm/libdrm_2.4.15.bb b/meta/packages/drm/libdrm_2.4.15.bb
index f0d5668937..7679035866 100644
--- a/meta/packages/drm/libdrm_2.4.15.bb
+++ b/meta/packages/drm/libdrm_2.4.15.bb
@@ -1,12 +1,4 @@
1SECTION = "x11/base" 1require libdrm.inc
2LICENSE = "MIT"
3SRC_URI = "http://dri.freedesktop.org/libdrm/libdrm-${PV}.tar.bz2 \
4 file://installtests.patch;patch=1"
5PR = "r1"
6PROVIDES = "drm"
7DEPENDS = "libpthread-stubs udev cairo"
8
9PACKAGES =+ "libdrm-tests"
10FILES_libdrm-tests = "${bindir}/dr* ${bindir}/mode*"
11 2
12inherit autotools_stage pkgconfig 3SRC_URI += "file://installtests.patch;patch=1"
4PR = "r1"
diff --git a/meta/packages/drm/libdrm_git.bb b/meta/packages/drm/libdrm_git.bb
index bb8402294b..d80dd5f433 100644
--- a/meta/packages/drm/libdrm_git.bb
+++ b/meta/packages/drm/libdrm_git.bb
@@ -1,15 +1,8 @@
1SECTION = "x11/base" 1require libdrm.inc
2LICENSE = "MIT" 2
3SRC_URI = "git://anongit.freedesktop.org/git/mesa/drm;protocol=git" 3SRC_URI = "git://anongit.freedesktop.org/git/mesa/drm;protocol=git"
4PROVIDES = "drm"
5 4
6S = ${WORKDIR}/git 5S = ${WORKDIR}/git
7 6
8DEPENDS = "libpthread-stubs"
9
10PV = "2.4.15+git${SRCREV}" 7PV = "2.4.15+git${SRCREV}"
11PR = "r0" 8PR = "r0"
12
13LEAD_SONAME = "libdrm.so"
14
15inherit autotools_stage pkgconfig