Gentoo Archives: gentoo-commits

From: "William Hubbs (williamh)" <williamh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-misc/shared-mime-info: shared-mime-info-1.4.ebuild ChangeLog
Date: Sun, 08 Feb 2015 16:30:54
Message-Id: 20150208163051.204821154F@oystercatcher.gentoo.org
1 williamh 15/02/08 16:30:51
2
3 Modified: ChangeLog
4 Added: shared-mime-info-1.4.ebuild
5 Log:
6 version bump requested by ssuominen
7
8 (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 0x30C46538)
9
10 Revision Changes Path
11 1.214 x11-misc/shared-mime-info/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/shared-mime-info/ChangeLog?rev=1.214&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/shared-mime-info/ChangeLog?rev=1.214&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/shared-mime-info/ChangeLog?r1=1.213&r2=1.214
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/x11-misc/shared-mime-info/ChangeLog,v
20 retrieving revision 1.213
21 retrieving revision 1.214
22 diff -u -r1.213 -r1.214
23 --- ChangeLog 30 May 2014 14:08:41 -0000 1.213
24 +++ ChangeLog 8 Feb 2015 16:30:51 -0000 1.214
25 @@ -1,6 +1,11 @@
26 # ChangeLog for x11-misc/shared-mime-info
27 -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/shared-mime-info/ChangeLog,v 1.213 2014/05/30 14:08:41 ssuominen Exp $
29 +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/shared-mime-info/ChangeLog,v 1.214 2015/02/08 16:30:51 williamh Exp $
31 +
32 +*shared-mime-info-1.4 (08 Feb 2015)
33 +
34 + 08 Feb 2015; William Hubbs <williamh@g.o> +shared-mime-info-1.4.ebuild:
35 + version bump requested by ssuominen
36
37 30 May 2014; Samuli Suominen <ssuominen@g.o>
38 -shared-mime-info-1.0.ebuild, -shared-mime-info-1.1.ebuild:
39
40
41
42 1.1 x11-misc/shared-mime-info/shared-mime-info-1.4.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/shared-mime-info/shared-mime-info-1.4.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/shared-mime-info/shared-mime-info-1.4.ebuild?rev=1.1&content-type=text/plain
46
47 Index: shared-mime-info-1.4.ebuild
48 ===================================================================
49 # Copyright 1999-2015 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/x11-misc/shared-mime-info/shared-mime-info-1.4.ebuild,v 1.1 2015/02/08 16:30:51 williamh Exp $
52
53 EAPI=5
54 inherit eutils fdo-mime
55
56 DESCRIPTION="The Shared MIME-info Database specification"
57 HOMEPAGE="http://freedesktop.org/wiki/Software/shared-mime-info"
58 SRC_URI="http://people.freedesktop.org/~hadess/${P}.tar.xz"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 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"
63 IUSE="test"
64
65 RDEPEND=">=dev-libs/glib-2
66 dev-libs/libxml2"
67 DEPEND="${RDEPEND}
68 dev-util/intltool
69 sys-devel/gettext
70 virtual/pkgconfig"
71
72 DOCS=( ChangeLog HACKING NEWS README )
73
74 src_configure() {
75 export ac_cv_func_fdatasync=no #487504
76
77 econf \
78 $(use_enable test default-make-check) \
79 --disable-update-mimedb
80 }
81
82 src_compile() {
83 # FIXME: 0.91 fails with -j9 every second time like:
84 # update_mime_database-update-mime-database.o: file not recognized: File truncated
85 # collect2: ld returned 1 exit status
86 emake -j1
87 }
88
89 src_install() {
90 default
91
92 # in prefix, install an env.d entry such that prefix patch is used/added
93 if use prefix; then
94 echo "XDG_DATA_DIRS=\"${EPREFIX}/usr/share\"" > "${T}"/50mimeinfo
95 doenvd "${T}"/50mimeinfo
96 fi
97 }
98
99 pkg_postinst() {
100 use prefix && export XDG_DATA_DIRS="${EPREFIX}"/usr/share
101 fdo-mime_mime_database_update
102 }