Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2] apitrace: new package
@ 2014-01-02 21:27 Jérôme Pouiller
  2014-01-02 22:20 ` Jerzy Grzegorek
  2014-01-10 22:55 ` Peter Korsgaard
  0 siblings, 2 replies; 5+ messages in thread
From: Jérôme Pouiller @ 2014-01-02 21:27 UTC (permalink / raw)
  To: buildroot

Trace and replay OpenGL and OpenGL ES APIs calls to/from a file.

http://apitrace.github.io/

Signed-off-by: J?r?me Pouiller <jezz@sysmic.org>
---
v2:
 Fix dependencies problems (identified by Samuel)

 package/Config.in            |  1 +
 package/apitrace/Config.in   | 14 ++++++++++++++
 package/apitrace/apitrace.mk | 17 +++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 100644 package/apitrace/Config.in
 create mode 100644 package/apitrace/apitrace.mk

diff --git a/package/Config.in b/package/Config.in
index 1ee60c1..097b487 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -216,6 +216,7 @@ source "package/weston/Config.in"
 
 comment "X applications"
 source "package/alsamixergui/Config.in"
+source "package/apitrace/Config.in"
 source "package/docker/Config.in"
 source "package/feh/Config.in"
 source "package/freerdp/Config.in"
diff --git a/package/apitrace/Config.in b/package/apitrace/Config.in
new file mode 100644
index 0000000..388b3e9
--- /dev/null
+++ b/package/apitrace/Config.in
@@ -0,0 +1,14 @@
+comment "apitrace needs a toolchain w/ C++"
+	depends on !BR2_INSTALL_LIBSTDCPP
+
+config BR2_PACKAGE_APITRACE
+	bool "apitrace"
+	depends on BR2_PACKAGE_XORG7
+	depends on BR2_INSTALL_LIBSTDCPP
+	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 0000000..c31a5b3
--- /dev/null
+++ b/package/apitrace/apitrace.mk
@@ -0,0 +1,17 @@
+################################################################################
+#
+# apitrace
+#
+################################################################################
+
+APITRACE_VERSION = c181b7fbf4b1c3912424761fec8ac7124640543a
+APITRACE_SITE = http://github.com/apitrace/apitrace/tarball/$(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))
-- 
1.8.3.2

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-01-10 22:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-02 21:27 [Buildroot] [PATCH v2] apitrace: new package Jérôme Pouiller
2014-01-02 22:20 ` Jerzy Grzegorek
2014-01-03  9:01   ` Jérôme Pouiller
2014-01-03  9:05     ` Baruch Siach
2014-01-10 22:55 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox