Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -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" |
| 12 | |
Andrew Geissler | d1e8949 | 2021-02-12 15:35:20 -0600 | [diff] [blame] | 13 | SRC_URI = "http://dri.freedesktop.org/libdrm/${BP}.tar.xz \ |
Andrew Geissler | d1e8949 | 2021-02-12 15:35:20 -0600 | [diff] [blame] | 14 | " |
Andrew Geissler | c3d88e4 | 2020-10-02 09:45:00 -0500 | [diff] [blame] | 15 | |
Andrew Geissler | 5f35090 | 2021-07-23 13:09:54 -0400 | [diff] [blame] | 16 | SRC_URI[sha256sum] = "c554cef03b033636a975543eab363cc19081cb464595d3da1ec129f87370f888" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 17 | |
| 18 | inherit meson pkgconfig manpages |
| 19 | |
| 20 | PACKAGECONFIG ??= "libkms intel radeon amdgpu nouveau vmwgfx omap freedreno vc4 etnaviv install-test-programs" |
| 21 | PACKAGECONFIG[libkms] = "-Dlibkms=true,-Dlibkms=false" |
| 22 | PACKAGECONFIG[intel] = "-Dintel=true,-Dintel=false,libpciaccess" |
| 23 | PACKAGECONFIG[radeon] = "-Dradeon=true,-Dradeon=false" |
| 24 | PACKAGECONFIG[amdgpu] = "-Damdgpu=true,-Damdgpu=false" |
| 25 | PACKAGECONFIG[nouveau] = "-Dnouveau=true,-Dnouveau=false" |
| 26 | PACKAGECONFIG[vmwgfx] = "-Dvmwgfx=true,-Dvmwgfx=false" |
| 27 | PACKAGECONFIG[omap] = "-Domap=true,-Domap=false" |
| 28 | PACKAGECONFIG[exynos] = "-Dexynos=true,-Dexynos=false" |
| 29 | PACKAGECONFIG[freedreno] = "-Dfreedreno=true,-Dfreedreno=false" |
| 30 | PACKAGECONFIG[tegra] = "-Dtegra=true,-Dtegra=false" |
| 31 | PACKAGECONFIG[vc4] = "-Dvc4=true,-Dvc4=false" |
| 32 | PACKAGECONFIG[etnaviv] = "-Detnaviv=true,-Detnaviv=false" |
| 33 | PACKAGECONFIG[freedreno-kgsl] = "-Dfreedreno-kgsl=true,-Dfreedreno-kgsl=false" |
| 34 | PACKAGECONFIG[valgrind] = "-Dvalgrind=true,-Dvalgrind=false,valgrind" |
| 35 | PACKAGECONFIG[install-test-programs] = "-Dinstall-test-programs=true,-Dinstall-test-programs=false" |
| 36 | PACKAGECONFIG[cairo-tests] = "-Dcairo-tests=true,-Dcairo-tests=false" |
| 37 | PACKAGECONFIG[udev] = "-Dudev=true,-Dudev=false,udev" |
Andrew Geissler | d1e8949 | 2021-02-12 15:35:20 -0600 | [diff] [blame] | 38 | PACKAGECONFIG[manpages] = "-Dman-pages=true,-Dman-pages=false,libxslt-native xmlto-native python3-docutils-native" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 39 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 40 | ALLOW_EMPTY:${PN}-drivers = "1" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 41 | PACKAGES =+ "${PN}-tests ${PN}-drivers ${PN}-radeon ${PN}-nouveau ${PN}-omap \ |
| 42 | ${PN}-intel ${PN}-exynos ${PN}-kms ${PN}-freedreno ${PN}-amdgpu \ |
| 43 | ${PN}-etnaviv" |
| 44 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 45 | RRECOMMENDS:${PN}-drivers = "${PN}-radeon ${PN}-nouveau ${PN}-omap ${PN}-intel \ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 46 | ${PN}-exynos ${PN}-freedreno ${PN}-amdgpu \ |
| 47 | ${PN}-etnaviv" |
| 48 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 49 | FILES:${PN}-tests = "${bindir}/*" |
| 50 | FILES:${PN}-radeon = "${libdir}/libdrm_radeon.so.*" |
| 51 | FILES:${PN}-nouveau = "${libdir}/libdrm_nouveau.so.*" |
| 52 | FILES:${PN}-omap = "${libdir}/libdrm_omap.so.*" |
| 53 | FILES:${PN}-intel = "${libdir}/libdrm_intel.so.*" |
| 54 | FILES:${PN}-exynos = "${libdir}/libdrm_exynos.so.*" |
| 55 | FILES:${PN}-kms = "${libdir}/libkms*.so.*" |
| 56 | FILES:${PN}-freedreno = "${libdir}/libdrm_freedreno.so.*" |
| 57 | FILES:${PN}-amdgpu = "${libdir}/libdrm_amdgpu.so.* ${datadir}/${PN}/amdgpu.ids" |
| 58 | FILES:${PN}-etnaviv = "${libdir}/libdrm_etnaviv.so.*" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 59 | |
| 60 | BBCLASSEXTEND = "native nativesdk" |