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