summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/drm/libdrm_2.4.103.bb
diff options
context:
space:
mode:
authorzangrc <zangrc.fnst@cn.fujitsu.com>2020-11-17 05:55:56 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-11-17 21:53:14 +0000
commit749091eac952feed60e7b71860a9a87b02afa704 (patch)
treee1834ad70e596e99f1870040ff1917c08249ca5c /meta/recipes-graphics/drm/libdrm_2.4.103.bb
parent414d1f6108d538497a2fd78851dfad2d141d1082 (diff)
downloadpoky-749091eac952feed60e7b71860a9a87b02afa704.tar.gz
libdrm: upgrade 2.4.102 -> 2.4.103
files/0001-xf86drm.c-fix-build-failure.patch Removed since this is included in 2.4.103. (From OE-Core rev: 689df7eb86103b59304ceb5b69bf544cc3fe3f6c) Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/drm/libdrm_2.4.103.bb')
-rw-r--r--meta/recipes-graphics/drm/libdrm_2.4.103.bb59
1 files changed, 59 insertions, 0 deletions
diff --git a/meta/recipes-graphics/drm/libdrm_2.4.103.bb b/meta/recipes-graphics/drm/libdrm_2.4.103.bb
new file mode 100644
index 0000000000..1028d618ae
--- /dev/null
+++ b/meta/recipes-graphics/drm/libdrm_2.4.103.bb
@@ -0,0 +1,59 @@
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
15SRC_URI[sha256sum] = "3fe0affdba6460166a7323290c18cf68e9b59edcb520722826cb244e9cb50222"
16
17inherit meson pkgconfig manpages
18
19PACKAGECONFIG ??= "libkms intel radeon amdgpu nouveau vmwgfx omap freedreno vc4 etnaviv install-test-programs"
20PACKAGECONFIG[libkms] = "-Dlibkms=true,-Dlibkms=false"
21PACKAGECONFIG[intel] = "-Dintel=true,-Dintel=false,libpciaccess"
22PACKAGECONFIG[radeon] = "-Dradeon=true,-Dradeon=false"
23PACKAGECONFIG[amdgpu] = "-Damdgpu=true,-Damdgpu=false"
24PACKAGECONFIG[nouveau] = "-Dnouveau=true,-Dnouveau=false"
25PACKAGECONFIG[vmwgfx] = "-Dvmwgfx=true,-Dvmwgfx=false"
26PACKAGECONFIG[omap] = "-Domap=true,-Domap=false"
27PACKAGECONFIG[exynos] = "-Dexynos=true,-Dexynos=false"
28PACKAGECONFIG[freedreno] = "-Dfreedreno=true,-Dfreedreno=false"
29PACKAGECONFIG[tegra] = "-Dtegra=true,-Dtegra=false"
30PACKAGECONFIG[vc4] = "-Dvc4=true,-Dvc4=false"
31PACKAGECONFIG[etnaviv] = "-Detnaviv=true,-Detnaviv=false"
32PACKAGECONFIG[freedreno-kgsl] = "-Dfreedreno-kgsl=true,-Dfreedreno-kgsl=false"
33PACKAGECONFIG[valgrind] = "-Dvalgrind=true,-Dvalgrind=false,valgrind"
34PACKAGECONFIG[install-test-programs] = "-Dinstall-test-programs=true,-Dinstall-test-programs=false"
35PACKAGECONFIG[cairo-tests] = "-Dcairo-tests=true,-Dcairo-tests=false"
36PACKAGECONFIG[udev] = "-Dudev=true,-Dudev=false,udev"
37PACKAGECONFIG[manpages] = "-Dman-pages=true,-Dman-pages=false,libxslt-native xmlto-native"
38
39ALLOW_EMPTY_${PN}-drivers = "1"
40PACKAGES =+ "${PN}-tests ${PN}-drivers ${PN}-radeon ${PN}-nouveau ${PN}-omap \
41 ${PN}-intel ${PN}-exynos ${PN}-kms ${PN}-freedreno ${PN}-amdgpu \
42 ${PN}-etnaviv"
43
44RRECOMMENDS_${PN}-drivers = "${PN}-radeon ${PN}-nouveau ${PN}-omap ${PN}-intel \
45 ${PN}-exynos ${PN}-freedreno ${PN}-amdgpu \
46 ${PN}-etnaviv"
47
48FILES_${PN}-tests = "${bindir}/*"
49FILES_${PN}-radeon = "${libdir}/libdrm_radeon.so.*"
50FILES_${PN}-nouveau = "${libdir}/libdrm_nouveau.so.*"
51FILES_${PN}-omap = "${libdir}/libdrm_omap.so.*"
52FILES_${PN}-intel = "${libdir}/libdrm_intel.so.*"
53FILES_${PN}-exynos = "${libdir}/libdrm_exynos.so.*"
54FILES_${PN}-kms = "${libdir}/libkms*.so.*"
55FILES_${PN}-freedreno = "${libdir}/libdrm_freedreno.so.*"
56FILES_${PN}-amdgpu = "${libdir}/libdrm_amdgpu.so.* ${datadir}/${PN}/amdgpu.ids"
57FILES_${PN}-etnaviv = "${libdir}/libdrm_etnaviv.so.*"
58
59BBCLASSEXTEND = "native nativesdk"