summaryrefslogtreecommitdiff
path: root/packages/gtk+/pixops-test.bb
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-02-13 20:45:02 +0000
committerKoen Kooi <koen@openembedded.org>2007-02-13 20:45:02 +0000
commita7d5f5476e29516c2e2a1ffe35b37fb067121d5e (patch)
treed5f44018671f212e4c24ee8493576f813dff6e8a /packages/gtk+/pixops-test.bb
parent65d382a0e3d9610190c1a044dde520e725cdc75a (diff)
pixop-test: add small benchmark program to test gdk pixbuf scaling speed
Diffstat (limited to 'packages/gtk+/pixops-test.bb')
-rw-r--r--packages/gtk+/pixops-test.bb25
1 files changed, 25 insertions, 0 deletions
diff --git a/packages/gtk+/pixops-test.bb b/packages/gtk+/pixops-test.bb
new file mode 100644
index 0000000000..b65f700a16
--- /dev/null
+++ b/packages/gtk+/pixops-test.bb
@@ -0,0 +1,25 @@
+DESCRIPTION = "Productive gtk+ devel prodder"
+DEPENDS = "gtk+"
+
+PR = "r1"
+
+inherit pkgconfig
+
+SRC_URI = "file://pixops-test.c \
+ file://gtk-logo-rgb.gif"
+
+do_configure() {
+ cp ${WORKDIR}/pixops-test.c ${S}
+ cp ${WORKDIR}/gtk-logo-rgb.gif ${S}
+}
+
+do_compile() {
+ ${CC} `pkg-config gtk+-2.0 --libs --cflags` `pkg-config pango --libs --cflags` -lXfixes -lz -lpangoft2-1.0 -lgpg-error -lXdmcp -lXcursor -lexpat -lXau -lgcrypt -lXext -lXinerama -lXrandr -o pixops-test pixops-test.c
+}
+
+do_install() {
+ install -d ${D}${bindir}
+ install -d ${D}${datadir}/pixops-test
+ install -m 755 pixops-test ${D}${bindir}
+ install -m 644 gtk-logo-rgb.gif ${D}${datadir}/pixops-test
+}