Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/shared-mime-info/
Date: Tue, 07 Sep 2021 14:08:48
Message-Id: 1631023720.39f483350546469b6164b15bea9fd9b51f73c68a.pacho@gentoo
1 commit: 39f483350546469b6164b15bea9fd9b51f73c68a
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 7 14:03:22 2021 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 7 14:08:40 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39f48335
7
8 x11-misc/shared-mime-info: Drop old
9
10 Package-Manager: Portage-3.0.22, Repoman-3.0.3
11 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
12
13 x11-misc/shared-mime-info/Manifest | 2 -
14 .../shared-mime-info-1.10-r1.ebuild | 65 ----------------------
15 .../shared-mime-info/shared-mime-info-1.15.ebuild | 48 ----------------
16 3 files changed, 115 deletions(-)
17
18 diff --git a/x11-misc/shared-mime-info/Manifest b/x11-misc/shared-mime-info/Manifest
19 index 7655cafc3f8..8aeea5fb0a0 100644
20 --- a/x11-misc/shared-mime-info/Manifest
21 +++ b/x11-misc/shared-mime-info/Manifest
22 @@ -1,4 +1,2 @@
23 -DIST shared-mime-info-1.10.tar.xz 616800 BLAKE2B a63c97aba9184e7926db01968aef2a741ef089a46ab9365eb8dad5a78f585f90171751baeaa3bc62ed0a37eed6e93d60598fbe1e7e63168106fc8aa05f2f5cc8 SHA512 efc2b63cae11e6b0332f8607ba57a885dec68a23ac299bbda3eb6e2c7ed071c7c40dba73e9cf23ab675fcaa86ea3777fa931a9f25000a08ec6a748734c88beda
24 -DIST shared-mime-info-1.15.tar.xz 772708 BLAKE2B 763c7b5f1128882cb8a027ee7fb35daa5d141ccab07ba7aeae5139b94c1ed1c5702741b30c8803b7796bb6eb66fa02fde41d14e078b1960003bd3ba5e0de4e1a SHA512 3666aa500dfa6a28bd0524400c47fa16d90ae61f8c80f350fd895972319ec2f511618b8a7fa3cbde621edee46fde19e4506bda62f0bd2d0ede1b08d7bdb9aef2
25 DIST shared-mime-info-2.0.tar.xz 5015272 BLAKE2B 8bac4790177f8b72a8c74799d7abca360ad11a922635aa1207eead78674192b300cf0096f5943a65aa3991c8403b145adb24f5e7746db7ea6ceeab64978608c3 SHA512 f4a1ea9a408ffcff325e57585dec5862405e9fd6c79e444048039f3061676501c40168cecf8935d002644a702a21f08f0f7c680ef6a65fdf188e0d892f3cc085
26 DIST shared-mime-info-2.1.tar.xz 5202496 BLAKE2B e8dfc7efe78feb5a38c8115a2b332f46c3dac2f89dffad0834fa7b77560b3ef528e779ab9e42822288f85d8c434fd590859db682f3f99494aa6a4387c985e912 SHA512 87e308281e83c4cf889594f7c2e8dcb4d0d0d3910124c3816fdb886ba7d6113b2581711adcb17032b47f9b8d8b7001fab58daa52b7da7c0ef87915e341d6f1b0
27
28 diff --git a/x11-misc/shared-mime-info/shared-mime-info-1.10-r1.ebuild b/x11-misc/shared-mime-info/shared-mime-info-1.10-r1.ebuild
29 deleted file mode 100644
30 index 30f6230d919..00000000000
31 --- a/x11-misc/shared-mime-info/shared-mime-info-1.10-r1.ebuild
32 +++ /dev/null
33 @@ -1,65 +0,0 @@
34 -# Copyright 1999-2021 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=6
38 -inherit flag-o-matic xdg-utils
39 -
40 -DESCRIPTION="The Shared MIME-info Database specification"
41 -HOMEPAGE="https://freedesktop.org/wiki/Software/shared-mime-info"
42 -SRC_URI="https://people.freedesktop.org/~hadess/${P}.tar.xz"
43 -
44 -LICENSE="GPL-2"
45 -SLOT="0"
46 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
47 -IUSE="test"
48 -RESTRICT="!test? ( test )"
49 -
50 -RDEPEND=">=dev-libs/glib-2
51 - dev-libs/libxml2"
52 -DEPEND="${RDEPEND}
53 - dev-util/intltool
54 - sys-devel/gettext
55 - virtual/pkgconfig"
56 -
57 -DOCS=( ChangeLog HACKING NEWS README )
58 -
59 -src_configure() {
60 - export ac_cv_func_fdatasync=no #487504
61 -
62 - if [[ ${PV} == 1.10 ]]; then
63 - # https://bugs.gentoo.org/684884
64 - append-lfs-flags
65 - else
66 - eerror "LFS support merged upstream."
67 - eerror "https://gitlab.freedesktop.org/xdg/shared-mime-info/merge_requests/20"
68 - die "Please remove LFS workaround."
69 - fi
70 -
71 - local myeconfargs=(
72 - $(use_enable test default-make-check)
73 - --disable-update-mimedb
74 - )
75 - econf "${myeconfargs[@]}"
76 -}
77 -
78 -src_compile() {
79 - # FIXME: 0.91 fails with -j9 every second time like:
80 - # update_mime_database-update-mime-database.o: file not recognized: File truncated
81 - # collect2: ld returned 1 exit status
82 - emake -j1
83 -}
84 -
85 -src_install() {
86 - default
87 -
88 - # in prefix, install an env.d entry such that prefix patch is used/added
89 - if use prefix; then
90 - echo "XDG_DATA_DIRS=\"${EPREFIX}/usr/share\"" > "${T}"/50mimeinfo || die
91 - doenvd "${T}"/50mimeinfo
92 - fi
93 -}
94 -
95 -pkg_postinst() {
96 - use prefix && export XDG_DATA_DIRS="${EPREFIX}"/usr/share
97 - xdg_mimeinfo_database_update
98 -}
99
100 diff --git a/x11-misc/shared-mime-info/shared-mime-info-1.15.ebuild b/x11-misc/shared-mime-info/shared-mime-info-1.15.ebuild
101 deleted file mode 100644
102 index 5af6d1e9416..00000000000
103 --- a/x11-misc/shared-mime-info/shared-mime-info-1.15.ebuild
104 +++ /dev/null
105 @@ -1,48 +0,0 @@
106 -# Copyright 1999-2021 Gentoo Authors
107 -# Distributed under the terms of the GNU General Public License v2
108 -
109 -EAPI=7
110 -
111 -HASH=b27eb88e4155d8fccb8bb3cd12025d5b # don't forget to update on version bumps
112 -inherit xdg-utils
113 -
114 -DESCRIPTION="The Shared MIME-info Database specification"
115 -HOMEPAGE="https://gitlab.freedesktop.org/xdg/shared-mime-info"
116 -SRC_URI="https://gitlab.freedesktop.org/xdg/${PN}/uploads/${HASH}/${P}.tar.xz"
117 -
118 -LICENSE="GPL-2"
119 -SLOT="0"
120 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
121 -
122 -BDEPEND="
123 - dev-util/itstool
124 - sys-devel/gettext
125 - virtual/pkgconfig
126 -"
127 -RDEPEND="
128 - dev-libs/glib:2
129 - dev-libs/libxml2
130 -"
131 -DEPEND="${RDEPEND}"
132 -
133 -DOCS=( ChangeLog HACKING NEWS README )
134 -
135 -src_configure() {
136 - export ac_cv_func_fdatasync=no #487504
137 - econf --disable-update-mimedb
138 -}
139 -
140 -src_install() {
141 - default
142 -
143 - # in prefix, install an env.d entry such that prefix patch is used/added
144 - if use prefix; then
145 - echo "XDG_DATA_DIRS=\"${EPREFIX}/usr/share\"" > "${T}"/50mimeinfo || die
146 - doenvd "${T}"/50mimeinfo
147 - fi
148 -}
149 -
150 -pkg_postinst() {
151 - use prefix && export XDG_DATA_DIRS="${EPREFIX}"/usr/share
152 - xdg_mimeinfo_database_update
153 -}