Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/shared-mime-info/
Date: Sat, 23 May 2020 13:34:57
Message-Id: 1590239162.2dbd6f87e9a3e4ceb8941456bda510b377a62839.asturm@gentoo
1 commit: 2dbd6f87e9a3e4ceb8941456bda510b377a62839
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 23 13:06:02 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sat May 23 13:06:02 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2dbd6f87
7
8 x11-misc/shared-mime-info: Drop 1.10 (r0)
9
10 Package-Manager: Portage-2.3.99, Repoman-2.3.22
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 .../shared-mime-info/shared-mime-info-1.10.ebuild | 56 ----------------------
14 1 file changed, 56 deletions(-)
15
16 diff --git a/x11-misc/shared-mime-info/shared-mime-info-1.10.ebuild b/x11-misc/shared-mime-info/shared-mime-info-1.10.ebuild
17 deleted file mode 100644
18 index 8ee394b4473..00000000000
19 --- a/x11-misc/shared-mime-info/shared-mime-info-1.10.ebuild
20 +++ /dev/null
21 @@ -1,56 +0,0 @@
22 -# Copyright 1999-2020 Gentoo Authors
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=6
26 -inherit xdg-utils
27 -
28 -DESCRIPTION="The Shared MIME-info Database specification"
29 -HOMEPAGE="https://freedesktop.org/wiki/Software/shared-mime-info"
30 -SRC_URI="https://people.freedesktop.org/~hadess/${P}.tar.xz"
31 -
32 -LICENSE="GPL-2"
33 -SLOT="0"
34 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
35 -IUSE="test"
36 -RESTRICT="!test? ( test )"
37 -
38 -RDEPEND=">=dev-libs/glib-2
39 - dev-libs/libxml2"
40 -DEPEND="${RDEPEND}
41 - dev-util/intltool
42 - sys-devel/gettext
43 - virtual/pkgconfig"
44 -
45 -DOCS=( ChangeLog HACKING NEWS README )
46 -
47 -src_configure() {
48 - export ac_cv_func_fdatasync=no #487504
49 -
50 - local myeconfargs=(
51 - $(use_enable test default-make-check)
52 - --disable-update-mimedb
53 - )
54 - econf "${myeconfargs[@]}"
55 -}
56 -
57 -src_compile() {
58 - # FIXME: 0.91 fails with -j9 every second time like:
59 - # update_mime_database-update-mime-database.o: file not recognized: File truncated
60 - # collect2: ld returned 1 exit status
61 - emake -j1
62 -}
63 -
64 -src_install() {
65 - default
66 -
67 - # in prefix, install an env.d entry such that prefix patch is used/added
68 - if use prefix; then
69 - echo "XDG_DATA_DIRS=\"${EPREFIX}/usr/share\"" > "${T}"/50mimeinfo || die
70 - doenvd "${T}"/50mimeinfo
71 - fi
72 -}
73 -
74 -pkg_postinst() {
75 - use prefix && export XDG_DATA_DIRS="${EPREFIX}"/usr/share
76 - xdg_mimeinfo_database_update
77 -}