From patchwork Thu Apr 21 18:10:51 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [meta-gnome, 09/10] libgtkstylus: import from oe-core rev 0a6f77f549c095692045825f4b5c4c5a2edff73c Date: Thu, 21 Apr 2011 18:10:51 -0000 From: Koen Kooi X-Patchwork-Id: 2597 Message-Id: <1303409452-19263-9-git-send-email-koen@dominion.thruhere.net> To: openembedded-core@lists.openembedded.org Cc: Koen Kooi Signed-off-by: Koen Kooi --- .../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"