summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraeme Gregory <dp@xora.org.uk>2007-05-23 08:51:22 +0000
committerGraeme Gregory <dp@xora.org.uk>2007-05-23 08:51:22 +0000
commit37431a917e6df891f6264ff513207ecf6a672438 (patch)
treec8eec2c2aaf58eeb85043fec17b455210da7089b
parent5f16458fc5f74519affca2fe5fbe3900a6fa0c9f (diff)
parenta0972c9bb21ee1251be28f178ab1ef19004eaf12 (diff)
merge of 'b08d9d4a3fc9e44d960626ad250ff9fcadee0de7'
and 'e096dd4171fd4ad6e125678751c04753ae8624e4'
-rw-r--r--packages/gtk+/composite-pixbuf_0.0.bb18
1 files changed, 18 insertions, 0 deletions
diff --git a/packages/gtk+/composite-pixbuf_0.0.bb b/packages/gtk+/composite-pixbuf_0.0.bb
new file mode 100644
index 0000000000..729343fb44
--- /dev/null
+++ b/packages/gtk+/composite-pixbuf_0.0.bb
@@ -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}
+}