summaryrefslogtreecommitdiffstats
path: root/recipes-graphics
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@ti.com>2015-07-09 02:53:50 +0000
committerDenys Dmytriyenko <denys@ti.com>2015-07-08 18:00:40 -0400
commit2d2633227f541395276316a4b45bafa41be94003 (patch)
tree3364e7d9e26ee9daa7a03be0367bf1e53533038b /recipes-graphics
parent5a891f797c61edeba355a50326db4247edd06b78 (diff)
downloadmeta-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.inc41
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 @@
1SUMMARY = "Userspace interface to the kernel DRM services"
2DESCRIPTION = "The runtime library for accessing the kernel DRM services. DRM \
3stands for \"Direct Rendering Manager\", which is the kernel portion of the \
4\"Direct Rendering Infrastructure\" (DRI). DRI is required for many hardware \
5accelerated OpenGL drivers."
6HOMEPAGE = "http://dri.freedesktop.org"
7SECTION = "x11/base"
8LICENSE = "MIT"
9LIC_FILES_CHKSUM = "file://xf86drm.c;beginline=9;endline=32;md5=c8a3b961af7667c530816761e949dc71"
10SRC_URI = "http://dri.freedesktop.org/libdrm/libdrm-${PV}.tar.bz2"
11PROVIDES = "drm"
12DEPENDS = "libpthread-stubs udev"
13
14# be aware that libdrm_2.4.44.bb ignores this
15INC_PR = "r4"
16
17#libpciaccess is required starting from libdrm 2.4.26
18DEPENDS += " libpciaccess"
19
20inherit autotools pkgconfig
21
22EXTRA_OECONF += "--disable-cairo-tests \
23 --enable-omap-experimental-api \
24 --enable-install-test-programs \
25 --disable-manpages \
26 "
27ALLOW_EMPTY_${PN}-drivers = "1"
28PACKAGES =+ "${PN}-tests ${PN}-drivers ${PN}-radeon ${PN}-nouveau ${PN}-omap \
29 ${PN}-intel ${PN}-exynos ${PN}-kms ${PN}-freedreno"
30
31RRECOMMENDS_${PN}-drivers = "${PN}-radeon ${PN}-nouveau ${PN}-omap ${PN}-intel \
32 ${PN}-exynos ${PN}-freedreno"
33
34FILES_${PN}-tests = "${bindir}/dr* ${bindir}/mode* ${bindir}/*test"
35FILES_${PN}-radeon = "${libdir}/libdrm_radeon.so.*"
36FILES_${PN}-nouveau = "${libdir}/libdrm_nouveau.so.*"
37FILES_${PN}-omap = "${libdir}/libdrm_omap.so.*"
38FILES_${PN}-intel = "${libdir}/libdrm_intel.so.*"
39FILES_${PN}-exynos = "${libdir}/libdrm_exynos.so.*"
40FILES_${PN}-kms = "${libdir}/libkms*.so.*"
41FILES_${PN}-freedreno = "${libdir}/libdrm_freedreno.so.*"