Explorar o código

gtkperf: Adding gtkperf package

Allows some benchmarking of GTK on different targets.
Daniel Laird %!s(int64=17) %!d(string=hai) anos
pai
achega
a6acb09e2a
Modificáronse 3 ficheiros con 26 adicións e 0 borrados
  1. 1 0
      package/Config.in
  2. 10 0
      package/gtkperf/Config.in
  3. 15 0
      package/gtkperf/gtkperf.mk

+ 1 - 0
package/Config.in

@@ -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"

+ 10 - 0
package/gtkperf/Config.in

@@ -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.
+

+ 15 - 0
package/gtkperf/gtkperf.mk

@@ -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))
+