]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
gtkperf: Adding gtkperf package
authorDaniel Laird <danieljlaird@hotmail.com>
Wed, 27 Aug 2008 12:21:09 +0000 (12:21 -0000)
committerDaniel Laird <danieljlaird@hotmail.com>
Wed, 27 Aug 2008 12:21:09 +0000 (12:21 -0000)
Allows some benchmarking of GTK on different targets.

package/Config.in
package/gtkperf/Config.in [new file with mode: 0644]
package/gtkperf/gtkperf.mk [new file with mode: 0644]

index 4cef7894563fb72a56bf38c6d08f576f70a8f961..72fd03d3d356f01b2b5491f42011dddb6a933e82 100644 (file)
@@ -405,6 +405,7 @@ source "package/alsamixergui/Config.in"
 source "package/dillo/Config.in"
 source "package/docker/Config.in"
 source "package/gqview/Config.in"
+source "package/gtkperf/Config.in"
 source "package/leafpad/Config.in"
 source "package/midori/Config.in"
 source "package/pcmanfm/Config.in"
diff --git a/package/gtkperf/Config.in b/package/gtkperf/Config.in
new file mode 100644 (file)
index 0000000..0122b52
--- /dev/null
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_GTKPERF
+       bool "gtkperf (performance test for GTK2)"
+       depends on BR2_PACKAGE_LIBGTK2
+       help
+         GtkPerf is an application designed to test GTK+ performance.
+         The point is to create common testing platform to run
+         predefined GTK+ widgets
+         e.g. (opening comboboxes, toggling buttons, scrolling text yms.)
+         and this way define the speed of device/platform.
+
diff --git a/package/gtkperf/gtkperf.mk b/package/gtkperf/gtkperf.mk
new file mode 100644 (file)
index 0000000..2e73392
--- /dev/null
@@ -0,0 +1,15 @@
+#############################################################
+#
+# GtkPerf
+#
+#############################################################
+GTKPERF_VERSION:=0.40
+GTKPERF_SOURCE:=gtkperf_$(GTKPERF_VERSION).tar.gz
+GTKPERF_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/gtkperf
+GTKPERF_AUTORECONF = NO
+GTKPERF_INSTALL_TARGET = YES
+GTKPERF_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
+GTKPERF_DEPENDENCIES = libgtk2
+
+$(eval $(call AUTOTARGETS,package,gtkperf))
+