mirror of
https://git.yoctoproject.org/poky
synced 2026-04-25 06:32:12 +02:00
Rather than implicitly relying on Cairo being disabled through not being present, add a configure switch to forcibly disable it. The updates the code to use a patch backported from upstream git instead of our custom version. (From OE-Core rev: fa9ccb23e5788f331cc868ce4bad4abd1eaeee9c) Signed-off-by: Daniel Stone <daniel@fooishbar.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
28 lines
982 B
PHP
28 lines
982 B
PHP
SUMMARY = "Userspace interface to the kernel DRM services"
|
|
DESCRIPTION = "The runtime library for accessing the kernel DRM services. DRM \
|
|
stands for \"Direct Rendering Manager\", which is the kernel portion of the \
|
|
\"Direct Rendering Infrastructure\" (DRI). DRI is required for many hardware \
|
|
accelerated OpenGL drivers."
|
|
HOMEPAGE = "http://dri.freedesktop.org"
|
|
SECTION = "x11/base"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://xf86drm.c;beginline=9;endline=32;md5=c8a3b961af7667c530816761e949dc71"
|
|
SRC_URI = "http://dri.freedesktop.org/libdrm/libdrm-${PV}.tar.bz2"
|
|
PROVIDES = "drm"
|
|
DEPENDS = "libpthread-stubs udev"
|
|
|
|
INC_PR = "r3"
|
|
|
|
#libpciaccess is required starting from libdrm 2.4.26
|
|
DEPENDS += " libpciaccess"
|
|
|
|
inherit autotools pkgconfig
|
|
|
|
EXTRA_OECONF += "--disable-cairo-tests"
|
|
|
|
PACKAGES =+ "${PN}-tests ${PN}-drivers ${PN}-kms"
|
|
FILES_${PN}-tests = "${bindir}/dr* ${bindir}/mode*"
|
|
FILES_${PN}-drivers = "${libdir}/libdrm_*.so.*"
|
|
FILES_${PN}-kms = "${libdir}/libkms*.so.*"
|
|
|