diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-01-27 12:11:11 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-01-27 12:11:11 +0000 |
commit | c6868ce84e7525e283875e6111aa97cafc7192e8 (patch) | |
tree | 1ce8a65dd18966e6d8255065fe681da2dfc7cb2e /meta/packages/drm | |
parent | 4340e3e974c75d4a39e6a17da02979f84203ba6b (diff) | |
download | poky-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.inc | 12 | ||||
-rw-r--r-- | meta/packages/drm/libdrm_2.4.15.bb | 14 | ||||
-rw-r--r-- | meta/packages/drm/libdrm_git.bb | 11 |
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 @@ | |||
1 | SECTION = "x11/base" | ||
2 | LICENSE = "MIT" | ||
3 | SRC_URI = "http://dri.freedesktop.org/libdrm/libdrm-${PV}.tar.bz2" | ||
4 | PROVIDES = "drm" | ||
5 | DEPENDS = "libpthread-stubs udev cairo virtual/libx11" | ||
6 | |||
7 | PACKAGES =+ "libdrm-tests" | ||
8 | FILES_libdrm-tests = "${bindir}/dr* ${bindir}/mode*" | ||
9 | |||
10 | LEAD_SONAME = "libdrm.so" | ||
11 | |||
12 | inherit 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 @@ | |||
1 | SECTION = "x11/base" | 1 | require libdrm.inc |
2 | LICENSE = "MIT" | ||
3 | SRC_URI = "http://dri.freedesktop.org/libdrm/libdrm-${PV}.tar.bz2 \ | ||
4 | file://installtests.patch;patch=1" | ||
5 | PR = "r1" | ||
6 | PROVIDES = "drm" | ||
7 | DEPENDS = "libpthread-stubs udev cairo" | ||
8 | |||
9 | PACKAGES =+ "libdrm-tests" | ||
10 | FILES_libdrm-tests = "${bindir}/dr* ${bindir}/mode*" | ||
11 | 2 | ||
12 | inherit autotools_stage pkgconfig | 3 | SRC_URI += "file://installtests.patch;patch=1" |
4 | PR = "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 @@ | |||
1 | SECTION = "x11/base" | 1 | require libdrm.inc |
2 | LICENSE = "MIT" | 2 | |
3 | SRC_URI = "git://anongit.freedesktop.org/git/mesa/drm;protocol=git" | 3 | SRC_URI = "git://anongit.freedesktop.org/git/mesa/drm;protocol=git" |
4 | PROVIDES = "drm" | ||
5 | 4 | ||
6 | S = ${WORKDIR}/git | 5 | S = ${WORKDIR}/git |
7 | 6 | ||
8 | DEPENDS = "libpthread-stubs" | ||
9 | |||
10 | PV = "2.4.15+git${SRCREV}" | 7 | PV = "2.4.15+git${SRCREV}" |
11 | PR = "r0" | 8 | PR = "r0" |
12 | |||
13 | LEAD_SONAME = "libdrm.so" | ||
14 | |||
15 | inherit autotools_stage pkgconfig | ||