Andrew Geissler | bbbd5f4 | 2020-10-30 15:42:48 -0500 | [diff] [blame] | 1 | SUMMARY = "Tools for tracing OpenGL, Direct3D, and other graphics APIs" |
| 2 | HOMEPAGE = "http://apitrace.github.io/" |
| 3 | SECTION = "console/tools" |
| 4 | LICENSE = "MIT & BSD-3-Clause" |
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=aeb969185a143c3c25130bc2c3ef9a50 \ |
| 6 | file://thirdparty/snappy/COPYING;md5=f62f3080324a97b3159a7a7e61812d0c" |
| 7 | |
Andrew Geissler | eff2747 | 2021-10-29 15:35:00 -0500 | [diff] [blame^] | 8 | SRCREV = "d28a980802ad48568c87da02d630c8babfe163bb" |
Andrew Geissler | 6972109 | 2021-07-23 12:57:00 -0400 | [diff] [blame] | 9 | PV .= "+10.0.1+git${SRCPV}" |
| 10 | SRC_URI = "gitsm://github.com/${BPN}/${BPN}.git \ |
William A. Kennington III | b95905d | 2021-06-02 12:40:56 -0700 | [diff] [blame] | 11 | " |
Andrew Geissler | bbbd5f4 | 2020-10-30 15:42:48 -0500 | [diff] [blame] | 12 | |
| 13 | S = "${WORKDIR}/git" |
| 14 | |
| 15 | DEPENDS += "zlib libpng python3-native" |
| 16 | |
| 17 | inherit cmake |
| 18 | |
Andrew Geissler | eff2747 | 2021-10-29 15:35:00 -0500 | [diff] [blame^] | 19 | PACKAGECONFIG ??= " ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'x11', '', d)} " |
| 20 | PACKAGECONFIG[x11] = "-DENABLE_X11=ON,-DENABLE_X11=OFF,libx11" |
| 21 | |
Andrew Geissler | bbbd5f4 | 2020-10-30 15:42:48 -0500 | [diff] [blame] | 22 | EXTRA_OECMAKE += "\ |
| 23 | -DENABLE_GUI=OFF \ |
Andrew Geissler | bbbd5f4 | 2020-10-30 15:42:48 -0500 | [diff] [blame] | 24 | -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 |
| 30 | EXTRA_OECMAKE += "\ |
| 31 | -DENABLE_STATIC_SNAPPY=ON \ |
| 32 | " |
| 33 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 34 | SECURITY_CFLAGS:toolchain-clang = "" |