diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-05 13:31:59 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-13 12:15:25 +0000 |
commit | 9a17752a7c9f1bec698682fae1c88f01e059300b (patch) | |
tree | 6c859ef8941eda84f0029de10d286a4118a0d15c | |
parent | 6e642b436f4d88b94738e0916a33b1c61a560d82 (diff) | |
download | poky-9a17752a7c9f1bec698682fae1c88f01e059300b.tar.gz |
shared-mime-info: Convert to BBCLASSEXTEND
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
3 files changed, 13 insertions, 17 deletions
diff --git a/meta/packages/shared-mime-info/shared-mime-info-native_0.51.bb b/meta/packages/shared-mime-info/shared-mime-info-native_0.51.bb deleted file mode 100644 index bd6f522f20..0000000000 --- a/meta/packages/shared-mime-info/shared-mime-info-native_0.51.bb +++ /dev/null | |||
@@ -1,7 +0,0 @@ | |||
1 | require shared-mime-info.inc | ||
2 | |||
3 | DEPENDS = "libxml2-native intltool-native glib-2.0-native" | ||
4 | |||
5 | inherit native | ||
6 | |||
7 | S = "${WORKDIR}/shared-mime-info-${PV}" | ||
diff --git a/meta/packages/shared-mime-info/shared-mime-info.inc b/meta/packages/shared-mime-info/shared-mime-info.inc index ba96f17390..81320371fa 100644 --- a/meta/packages/shared-mime-info/shared-mime-info.inc +++ b/meta/packages/shared-mime-info/shared-mime-info.inc | |||
@@ -2,6 +2,10 @@ SECTION = "base" | |||
2 | LICENSE = "GPL" | 2 | LICENSE = "GPL" |
3 | 3 | ||
4 | SRC_URI = "http://freedesktop.org/~hadess/shared-mime-info-${PV}.tar.bz2" | 4 | SRC_URI = "http://freedesktop.org/~hadess/shared-mime-info-${PV}.tar.bz2" |
5 | DEPENDS = "libxml2 intltool-native glib-2.0 shared-mime-info-native" | ||
6 | DEPENDS_virtclass-native = "libxml2-native intltool-native glib-2.0-native" | ||
7 | |||
8 | PR = "r2" | ||
5 | 9 | ||
6 | inherit autotools pkgconfig gettext | 10 | inherit autotools pkgconfig gettext |
7 | 11 | ||
@@ -9,3 +13,12 @@ EXTRA_OECONF = "--disable-update-mimedb" | |||
9 | 13 | ||
10 | FILES_${PN} += "${datadir}/mime" | 14 | FILES_${PN} += "${datadir}/mime" |
11 | FILES_${PN}-dev += "${datadir}/pkgconfig/shared-mime-info.pc" | 15 | FILES_${PN}-dev += "${datadir}/pkgconfig/shared-mime-info.pc" |
16 | |||
17 | do_install_append() { | ||
18 | update-mime-database ${D}${datadir}/mime | ||
19 | |||
20 | # we do not need it on device and it is huge | ||
21 | rm ${D}${datadir}/mime/packages/freedesktop.org.xml | ||
22 | } | ||
23 | |||
24 | BBCLASSEXTEND = "native" | ||
diff --git a/meta/packages/shared-mime-info/shared-mime-info_0.51.bb b/meta/packages/shared-mime-info/shared-mime-info_0.51.bb index c8e475af56..fc64c2b0e0 100644 --- a/meta/packages/shared-mime-info/shared-mime-info_0.51.bb +++ b/meta/packages/shared-mime-info/shared-mime-info_0.51.bb | |||
@@ -1,11 +1 @@ | |||
1 | require shared-mime-info.inc | require shared-mime-info.inc | |
2 | |||
3 | DEPENDS = "libxml2 intltool-native glib-2.0 shared-mime-info-native" | ||
4 | PR = "r1" | ||
5 | |||
6 | do_install_append() { | ||
7 | update-mime-database ${D}${datadir}/mime | ||
8 | |||
9 | # we do not need it on device and it is huge | ||
10 | rm ${D}${datadir}/mime/packages/freedesktop.org.xml | ||
11 | } | ||