summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/eglinfo/eglinfo.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/eglinfo/eglinfo.inc')
-rw-r--r--meta/recipes-graphics/eglinfo/eglinfo.inc38
1 files changed, 0 insertions, 38 deletions
diff --git a/meta/recipes-graphics/eglinfo/eglinfo.inc b/meta/recipes-graphics/eglinfo/eglinfo.inc
deleted file mode 100644
index 6dcb0c5a19..0000000000
--- a/meta/recipes-graphics/eglinfo/eglinfo.inc
+++ /dev/null
@@ -1,38 +0,0 @@
1SUMMARY = "Utility for printing information EGL and its client APIs (OpenGL, OpenGL ES, OpenVG)"
2SECTION = "graphics"
3LICENSE = "Zlib"
4HOMEPAGE = "https://github.com/dv1/eglinfo"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=8d4f33bc3add976f7dfae85dab66f03c"
6
7DEPENDS = "virtual/egl"
8
9SRC_URI = "git://github.com/dv1/eglinfo.git;branch=master \
10 file://waf \
11 file://0001-Add-STAGING_INCDIR-to-searchpath-for-egl-headers.patch \
12 file://0001-Check-for-libegl-using-pkg-config.patch \
13 "
14SRCREV = "223817ee37988042db7873cfb5b2e899dfe35c10"
15
16CVE_PRODUCT = "eglinfo"
17
18S = "${WORKDIR}/git"
19
20inherit waf distro_features_check pkgconfig
21# depends on virtual/egl
22REQUIRED_DISTRO_FEATURES ?= "opengl"
23
24# BSP layers should add .bbappend files for the -x11 and -fb .bb recipes, which
25# append the respective EGL/OpenGLES/OpenVG libraries to DEPENDS and set
26# EGL_DEVICE as appropriate.
27EGLINFO_DEVICE ?= "generic"
28
29EXTRA_OECONF = "--platform=${EGLINFO_PLATFORM} \
30 --device=${EGLINFO_DEVICE} \
31 --sysroot ${STAGING_DIR_TARGET}"
32
33do_configure_prepend() {
34 install -D -m 0755 ${WORKDIR}/waf ${S}/waf
35}
36do_install_append() {
37 mv ${D}/${bindir}/eglinfo ${D}/${bindir}/${EGLINFO_BINARY_NAME}
38}