[OE-core] [meta-gnome 09/10] libgtkstylus: import from oe-core rev 0a6f77f549c095692045825f4b5c4c5a2edff73c
Koen Kooi
koen at dominion.thruhere.net
Thu Apr 21 18:10:51 UTC 2011
Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>
---
.../recipes-gnome/libgtkstylus/files/gtkstylus.sh | 5 ++++
.../recipes-gnome/libgtkstylus/libgtkstylus_0.5.bb | 24 ++++++++++++++++++++
2 files changed, 29 insertions(+), 0 deletions(-)
create mode 100644 meta-gnome/recipes-gnome/libgtkstylus/files/gtkstylus.sh
create mode 100644 meta-gnome/recipes-gnome/libgtkstylus/libgtkstylus_0.5.bb
diff --git a/meta-gnome/recipes-gnome/libgtkstylus/files/gtkstylus.sh b/meta-gnome/recipes-gnome/libgtkstylus/files/gtkstylus.sh
new file mode 100644
index 0000000..b1302ed
--- /dev/null
+++ b/meta-gnome/recipes-gnome/libgtkstylus/files/gtkstylus.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+GTK_MODULES=libgtkstylus.so
+
+export GTK_MODULES
diff --git a/meta-gnome/recipes-gnome/libgtkstylus/libgtkstylus_0.5.bb b/meta-gnome/recipes-gnome/libgtkstylus/libgtkstylus_0.5.bb
new file mode 100644
index 0000000..f614048
--- /dev/null
+++ b/meta-gnome/recipes-gnome/libgtkstylus/libgtkstylus_0.5.bb
@@ -0,0 +1,24 @@
+DESCRIPTION = "GTK plugin for stylus based systems"
+SECTION = "libs"
+DEPENDS = "gtk+"
+LICENSE = "LGPL"
+PR = "r2"
+
+inherit autotools
+
+SRC_URI = "http://burtonini.com/temp/${PN}-${PV}.tar.gz \
+ file://gtkstylus.sh"
+
+do_install_append() {
+ install -d ${D}/${sysconfdir}/X11/Xsession.d
+ install -m 755 ${WORKDIR}/gtkstylus.sh ${D}/${sysconfdir}/X11/Xsession.d/45gtkstylus
+}
+
+# Horrible but rpm falls over if you use '*'
+GTKVER = "2.10.0"
+
+FILES_${PN} = "${sysconfdir} \
+ ${libdir}/gtk-2.0/${GTKVER}/modules/libgtkstylus.so.*"
+FILES_${PN}-dbg += "${libdir}/gtk-2.0/${GTKVER}/modules/.debug"
+FILES_${PN}-dev += "${libdir}/gtk-2.0/${GTKVER}/modules/libgtkstylus.so \
+ ${libdir}/gtk-2.0/${GTKVER}/modules/libgtkstylus.*a"
--
1.6.6.1
More information about the Openembedded-core
mailing list