From f8e9dcb5aec368e135107a08a94cb515b919d051 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 4 Nov 2008 22:18:29 +0000 Subject: libgtkstylus: rpm can't cope with these expressions so avoid them for now --- meta/packages/libgtkstylus/libgtkstylus_0.5.bb | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/meta/packages/libgtkstylus/libgtkstylus_0.5.bb b/meta/packages/libgtkstylus/libgtkstylus_0.5.bb index 25d6d4283..f614048a1 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" -- cgit v1.2.3