diff options
author | Denys Dmytriyenko <denys@ti.com> | 2015-07-09 02:53:50 +0000 |
---|---|---|
committer | Denys Dmytriyenko <denys@ti.com> | 2015-07-08 18:00:40 -0400 |
commit | 2d2633227f541395276316a4b45bafa41be94003 (patch) | |
tree | 3364e7d9e26ee9daa7a03be0367bf1e53533038b /recipes-graphics | |
parent | 5a891f797c61edeba355a50326db4247edd06b78 (diff) | |
download | meta-ti-2d2633227f541395276316a4b45bafa41be94003.tar.gz |
libdrm.inc: overlay recently removed .inc used by our custom version
Consider dropping custom version altogether after verifying everything
is upstreamed.
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'recipes-graphics')
-rw-r--r-- | recipes-graphics/drm/libdrm.inc | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/recipes-graphics/drm/libdrm.inc b/recipes-graphics/drm/libdrm.inc new file mode 100644 index 00000000..d3e1e92b --- /dev/null +++ b/recipes-graphics/drm/libdrm.inc | |||
@@ -0,0 +1,41 @@ | |||
1 | SUMMARY = "Userspace interface to the kernel DRM services" | ||
2 | DESCRIPTION = "The runtime library for accessing the kernel DRM services. DRM \ | ||
3 | stands for \"Direct Rendering Manager\", which is the kernel portion of the \ | ||
4 | \"Direct Rendering Infrastructure\" (DRI). DRI is required for many hardware \ | ||
5 | accelerated OpenGL drivers." | ||
6 | HOMEPAGE = "http://dri.freedesktop.org" | ||
7 | SECTION = "x11/base" | ||
8 | LICENSE = "MIT" | ||
9 | LIC_FILES_CHKSUM = "file://xf86drm.c;beginline=9;endline=32;md5=c8a3b961af7667c530816761e949dc71" | ||
10 | SRC_URI = "http://dri.freedesktop.org/libdrm/libdrm-${PV}.tar.bz2" | ||
11 | PROVIDES = "drm" | ||
12 | DEPENDS = "libpthread-stubs udev" | ||
13 | |||
14 | # be aware that libdrm_2.4.44.bb ignores this | ||
15 | INC_PR = "r4" | ||
16 | |||
17 | #libpciaccess is required starting from libdrm 2.4.26 | ||
18 | DEPENDS += " libpciaccess" | ||
19 | |||
20 | inherit autotools pkgconfig | ||
21 | |||
22 | EXTRA_OECONF += "--disable-cairo-tests \ | ||
23 | --enable-omap-experimental-api \ | ||
24 | --enable-install-test-programs \ | ||
25 | --disable-manpages \ | ||
26 | " | ||
27 | ALLOW_EMPTY_${PN}-drivers = "1" | ||
28 | PACKAGES =+ "${PN}-tests ${PN}-drivers ${PN}-radeon ${PN}-nouveau ${PN}-omap \ | ||
29 | ${PN}-intel ${PN}-exynos ${PN}-kms ${PN}-freedreno" | ||
30 | |||
31 | RRECOMMENDS_${PN}-drivers = "${PN}-radeon ${PN}-nouveau ${PN}-omap ${PN}-intel \ | ||
32 | ${PN}-exynos ${PN}-freedreno" | ||
33 | |||
34 | FILES_${PN}-tests = "${bindir}/dr* ${bindir}/mode* ${bindir}/*test" | ||
35 | FILES_${PN}-radeon = "${libdir}/libdrm_radeon.so.*" | ||
36 | FILES_${PN}-nouveau = "${libdir}/libdrm_nouveau.so.*" | ||
37 | FILES_${PN}-omap = "${libdir}/libdrm_omap.so.*" | ||
38 | FILES_${PN}-intel = "${libdir}/libdrm_intel.so.*" | ||
39 | FILES_${PN}-exynos = "${libdir}/libdrm_exynos.so.*" | ||
40 | FILES_${PN}-kms = "${libdir}/libkms*.so.*" | ||
41 | FILES_${PN}-freedreno = "${libdir}/libdrm_freedreno.so.*" | ||