Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 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 | PROVIDES = "drm" |
| 11 | DEPENDS = "libpthread-stubs udev libpciaccess" |
| 12 | |
| 13 | SRC_URI = "http://dri.freedesktop.org/libdrm/${BP}.tar.bz2 \ |
| 14 | file://installtests.patch \ |
| 15 | file://fix_O_CLOEXEC_undeclared.patch \ |
| 16 | " |
| 17 | |
| 18 | SRC_URI[md5sum] = "b844c6af34e613ebf52f80b3cd8d7055" |
| 19 | SRC_URI[sha256sum] = "ee5b71e1113be37544d0752681c12f040c01f782e2933df7d7bc21fd0d10cebe" |
| 20 | |
| 21 | inherit autotools pkgconfig |
| 22 | |
| 23 | EXTRA_OECONF += "--disable-cairo-tests \ |
| 24 | --enable-omap-experimental-api \ |
| 25 | --enable-install-test-programs \ |
| 26 | --disable-manpages \ |
| 27 | --disable-valgrind \ |
| 28 | " |
| 29 | |
| 30 | ALLOW_EMPTY_${PN}-drivers = "1" |
| 31 | PACKAGES =+ "${PN}-tests ${PN}-drivers ${PN}-radeon ${PN}-nouveau ${PN}-omap \ |
| 32 | ${PN}-intel ${PN}-exynos ${PN}-kms ${PN}-freedreno ${PN}-amdgpu" |
| 33 | |
| 34 | RRECOMMENDS_${PN}-drivers = "${PN}-radeon ${PN}-nouveau ${PN}-omap ${PN}-intel \ |
| 35 | ${PN}-exynos ${PN}-freedreno ${PN}-amdgpu" |
| 36 | |
| 37 | FILES_${PN}-tests = "${bindir}/*" |
| 38 | FILES_${PN}-radeon = "${libdir}/libdrm_radeon.so.*" |
| 39 | FILES_${PN}-nouveau = "${libdir}/libdrm_nouveau.so.*" |
| 40 | FILES_${PN}-omap = "${libdir}/libdrm_omap.so.*" |
| 41 | FILES_${PN}-intel = "${libdir}/libdrm_intel.so.*" |
| 42 | FILES_${PN}-exynos = "${libdir}/libdrm_exynos.so.*" |
| 43 | FILES_${PN}-kms = "${libdir}/libkms*.so.*" |
| 44 | FILES_${PN}-freedreno = "${libdir}/libdrm_freedreno.so.*" |
| 45 | FILES_${PN}-amdgpu = "${libdir}/libdrm_amdgpu.so.*" |