2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2009-04-29 09:21:02 +02:00
|
|
|
#
|
|
|
|
# shared-mime-info
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-06-06 01:53:25 +02:00
|
|
|
|
2015-10-19 15:33:56 +02:00
|
|
|
SHARED_MIME_INFO_VERSION = 1.5
|
|
|
|
SHARED_MIME_INFO_SOURCE = shared-mime-info-$(SHARED_MIME_INFO_VERSION).tar.xz
|
2009-04-29 09:21:02 +02:00
|
|
|
SHARED_MIME_INFO_SITE = http://freedesktop.org/~hadess
|
|
|
|
SHARED_MIME_INFO_INSTALL_STAGING = YES
|
|
|
|
SHARED_MIME_INFO_CONF_ENV = XMLLINT=$(HOST_DIR)/usr/bin/xmllint
|
2015-02-27 10:19:18 +01:00
|
|
|
SHARED_MIME_INFO_DEPENDENCIES = host-shared-mime-info libxml2 libglib2
|
2014-09-27 21:32:44 +02:00
|
|
|
SHARED_MIME_INFO_CONF_OPTS = --disable-update-mimedb
|
2011-07-14 09:16:28 +02:00
|
|
|
SHARED_MIME_INFO_MAKE = $(MAKE1)
|
2014-06-24 20:55:41 +02:00
|
|
|
SHARED_MIME_INFO_LICENSE = GPLv2
|
|
|
|
SHARED_MIME_INFO_LICENSE_FILES = COPYING
|
2009-04-29 09:21:02 +02:00
|
|
|
|
2015-02-27 10:19:18 +01:00
|
|
|
HOST_SHARED_MIME_INFO_DEPENDENCIES = \
|
|
|
|
host-pkgconf host-intltool host-libxml2 host-libglib2
|
2009-11-03 00:10:41 +01:00
|
|
|
|
2014-09-27 21:32:44 +02:00
|
|
|
HOST_SHARED_MIME_INFO_CONF_OPTS = --disable-update-mimedb
|
2011-07-14 09:16:28 +02:00
|
|
|
HOST_SHARED_MIME_INFO_MAKE = $(MAKE1)
|
2009-04-29 09:21:02 +02:00
|
|
|
|
2010-09-01 17:32:03 +02:00
|
|
|
define SHARED_MIME_INFO_INSTALL_TARGET_CMDS
|
|
|
|
$(HOST_MAKE_ENV) $(SHARED_MIME_INFO_HOST_BINARY) $(STAGING_DIR)/usr/share/mime
|
|
|
|
$(INSTALL) -D $(STAGING_DIR)/usr/share/mime/mime.cache $(TARGET_DIR)/usr/share/mime/mime.cache
|
|
|
|
endef
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|
2012-07-03 00:06:54 +02:00
|
|
|
$(eval $(host-autotools-package))
|
2009-04-29 09:21:02 +02:00
|
|
|
|
|
|
|
# shared-mime-info for the host
|
2013-01-20 10:45:47 +01:00
|
|
|
SHARED_MIME_INFO_HOST_BINARY = $(HOST_DIR)/usr/bin/update-mime-database
|