summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarinus Schraal <foser@gentoo.org>2004-09-14 12:16:21 +0000
committerMarinus Schraal <foser@gentoo.org>2004-09-14 12:16:21 +0000
commit3e375c6145e0850f8a3bf2b80827098d891295d1 (patch)
treee667d831c81c0821dea2d904c7600071c2aad6b1 /x11-misc/shared-mime-info
parentadd fdo-mime eclass & update gnome2 eclass to use it (diff)
downloadgentoo-2-3e375c6145e0850f8a3bf2b80827098d891295d1.tar.gz
gentoo-2-3e375c6145e0850f8a3bf2b80827098d891295d1.tar.bz2
gentoo-2-3e375c6145e0850f8a3bf2b80827098d891295d1.zip
update to use fdo-mime eclass
Diffstat (limited to 'x11-misc/shared-mime-info')
-rw-r--r--x11-misc/shared-mime-info/ChangeLog7
-rw-r--r--x11-misc/shared-mime-info/Manifest18
-rw-r--r--x11-misc/shared-mime-info/files/digest-shared-mime-info-0.14-r11
-rw-r--r--x11-misc/shared-mime-info/shared-mime-info-0.14-r1.ebuild46
4 files changed, 58 insertions, 14 deletions
diff --git a/x11-misc/shared-mime-info/ChangeLog b/x11-misc/shared-mime-info/ChangeLog
index ffcd914f55e5..875e415355b9 100644
--- a/x11-misc/shared-mime-info/ChangeLog
+++ b/x11-misc/shared-mime-info/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for x11-misc/shared-mime-info
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/shared-mime-info/ChangeLog,v 1.25 2004/06/29 04:29:47 tgall Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/shared-mime-info/ChangeLog,v 1.26 2004/09/14 12:16:21 foser Exp $
+
+*shared-mime-info-0.14-r1 (14 Sep 2004)
+
+ 14 Sep 2004; foser <foser@gentoo.org> shared-mime-info-0.14-r1.ebuild :
+ Make the ebuild use the fdo-mime eclass to update the mime db
28 Jun 2004; Tom Gall <tgall@gentoo.org> shared-mime-info-0.14.ebuild:
stable on ppc64, bug #54792
diff --git a/x11-misc/shared-mime-info/Manifest b/x11-misc/shared-mime-info/Manifest
index fdc2f1e0621b..6cb8d63df901 100644
--- a/x11-misc/shared-mime-info/Manifest
+++ b/x11-misc/shared-mime-info/Manifest
@@ -1,18 +1,10 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
+MD5 52d309795632ed881b0478dc300f0cdc shared-mime-info-0.12.ebuild 615
+MD5 3cfbe05b1f0cc4c07273ada1e2f8d2e6 shared-mime-info-0.14-r1.ebuild 891
+MD5 6861b8d484ef6136c0a4db247fc8f9f2 shared-mime-info-0.14.ebuild 716
MD5 24a35baf3dd41b6586924893cdd30375 ChangeLog 2803
MD5 503ccb1138f9c49f0855884d830988a6 metadata.xml 253
-MD5 52d309795632ed881b0478dc300f0cdc shared-mime-info-0.12.ebuild 615
MD5 a9bd46aaaf01a81a9ee5ad47b8c4c8c0 shared-mime-info-0.13.ebuild 633
-MD5 6861b8d484ef6136c0a4db247fc8f9f2 shared-mime-info-0.14.ebuild 716
-MD5 e22d66c3b0f0daaae096665812da282c files/digest-shared-mime-info-0.14 73
MD5 b3db51dac3901aafb456d906112ec0f8 files/digest-shared-mime-info-0.12 73
MD5 264ab01c148db5f6396544e959c2cc79 files/digest-shared-mime-info-0.13 73
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.9.10 (GNU/Linux)
-
-iD8DBQFBP0QWHTu7gpaalycRAlQxAJ4p3Audr1G3/eYu4NRW6cm0KohFdACfZ2jU
-f3bD1hTzskJS09o4LzEPR3w=
-=0Fmf
------END PGP SIGNATURE-----
+MD5 e22d66c3b0f0daaae096665812da282c files/digest-shared-mime-info-0.14 73
+MD5 e22d66c3b0f0daaae096665812da282c files/digest-shared-mime-info-0.14-r1 73
diff --git a/x11-misc/shared-mime-info/files/digest-shared-mime-info-0.14-r1 b/x11-misc/shared-mime-info/files/digest-shared-mime-info-0.14-r1
new file mode 100644
index 000000000000..8ffc33ce5354
--- /dev/null
+++ b/x11-misc/shared-mime-info/files/digest-shared-mime-info-0.14-r1
@@ -0,0 +1 @@
+MD5 c5fc523a8c2b3464c7aa521b6014e5c8 shared-mime-info-0.14.tar.gz 355379
diff --git a/x11-misc/shared-mime-info/shared-mime-info-0.14-r1.ebuild b/x11-misc/shared-mime-info/shared-mime-info-0.14-r1.ebuild
new file mode 100644
index 000000000000..93d7848faaaa
--- /dev/null
+++ b/x11-misc/shared-mime-info/shared-mime-info-0.14-r1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/shared-mime-info/shared-mime-info-0.14-r1.ebuild,v 1.1 2004/09/14 12:16:21 foser Exp $
+
+inherit fdo-mime
+
+DESCRIPTION="The Shared MIME-info Database specification."
+HOMEPAGE="http://www.freedesktop.org/software/shared-mime-info"
+SRC_URI="http://www.freedesktop.org/software/shared-mime-info/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~mips ~alpha ~arm ~hppa ~amd64 ~ia64 ~ppc64"
+IUSE=""
+
+RDEPEND=">=dev-libs/glib-2
+ >=dev-libs/libxml2-2.4"
+
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ >=dev-util/intltool-0.29"
+
+src_compile() {
+
+ econf --disable-update-mimedb || die
+ emake || die
+
+}
+
+src_install() {
+
+ make DESTDIR=${D} install || die
+
+ dodoc ChangeLog NEWS README
+
+}
+
+pkg_postinst() {
+
+ fdo-mime_mime_database_update
+
+}
+
+# FIXME :
+# This ebuild should probably also remove the stuff it now leaves behind
+# in /usr/share/mime