aboutsummaryrefslogtreecommitdiff
path: root/package/apitrace
diff options
context:
space:
mode:
authorGravatar Jérôme Pouiller <jezz@sysmic.org>2014-01-02 22:27:40 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-01-10 23:56:10 +0100
commit65ef7afc72a311e32311c88d3dd35a1885926c59 (patch)
tree948668d58077cb808775f626e22c6351de07c124 /package/apitrace
parentd00f36c9dcf609ea642e072593bfe23ab09c44a2 (diff)
downloadbuildroot-65ef7afc72a311e32311c88d3dd35a1885926c59.tar.gz
buildroot-65ef7afc72a311e32311c88d3dd35a1885926c59.tar.bz2
apitrace: new package
Trace and replay OpenGL and OpenGL ES APIs calls to/from a file. http://apitrace.github.io/ [Peter: fix Config.in, depend on glibc, use github helper] Signed-off-by: Jérôme Pouiller <jezz@sysmic.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/apitrace')
-rw-r--r--package/apitrace/Config.in16
-rw-r--r--package/apitrace/apitrace.mk17
2 files changed, 33 insertions, 0 deletions
diff --git a/package/apitrace/Config.in b/package/apitrace/Config.in
new file mode 100644
index 0000000000..6491463263
--- /dev/null
+++ b/package/apitrace/Config.in
@@ -0,0 +1,16 @@
+comment "apitrace needs a (e)glibc toolchain w/ C++"
+ depends on BR2_PACKAGE_XORG7
+ depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_USES_GLIBC
+
+config BR2_PACKAGE_APITRACE
+ bool "apitrace"
+ depends on BR2_INSTALL_LIBSTDCPP
+ depends on BR2_TOOLCHAIN_USES_GLIBC # uses glibc specific __libc_dlsym
+ depends on BR2_PACKAGE_XORG7
+ select BR2_PACKAGE_XLIB_LIBX11
+ help
+ Trace and replay OpenGL and OpenGL ES APIs calls to/from a
+ file. You may install apitrace GUI from your distribution to
+ inspect generated traces.
+
+ http://apitrace.github.io/
diff --git a/package/apitrace/apitrace.mk b/package/apitrace/apitrace.mk
new file mode 100644
index 0000000000..a07ae7d62d
--- /dev/null
+++ b/package/apitrace/apitrace.mk
@@ -0,0 +1,17 @@
+################################################################################
+#
+# apitrace
+#
+################################################################################
+
+APITRACE_VERSION = c181b7fbf4b1c3912424761fec8ac7124640543a
+APITRACE_SITE = $(call github,apitrace,apitrace,$(APITRACE_VERSION))
+APITRACE_LICENSE = MIT
+APITRACE_LICENSE_FILES = LICENSE
+
+APITRACE_DEPENDENCIES = xlib_libX11 host-python
+
+# Gui was never tested, so we prefer to explicitly disable it
+APITRACE_CONF_OPT += -DENABLE_GUI=false
+
+$(eval $(cmake-package))