summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/drm/libdrm_2.4.81.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/drm/libdrm_2.4.81.bb')
-rw-r--r--meta/recipes-graphics/drm/libdrm_2.4.81.bb51
1 files changed, 51 insertions, 0 deletions
diff --git a/meta/recipes-graphics/drm/libdrm_2.4.81.bb b/meta/recipes-graphics/drm/libdrm_2.4.81.bb
new file mode 100644
index 0000000000..9181340a6c
--- /dev/null
+++ b/meta/recipes-graphics/drm/libdrm_2.4.81.bb
@@ -0,0 +1,51 @@
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"
10PROVIDES = "drm"
11DEPENDS = "libpthread-stubs libpciaccess"
12
13SRC_URI = "http://dri.freedesktop.org/libdrm/${BP}.tar.bz2 \
14 file://installtests.patch \
15 file://fix_O_CLOEXEC_undeclared.patch \
16 file://0001-configure.ac-Allow-explicit-enabling-of-cunit-tests.patch \
17 "
18
19SRC_URI[md5sum] = "d04f3567f0a812188d06f860fded5ab7"
20SRC_URI[sha256sum] = "8cc05c195ac8708199979a94c4e4d1a928c14ec338ecbcb38ead09f54dae11ae"
21
22inherit autotools pkgconfig manpages
23
24EXTRA_OECONF += "--disable-cairo-tests \
25 --without-cunit \
26 --enable-omap-experimental-api \
27 --enable-etnaviv-experimental-api \
28 --enable-install-test-programs \
29 --disable-valgrind \
30 "
31PACKAGECONFIG[manpages] = "--enable-manpages, --disable-manpages, libxslt-native xmlto-native"
32
33ALLOW_EMPTY_${PN}-drivers = "1"
34PACKAGES =+ "${PN}-tests ${PN}-drivers ${PN}-radeon ${PN}-nouveau ${PN}-omap \
35 ${PN}-intel ${PN}-exynos ${PN}-kms ${PN}-freedreno ${PN}-amdgpu \
36 ${PN}-etnaviv"
37
38RRECOMMENDS_${PN}-drivers = "${PN}-radeon ${PN}-nouveau ${PN}-omap ${PN}-intel \
39 ${PN}-exynos ${PN}-freedreno ${PN}-amdgpu \
40 ${PN}-etnaviv"
41
42FILES_${PN}-tests = "${bindir}/*"
43FILES_${PN}-radeon = "${libdir}/libdrm_radeon.so.*"
44FILES_${PN}-nouveau = "${libdir}/libdrm_nouveau.so.*"
45FILES_${PN}-omap = "${libdir}/libdrm_omap.so.*"
46FILES_${PN}-intel = "${libdir}/libdrm_intel.so.*"
47FILES_${PN}-exynos = "${libdir}/libdrm_exynos.so.*"
48FILES_${PN}-kms = "${libdir}/libkms*.so.*"
49FILES_${PN}-freedreno = "${libdir}/libdrm_freedreno.so.*"
50FILES_${PN}-amdgpu = "${libdir}/libdrm_amdgpu.so.*"
51FILES_${PN}-etnaviv = "${libdir}/libdrm_etnaviv.so.*"