composite-pixbug: add test app for pixbug performance
authorKoen Kooi <koen@openembedded.org>
Wed, 23 May 2007 08:09:06 +0000 (08:09 +0000)
committerKoen Kooi <koen@openembedded.org>
Wed, 23 May 2007 08:09:06 +0000 (08:09 +0000)
packages/gtk+/composite-pixbuf_0.0.bb [new file with mode: 0644]

diff --git a/packages/gtk+/composite-pixbuf_0.0.bb b/packages/gtk+/composite-pixbuf_0.0.bb
new file mode 100644 (file)
index 0000000..729343f
--- /dev/null
@@ -0,0 +1,18 @@
+DESCRIPTION = "Pixbuf performance test"
+LICENSE = "Public domain"
+DEPENDS = "gtk+" 
+
+SRC_URI = "http://amelang.net/composite_pixbuf.c"
+
+S = "${WORKDIR}"
+
+do_compile() {
+        ${CC} ${CFLAGS} composite_pixbuf.c -o composite_pixbuf \
+            `pkg-config --cflags gdk-2.0` `pkg-config --libs gdk-2.0` `pkg-config --libs x11` `pkg-config --libs pango` \
+            -lxcb -lXext -lXinerama -lXrandr -lXcursor -lXfixes -lpangoft2-1.0 -lz -lexpat -lxcb-xlib -lXau -lXdmcp  
+}          
+
+do_install() {
+        install -d ${D}${bindir} 
+        install -m 755 composite_pixbuf ${D}${bindir}
+}