1 |
commit: 7ca4f3c8cd444734a00e747bb91aa4e375673e70 |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Oct 5 22:58:00 2015 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 5 22:58:00 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ca4f3c8 |
7 |
|
8 |
x11-misc/shared-mime-info: Version bump |
9 |
|
10 |
Package-Manager: portage-2.2.22 |
11 |
|
12 |
x11-misc/shared-mime-info/Manifest | 1 + |
13 |
.../shared-mime-info/shared-mime-info-1.5.ebuild | 58 ++++++++++++++++++++++ |
14 |
2 files changed, 59 insertions(+) |
15 |
|
16 |
diff --git a/x11-misc/shared-mime-info/Manifest b/x11-misc/shared-mime-info/Manifest |
17 |
index 120b07d..3d29b4c 100644 |
18 |
--- a/x11-misc/shared-mime-info/Manifest |
19 |
+++ b/x11-misc/shared-mime-info/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST shared-mime-info-1.4.tar.xz 537916 SHA256 bbc0bd023f497dfd75e1ca73441cbbb5a63617d9e14f2790b868361cc055b5b1 SHA512 ac643a5360c1e4811b2df8e3c52434e5ee48f8e62a01ede3fb0895d30721b58b5b26c0edc43f779576ff899bd1a8b181699a08dbbb1e956394555f6ca983a582 WHIRLPOOL 32cb301cd54140b83af8c321b7ebc571b87b07ca86bfc68e6760e4dd3551188a092a96087042b13f1278c11cd88c261879fc816d0c2efcbee473211d929194bf |
22 |
+DIST shared-mime-info-1.5.tar.xz 559040 SHA256 d6412840eb265bf36e61fd7b6fc6bea21b0f58cb22bed16f2ccccdd54bea4180 SHA512 8a97c8fa5a60eede056a42c36d9f8d015bf2788feca4630397ef71ba2cfe29ad469fb1669c368674edd4661af6b2f6823377cc27525f44c61788533c0c28e22a WHIRLPOOL 157dfc0f3a6aacde8ca734217f9a3b2e8baa9bc0254a2024716136215624e642b25537216f79c9a95ba55ee70dff872eb746cb3e0e07cb31a8a190d7d5bf6b7b |
23 |
|
24 |
diff --git a/x11-misc/shared-mime-info/shared-mime-info-1.5.ebuild b/x11-misc/shared-mime-info/shared-mime-info-1.5.ebuild |
25 |
new file mode 100644 |
26 |
index 0000000..e192913 |
27 |
--- /dev/null |
28 |
+++ b/x11-misc/shared-mime-info/shared-mime-info-1.5.ebuild |
29 |
@@ -0,0 +1,58 @@ |
30 |
+# Copyright 1999-2015 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+# $Id$ |
33 |
+ |
34 |
+EAPI=5 |
35 |
+inherit eutils fdo-mime |
36 |
+ |
37 |
+DESCRIPTION="The Shared MIME-info Database specification" |
38 |
+HOMEPAGE="http://freedesktop.org/wiki/Software/shared-mime-info" |
39 |
+SRC_URI="http://people.freedesktop.org/~hadess/${P}.tar.xz" |
40 |
+ |
41 |
+LICENSE="GPL-2" |
42 |
+SLOT="0" |
43 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
44 |
+IUSE="test" |
45 |
+ |
46 |
+RDEPEND=">=dev-libs/glib-2 |
47 |
+ dev-libs/libxml2" |
48 |
+DEPEND="${RDEPEND} |
49 |
+ dev-util/intltool |
50 |
+ sys-devel/gettext |
51 |
+ virtual/pkgconfig" |
52 |
+ |
53 |
+DOCS=( ChangeLog HACKING NEWS README ) |
54 |
+ |
55 |
+src_prepare() { |
56 |
+ epatch_user |
57 |
+} |
58 |
+ |
59 |
+src_configure() { |
60 |
+ export ac_cv_func_fdatasync=no #487504 |
61 |
+ |
62 |
+ econf \ |
63 |
+ $(use_enable test default-make-check) \ |
64 |
+ --disable-update-mimedb |
65 |
+} |
66 |
+ |
67 |
+src_compile() { |
68 |
+ # FIXME: 0.91 fails with -j9 every second time like: |
69 |
+ # update_mime_database-update-mime-database.o: file not recognized: File truncated |
70 |
+ # collect2: ld returned 1 exit status |
71 |
+ emake -j1 |
72 |
+} |
73 |
+ |
74 |
+src_install() { |
75 |
+ default |
76 |
+ |
77 |
+ # in prefix, install an env.d entry such that prefix patch is used/added |
78 |
+ if use prefix; then |
79 |
+ echo "XDG_DATA_DIRS=\"${EPREFIX}/usr/share\"" > "${T}"/50mimeinfo |
80 |
+ doenvd "${T}"/50mimeinfo |
81 |
+ fi |
82 |
+} |
83 |
+ |
84 |
+pkg_postinst() { |
85 |
+ use prefix && export XDG_DATA_DIRS="${EPREFIX}"/usr/share |
86 |
+ fdo-mime_mime_database_update |
87 |
+} |