blob: eb8e0318ee37a86c4d338f70f44468a806d3d81a [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 Geisslereff27472021-10-29 15:35:00 -05008SRCREV = "d28a980802ad48568c87da02d630c8babfe163bb"
Andrew Geissler69721092021-07-23 12:57:00 -04009PV .= "+10.0.1+git${SRCPV}"
10SRC_URI = "gitsm://github.com/${BPN}/${BPN}.git \
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 = ""