diff options
Diffstat (limited to 'meta/recipes-graphics/drm/libdrm_2.4.104.bb')
-rw-r--r-- | meta/recipes-graphics/drm/libdrm_2.4.104.bb | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/meta/recipes-graphics/drm/libdrm_2.4.104.bb b/meta/recipes-graphics/drm/libdrm_2.4.104.bb new file mode 100644 index 0000000000..ff869d6db9 --- /dev/null +++ b/meta/recipes-graphics/drm/libdrm_2.4.104.bb | |||
@@ -0,0 +1,61 @@ | |||
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" | ||
12 | |||
13 | SRC_URI = "http://dri.freedesktop.org/libdrm/${BP}.tar.xz \ | ||
14 | file://0001-meson-Also-search-for-rst2man.py.patch \ | ||
15 | " | ||
16 | |||
17 | SRC_URI[sha256sum] = "d66ad8b5c2441015ac1333e40137bb803c3bde3612ff040286fcc12158ea1bcb" | ||
18 | |||
19 | inherit meson pkgconfig manpages | ||
20 | |||
21 | PACKAGECONFIG ??= "libkms intel radeon amdgpu nouveau vmwgfx omap freedreno vc4 etnaviv install-test-programs" | ||
22 | PACKAGECONFIG[libkms] = "-Dlibkms=true,-Dlibkms=false" | ||
23 | PACKAGECONFIG[intel] = "-Dintel=true,-Dintel=false,libpciaccess" | ||
24 | PACKAGECONFIG[radeon] = "-Dradeon=true,-Dradeon=false" | ||
25 | PACKAGECONFIG[amdgpu] = "-Damdgpu=true,-Damdgpu=false" | ||
26 | PACKAGECONFIG[nouveau] = "-Dnouveau=true,-Dnouveau=false" | ||
27 | PACKAGECONFIG[vmwgfx] = "-Dvmwgfx=true,-Dvmwgfx=false" | ||
28 | PACKAGECONFIG[omap] = "-Domap=true,-Domap=false" | ||
29 | PACKAGECONFIG[exynos] = "-Dexynos=true,-Dexynos=false" | ||
30 | PACKAGECONFIG[freedreno] = "-Dfreedreno=true,-Dfreedreno=false" | ||
31 | PACKAGECONFIG[tegra] = "-Dtegra=true,-Dtegra=false" | ||
32 | PACKAGECONFIG[vc4] = "-Dvc4=true,-Dvc4=false" | ||
33 | PACKAGECONFIG[etnaviv] = "-Detnaviv=true,-Detnaviv=false" | ||
34 | PACKAGECONFIG[freedreno-kgsl] = "-Dfreedreno-kgsl=true,-Dfreedreno-kgsl=false" | ||
35 | PACKAGECONFIG[valgrind] = "-Dvalgrind=true,-Dvalgrind=false,valgrind" | ||
36 | PACKAGECONFIG[install-test-programs] = "-Dinstall-test-programs=true,-Dinstall-test-programs=false" | ||
37 | PACKAGECONFIG[cairo-tests] = "-Dcairo-tests=true,-Dcairo-tests=false" | ||
38 | PACKAGECONFIG[udev] = "-Dudev=true,-Dudev=false,udev" | ||
39 | PACKAGECONFIG[manpages] = "-Dman-pages=true,-Dman-pages=false,libxslt-native xmlto-native python3-docutils-native" | ||
40 | |||
41 | ALLOW_EMPTY_${PN}-drivers = "1" | ||
42 | PACKAGES =+ "${PN}-tests ${PN}-drivers ${PN}-radeon ${PN}-nouveau ${PN}-omap \ | ||
43 | ${PN}-intel ${PN}-exynos ${PN}-kms ${PN}-freedreno ${PN}-amdgpu \ | ||
44 | ${PN}-etnaviv" | ||
45 | |||
46 | RRECOMMENDS_${PN}-drivers = "${PN}-radeon ${PN}-nouveau ${PN}-omap ${PN}-intel \ | ||
47 | ${PN}-exynos ${PN}-freedreno ${PN}-amdgpu \ | ||
48 | ${PN}-etnaviv" | ||
49 | |||
50 | FILES_${PN}-tests = "${bindir}/*" | ||
51 | FILES_${PN}-radeon = "${libdir}/libdrm_radeon.so.*" | ||
52 | FILES_${PN}-nouveau = "${libdir}/libdrm_nouveau.so.*" | ||
53 | FILES_${PN}-omap = "${libdir}/libdrm_omap.so.*" | ||
54 | FILES_${PN}-intel = "${libdir}/libdrm_intel.so.*" | ||
55 | FILES_${PN}-exynos = "${libdir}/libdrm_exynos.so.*" | ||
56 | FILES_${PN}-kms = "${libdir}/libkms*.so.*" | ||
57 | FILES_${PN}-freedreno = "${libdir}/libdrm_freedreno.so.*" | ||
58 | FILES_${PN}-amdgpu = "${libdir}/libdrm_amdgpu.so.* ${datadir}/${PN}/amdgpu.ids" | ||
59 | FILES_${PN}-etnaviv = "${libdir}/libdrm_etnaviv.so.*" | ||
60 | |||
61 | BBCLASSEXTEND = "native nativesdk" | ||