diff options
-rw-r--r-- | meta/packages/libgtkstylus/libgtkstylus_0.5.bb | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/meta/packages/libgtkstylus/libgtkstylus_0.5.bb b/meta/packages/libgtkstylus/libgtkstylus_0.5.bb index 25d6d42832..f614048a16 100644 --- a/meta/packages/libgtkstylus/libgtkstylus_0.5.bb +++ b/meta/packages/libgtkstylus/libgtkstylus_0.5.bb @@ -2,7 +2,7 @@ DESCRIPTION = "GTK plugin for stylus based systems" SECTION = "libs" DEPENDS = "gtk+" LICENSE = "LGPL" -PR = "r1" +PR = "r2" inherit autotools @@ -14,8 +14,11 @@ do_install_append() { 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/*/modules/libgtkstylus.so.*" -FILES_${PN}-dbg += "${libdir}/gtk-2.0/*/modules/.debug" -FILES_${PN}-dev += "${libdir}/gtk-2.0/*/modules/libgtkstylus.so \ - ${libdir}/gtk-2.0/*/modules/libgtkstylus.*a" + ${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" |