2013-12-19 15:13:01 +00:00
|
|
|
SUMMARY = "Shared MIME type database and specification"
|
2010-07-02 01:43:43 +00:00
|
|
|
HOMEPAGE = "http://freedesktop.org/wiki/Software/shared-mime-info"
|
2007-09-06 10:44:14 +00:00
|
|
|
SECTION = "base"
|
2010-07-13 07:31:32 +00:00
|
|
|
|
2011-10-05 19:46:12 +00:00
|
|
|
LICENSE = "LGPLv2+"
|
|
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
2007-09-06 10:44:14 +00:00
|
|
|
|
2009-11-05 13:31:59 +00:00
|
|
|
DEPENDS = "libxml2 intltool-native glib-2.0 shared-mime-info-native"
|
recipes-support: replace virtclass-native(sdk) with class-native(sdk)
The overrides virtclass-native and virtclass-nativesdk are deprecated,
which should be replaced by class-native and class-nativesdk.
NOTE:
There were 2 errors in libcap.inc, the BUILD_LDFLAGS_virtclass_native
should be BUILD_LDFLAGS_virtclass-native (the "_" should be "-"),
otherwise it doesn't work, and the value was: "-Wl,rpath=...", this is
incorrect, it shoudl be: "-Wl,-rpath=..." (lacked a - ), but we don't
need this line, since it is already in the default BUILD_LDFLAGS. Remove
it and we don't need to bump the PR since we just removed a unused line.
[YOCTO #3297]
(From OE-Core rev: cafb550fe9034754933f1708446dde155dcc3d51)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-27 08:48:17 +00:00
|
|
|
DEPENDS_class-native = "libxml2-native intltool-native glib-2.0-native"
|
2007-09-06 10:44:14 +00:00
|
|
|
|
2011-10-05 19:46:12 +00:00
|
|
|
SRC_URI = "http://freedesktop.org/~hadess/shared-mime-info-${PV}.tar.xz"
|
2010-07-02 01:43:43 +00:00
|
|
|
|
2007-09-06 10:44:14 +00:00
|
|
|
inherit autotools pkgconfig gettext
|
|
|
|
|
|
|
|
EXTRA_OECONF = "--disable-update-mimedb"
|
|
|
|
|
|
|
|
FILES_${PN} += "${datadir}/mime"
|
|
|
|
FILES_${PN}-dev += "${datadir}/pkgconfig/shared-mime-info.pc"
|
2009-11-05 13:31:59 +00:00
|
|
|
|
2011-11-08 23:31:32 +00:00
|
|
|
# freedesktop.org.xml is only required when updating the mime database,
|
|
|
|
# package it separately
|
2011-11-18 14:13:33 +00:00
|
|
|
PACKAGES =+ "shared-mime-info-data"
|
2011-11-08 23:31:32 +00:00
|
|
|
FILES_shared-mime-info-data = "${datadir}/mime/packages/freedesktop.org.xml"
|
|
|
|
RDEPENDS_shared-mime-info-data = "shared-mime-info"
|
|
|
|
|
2010-10-15 15:30:41 +00:00
|
|
|
do_install () {
|
|
|
|
autotools_do_install
|
2009-11-05 13:31:59 +00:00
|
|
|
|
2010-10-15 15:30:41 +00:00
|
|
|
update-mime-database ${D}${datadir}/mime
|
|
|
|
}
|
|
|
|
|
recipes-support: replace virtclass-native(sdk) with class-native(sdk)
The overrides virtclass-native and virtclass-nativesdk are deprecated,
which should be replaced by class-native and class-nativesdk.
NOTE:
There were 2 errors in libcap.inc, the BUILD_LDFLAGS_virtclass_native
should be BUILD_LDFLAGS_virtclass-native (the "_" should be "-"),
otherwise it doesn't work, and the value was: "-Wl,rpath=...", this is
incorrect, it shoudl be: "-Wl,-rpath=..." (lacked a - ), but we don't
need this line, since it is already in the default BUILD_LDFLAGS. Remove
it and we don't need to bump the PR since we just removed a unused line.
[YOCTO #3297]
(From OE-Core rev: cafb550fe9034754933f1708446dde155dcc3d51)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-27 08:48:17 +00:00
|
|
|
do_install_class-native () {
|
2010-10-15 15:30:41 +00:00
|
|
|
autotools_do_install
|
2009-11-05 13:31:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
BBCLASSEXTEND = "native"
|