Patchwork [meta-gnome,09/10] libgtkstylus: import from oe-core rev 0a6f77f549c095692045825f4b5c4c5a2edff73c

login
register
mail settings
Submitter Koen Kooi
Date April 21, 2011, 6:10 p.m.
Message ID <1303409452-19263-9-git-send-email-koen@dominion.thruhere.net>
Download mbox | patch
Permalink /patch/2597/
State New, archived
Headers show

Comments

Koen Kooi - April 21, 2011, 6:10 p.m.
Signed-off-by: Koen Kooi <koen@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

Patch

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"