From aaf739e6a8f76ca2cb2ed51cf12734951d0f167b Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Thu, 20 Nov 2008 14:57:59 +0100 Subject: mime.bbclass: new class that detects if an package install a file in /usr/share/mime/applications/ and adds the appropriate postinst/prerm magic * the postinst were designed to run off-line as well gnome.bbclass: use mime.bbclass --- classes/gnome.bbclass | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'classes/gnome.bbclass') diff --git a/classes/gnome.bbclass b/classes/gnome.bbclass index 133859d5a0..cae542e962 100644 --- a/classes/gnome.bbclass +++ b/classes/gnome.bbclass @@ -8,10 +8,12 @@ SRC_URI = "${GNOME_MIRROR}/${PN}/${@gnome_verdir("${PV}")}/${PN}-${PV}.tar.bz2" DEPENDS += "gnome-common" -FILES_${PN} += "${datadir}/application-registry ${datadir}/mime-info \ +FILES_${PN} += "${datadir}/application-registry \ + ${datadir}/mime-info \ + ${datadir}/mime/packages \ ${datadir}/gnome-2.0" -inherit autotools pkgconfig gconf +inherit autotools pkgconfig gconf mime AUTOTOOLS_STAGE_PKGCONFIG = "1" -- cgit v1.2.3