From f6d00867f9cbcf38a38c2fabd0b85d9ada740065 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Wed, 29 Apr 2009 07:21:02 +0000 Subject: Add the shared-mime-info package The shared-mime-info package contains the core database of common types and the update-mime-database command used to extend it. The only thing that is actually needed in the target is the file mime.cache. In order to generate that file, shared-mime-info is installed into the staging-dir. The idea is that other packages might add more mime-info files and these should be collected in staging-dir. From there the mime.cache file is created using tools installed in host-dir and copied to target. From Sven Neumann Modifications by Thomas Petazzoni : * Add a patch to the main Makefile.am so that the $(XMLLINT) variable is used instead of hardcoding xmllint * Apply the patch in the host build of shared-mime-info * In the target build, pass an XMLLINT environment variable so that the xmllint binary isn't searched in $(STAGING_DIR) but in $(HOST_DIR) Signed-off-by: Thomas Petazzoni --- package/shared-mime-info/Config.in | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 package/shared-mime-info/Config.in (limited to 'package/shared-mime-info/Config.in') diff --git a/package/shared-mime-info/Config.in b/package/shared-mime-info/Config.in new file mode 100644 index 000000000..9991899f5 --- /dev/null +++ b/package/shared-mime-info/Config.in @@ -0,0 +1,10 @@ +config BR2_PACKAGE_SHARED_MIME_INFO + bool "shared-mime-info" + select BR2_PACKAGE_LIBGLIB2 + select BR2_PACKAGE_LIBXML2 + help + The shared-mime-info package contains the core + database of common types and the update-mime-database + command used to extend it. + + http://freedesktop.org/wiki/Software/shared-mime-info -- cgit v1.2.3