libgtkstylus: import from oe-core rev 0a6f77f549c095692045825f4b5c4c5a2edff73c

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
Koen Kooi 2011-04-21 20:08:21 +02:00
parent 5ad41af6c5
commit 111a652bb6
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,5 @@
#!/bin/sh
GTK_MODULES=libgtkstylus.so
export GTK_MODULES

View File

@ -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"