blob: aed7977595cc7b60161e33a842a4e6d03ae27bbe [file] [log] [blame]
Andrew Geisslerbbbd5f42020-10-30 15:42:48 -05001SUMMARY = "Tools for tracing OpenGL, Direct3D, and other graphics APIs"
2HOMEPAGE = "http://apitrace.github.io/"
3SECTION = "console/tools"
4LICENSE = "MIT & BSD-3-Clause"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=aeb969185a143c3c25130bc2c3ef9a50 \
6 file://thirdparty/snappy/COPYING;md5=f62f3080324a97b3159a7a7e61812d0c"
7
Andrew Geissler78b72792022-06-14 06:47:25 -05008SRCREV = "9352fc02bba106fbbeef9e8452ef34643c0d0764"
9PV .= "+11.1+git${SRCPV}"
Andrew Geissler595f6302022-01-24 19:11:47 +000010SRC_URI = "gitsm://github.com/${BPN}/${BPN}.git;branch=master;protocol=https \
William A. Kennington IIIb95905d2021-06-02 12:40:56 -070011 "
Andrew Geisslerbbbd5f42020-10-30 15:42:48 -050012
13S = "${WORKDIR}/git"
14
15DEPENDS += "zlib libpng python3-native"
16
17inherit cmake
18
Andrew Geisslereff27472021-10-29 15:35:00 -050019PACKAGECONFIG ??= " ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'x11', '', d)} "
20PACKAGECONFIG[x11] = "-DENABLE_X11=ON,-DENABLE_X11=OFF,libx11"
21
Andrew Geisslerbbbd5f42020-10-30 15:42:48 -050022EXTRA_OECMAKE += "\
23 -DENABLE_GUI=OFF \
Andrew Geisslerbbbd5f42020-10-30 15:42:48 -050024 -DENABLE_STATIC_LIBGCC=OFF \
25 -DENABLE_STATIC_LIBSTDCXX=OFF \
26 -DPython3_ROOT_DIR=/usr/bin/python3-native \
27"
28
29# Use the bundled snappy library
30EXTRA_OECMAKE += "\
31 -DENABLE_STATIC_SNAPPY=ON \
32"
33
Patrick Williams213cb262021-08-07 19:21:33 -050034SECURITY_CFLAGS:toolchain-clang = ""