summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorRoss Burton <ross@openedhand.com>2007-09-06 10:44:14 +0000
committerRoss Burton <ross@openedhand.com>2007-09-06 10:44:14 +0000
commit69f9c09db13a07b713d27d223d4832d5b89d9442 (patch)
treee7d2656dae1447146652a9a54271b22ed0f85cd1 /meta
parentf0842c2336c20ccd6febe73188547b587739eee3 (diff)
downloadopenembedded-core-69f9c09db13a07b713d27d223d4832d5b89d9442.tar.gz
openembedded-core-69f9c09db13a07b713d27d223d4832d5b89d9442.tar.bz2
openembedded-core-69f9c09db13a07b713d27d223d4832d5b89d9442.tar.xz
openembedded-core-69f9c09db13a07b713d27d223d4832d5b89d9442.zip
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')
-rw-r--r--meta/packages/shared-mime-info/shared-mime-info.inc21
-rw-r--r--meta/packages/shared-mime-info/shared-mime-info_0.16.bb18
-rw-r--r--meta/packages/shared-mime-info/shared-mime-info_0.22.bb2
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 000000000..3e591ad2d
--- /dev/null
+++ b/meta/packages/shared-mime-info/shared-mime-info.inc
@@ -0,0 +1,21 @@
+SECTION = "base"
+LICENSE = "GPL"
+DEPENDS = "libxml2 intltool-native"
+PR = "r0"
+
+SRC_URI = "http://freedesktop.org/~hadess/shared-mime-info-${PV}.tar.bz2"
+
+inherit autotools pkgconfig gettext
+
+EXTRA_OECONF = "--disable-update-mimedb"
+
+FILES_${PN} += "${datadir}/mime"
+FILES_${PN}-dev += "${datadir}/pkgconfig/shared-mime-info.pc"
+
+pkg_postinst () {
+if [ "x$D" != "x" ]; then
+ exit 1
+fi
+ echo "Updating MIME database... this may take a while."
+ ${bindir}/update-mime-database ${datadir}/mime
+}
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 746012b7e..000000000
--- a/meta/packages/shared-mime-info/shared-mime-info_0.16.bb
+++ /dev/null
@@ -1,18 +0,0 @@
-SECTION = "base"
-PR = "r2"
-
-DEPENDS = "libxml2 intltool-native glib-2.0"
-
-SRC_URI = "http://freedesktop.org/~jrb/shared-mime-info-${PV}.tar.gz"
-LICENSE = "GPL"
-inherit autotools pkgconfig gettext
-
-FILES_${PN} += "${datadir}/mime"
-#FILES_${PN}-doc += " ${datadir}/gtk-doc"
-
-EXTRA_OECONF = "--disable-update-mimedb"
-
-pkg_postinst () {
- echo "Updating MIME database in $D${datadir}/mime ... (This may take a while.)"
- ${bindir}/update-mime-database $D${datadir}/mime
-}
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 000000000..f24008ec1
--- /dev/null
+++ b/meta/packages/shared-mime-info/shared-mime-info_0.22.bb
@@ -0,0 +1,2 @@
+require shared-mime-info.inc
+