diff options
author | Ross Burton <ross@openedhand.com> | 2007-09-06 10:44:14 +0000 |
---|---|---|
committer | Ross Burton <ross@openedhand.com> | 2007-09-06 10:44:14 +0000 |
commit | 69f9c09db13a07b713d27d223d4832d5b89d9442 (patch) | |
tree | e7d2656dae1447146652a9a54271b22ed0f85cd1 /meta/packages | |
parent | f0842c2336c20ccd6febe73188547b587739eee3 (diff) | |
download | poky-69f9c09db13a07b713d27d223d4832d5b89d9442.tar.gz |
shared-mime-info: upgrade to 0.22
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2703 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages')
-rw-r--r-- | meta/packages/shared-mime-info/shared-mime-info.inc | 21 | ||||
-rw-r--r-- | meta/packages/shared-mime-info/shared-mime-info_0.16.bb | 18 | ||||
-rw-r--r-- | meta/packages/shared-mime-info/shared-mime-info_0.22.bb | 2 |
3 files changed, 23 insertions, 18 deletions
diff --git a/meta/packages/shared-mime-info/shared-mime-info.inc b/meta/packages/shared-mime-info/shared-mime-info.inc new file mode 100644 index 0000000000..3e591ad2d6 --- /dev/null +++ b/meta/packages/shared-mime-info/shared-mime-info.inc | |||
@@ -0,0 +1,21 @@ | |||
1 | SECTION = "base" | ||
2 | LICENSE = "GPL" | ||
3 | DEPENDS = "libxml2 intltool-native" | ||
4 | PR = "r0" | ||
5 | |||
6 | SRC_URI = "http://freedesktop.org/~hadess/shared-mime-info-${PV}.tar.bz2" | ||
7 | |||
8 | inherit autotools pkgconfig gettext | ||
9 | |||
10 | EXTRA_OECONF = "--disable-update-mimedb" | ||
11 | |||
12 | FILES_${PN} += "${datadir}/mime" | ||
13 | FILES_${PN}-dev += "${datadir}/pkgconfig/shared-mime-info.pc" | ||
14 | |||
15 | pkg_postinst () { | ||
16 | if [ "x$D" != "x" ]; then | ||
17 | exit 1 | ||
18 | fi | ||
19 | echo "Updating MIME database... this may take a while." | ||
20 | ${bindir}/update-mime-database ${datadir}/mime | ||
21 | } | ||
diff --git a/meta/packages/shared-mime-info/shared-mime-info_0.16.bb b/meta/packages/shared-mime-info/shared-mime-info_0.16.bb deleted file mode 100644 index 746012b7e1..0000000000 --- a/meta/packages/shared-mime-info/shared-mime-info_0.16.bb +++ /dev/null | |||
@@ -1,18 +0,0 @@ | |||
1 | SECTION = "base" | ||
2 | PR = "r2" | ||
3 | |||
4 | DEPENDS = "libxml2 intltool-native glib-2.0" | ||
5 | |||
6 | SRC_URI = "http://freedesktop.org/~jrb/shared-mime-info-${PV}.tar.gz" | ||
7 | LICENSE = "GPL" | ||
8 | inherit autotools pkgconfig gettext | ||
9 | |||
10 | FILES_${PN} += "${datadir}/mime" | ||
11 | #FILES_${PN}-doc += " ${datadir}/gtk-doc" | ||
12 | |||
13 | EXTRA_OECONF = "--disable-update-mimedb" | ||
14 | |||
15 | pkg_postinst () { | ||
16 | echo "Updating MIME database in $D${datadir}/mime ... (This may take a while.)" | ||
17 | ${bindir}/update-mime-database $D${datadir}/mime | ||
18 | } | ||
diff --git a/meta/packages/shared-mime-info/shared-mime-info_0.22.bb b/meta/packages/shared-mime-info/shared-mime-info_0.22.bb new file mode 100644 index 0000000000..f24008ec13 --- /dev/null +++ b/meta/packages/shared-mime-info/shared-mime-info_0.22.bb | |||
@@ -0,0 +1,2 @@ | |||
1 | require shared-mime-info.inc | ||
2 | |||