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