1 |
commit: 8d037598fc78bf5e41e5f6b7594fe753dd56b3f5 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Mar 6 09:44:44 2017 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Mar 6 09:45:03 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d037598 |
7 |
|
8 |
app-misc/mc: Removed old. |
9 |
|
10 |
Package-Manager: Portage-2.3.4, Repoman-2.3.2 |
11 |
|
12 |
app-misc/mc/Manifest | 3 - |
13 |
.../mc/files/mc-4.8.15-ebuild_syntax_EAPI-6.patch | 11 --- |
14 |
app-misc/mc/mc-4.8.14.ebuild | 101 -------------------- |
15 |
app-misc/mc/mc-4.8.16.ebuild | 106 --------------------- |
16 |
app-misc/mc/mc-4.8.17.ebuild | 103 -------------------- |
17 |
app-misc/mc/mc-4.8.18.ebuild | 102 -------------------- |
18 |
6 files changed, 426 deletions(-) |
19 |
|
20 |
diff --git a/app-misc/mc/Manifest b/app-misc/mc/Manifest |
21 |
index 9511916028f..dd32e78a0f4 100644 |
22 |
--- a/app-misc/mc/Manifest |
23 |
+++ b/app-misc/mc/Manifest |
24 |
@@ -1,6 +1,3 @@ |
25 |
-DIST mc-4.8.14.tar.xz 2305788 SHA256 6b1f74efbdf394bfab084f4d2ea2e72173de5f12cd42be2533ca2c3b72edb8e6 SHA512 656a15d117db9a831dcd6f59965a643199cf533d744db3bb6dfaba59854eb07213fa54a3aeb1878abb179d836b434d84490ba505e05c7d829b4ae2ac46e5e724 WHIRLPOOL 6a59dbb517960e39c52c4eaa04b295e17af97cc121ffd2f93f35ad42940dc870f39c3a8c2c310051807ef5649b11fab05e46567b1a635b4e0e192924bd0ae0aa |
26 |
DIST mc-4.8.15.tar.xz 2304812 SHA256 cf4e8f5dfe419830d56ca7e5f2495898e37ebcd05da1e47ff7041446c87fba16 SHA512 b8e05e1bcadcb766a43269a4724e36b77221b004d53783718fe455167693ff029e3e54cde47740d0c0ecd5adacfb3960a8ecce76eeaea234bbbcfd54db3b1760 WHIRLPOOL 6ddf2f5b88825584653a7027d515bfc84caba003408df31b4b8257a3f8c81a179e39a7bb7cc8571976537983f5dac7d6c06ddfbd6142ef0b31639a914f56c0f1 |
27 |
-DIST mc-4.8.16.tar.xz 2387724 SHA256 bbbcbe3097d3160f865d24aa38ff122f1c59752b5ef153ca4ade5ac0f82b7020 SHA512 209a4f92f493d1df5d9976bbd2547b92172270fd35c221e4d4d99630b3530a5cc849bfdff842b47f35e32d215d5af35aadd5cd02bd12567f3736ad4915abb944 WHIRLPOOL 88ec84c10c7f0137b799f7754f25beb372326856107b32fa80f5ecc73dcc9ce6249a8ddc528d2d3e6f723d396828c30dd056b5a3b9b79eb33a0230e9a0c79454 |
28 |
-DIST mc-4.8.17.tar.xz 2457156 SHA256 0447bdddc0baa81866e66f50f9a545d29d6eebb68b0ab46c98d8fddd2bf4e44d SHA512 e995e5b1eb0a5831fe567e4398c9a68fa610c8631f1f13fb277f67f709656bc97bd7b20f289bdace35276984556edd1aed324412d225698c5853809a6d128f72 WHIRLPOOL ad36526d4961baafd35ed55c600c534826036afb1a7b14b81f9617ea766a6cc9100b317a49349428c36b091389e20fa4abd01c931e2e93d9028024857f2419c1 |
29 |
DIST mc-4.8.18.tar.xz 2462080 SHA256 f7636815c987c1719c4f5de2dcd156a0e7d097b1d10e4466d2bdead343d5bece SHA512 edd81f6ab50ca7bb3582064f6722e490d33ae9dfbef3835e26206089d3898420968da394780c594083fa17c01a85cda9068d9931199b8319bf6361f90e900eb8 WHIRLPOOL dd0c1cdfe93468ebc399b270d693751bc7c0665cb49040d9409c3a336c953be0d304c463b8c8a0a26e42c720c116a4b4bd9b930caa2f2101298e01c4ac5c6237 |
30 |
DIST mc-4.8.19.tar.xz 2521808 SHA256 eb9e56bbb5b2893601d100d0e0293983049b302c5ab61bfb544ad0ee2cc1f2df SHA512 aec49f0da1fc69099ce9b0f71926d1e9ee6df0be12f53da94a8f5f4266612515031cd02f328a458bf78260c5efb1c8ca2c34c89e20a77567c8b987e43d446531 WHIRLPOOL 21c57a2717c58488cc7aa5ba5159b9231e09181059662f392a5212a17aa5475493793d49b99e73ebe74d9594201a84cfc63c3a460654579b7399cc563594ab7a |
31 |
|
32 |
diff --git a/app-misc/mc/files/mc-4.8.15-ebuild_syntax_EAPI-6.patch b/app-misc/mc/files/mc-4.8.15-ebuild_syntax_EAPI-6.patch |
33 |
deleted file mode 100644 |
34 |
index dda0d834ca9..00000000000 |
35 |
--- a/app-misc/mc/files/mc-4.8.15-ebuild_syntax_EAPI-6.patch |
36 |
+++ /dev/null |
37 |
@@ -1,11 +0,0 @@ |
38 |
---- mc-4.8.15/misc/syntax/ebuild.syntax |
39 |
-+++ mc-4.8.15/misc/syntax/ebuild.syntax |
40 |
-@@ -75,6 +75,8 @@ |
41 |
- keyword whole dosed yellow |
42 |
- keyword whole dosym yellow |
43 |
- keyword whole eaclocal yellow |
44 |
-+ keyword whole eapply yellow |
45 |
-+ keyword whole eapply_user yellow |
46 |
- keyword whole eautoconf yellow |
47 |
- keyword whole eautoreconf yellow |
48 |
- keyword whole eautomake yellow |
49 |
|
50 |
diff --git a/app-misc/mc/mc-4.8.14.ebuild b/app-misc/mc/mc-4.8.14.ebuild |
51 |
deleted file mode 100644 |
52 |
index bb36c56e0d5..00000000000 |
53 |
--- a/app-misc/mc/mc-4.8.14.ebuild |
54 |
+++ /dev/null |
55 |
@@ -1,101 +0,0 @@ |
56 |
-# Copyright 1999-2017 Gentoo Foundation |
57 |
-# Distributed under the terms of the GNU General Public License v2 |
58 |
- |
59 |
-EAPI=5 |
60 |
- |
61 |
-inherit autotools eutils flag-o-matic |
62 |
- |
63 |
-MY_P=${P/_/-} |
64 |
- |
65 |
-DESCRIPTION="GNU Midnight Commander is a text based file manager" |
66 |
-HOMEPAGE="http://www.midnight-commander.org" |
67 |
-SRC_URI="http://www.midnight-commander.org/downloads/${MY_P}.tar.xz" |
68 |
- |
69 |
-LICENSE="GPL-3" |
70 |
-SLOT="0" |
71 |
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris" |
72 |
-IUSE="+edit gpm mclib nls samba sftp +slang spell test X +xdg" |
73 |
- |
74 |
-REQUIRED_USE="spell? ( edit )" |
75 |
- |
76 |
-RDEPEND=">=dev-libs/glib-2.8:2 |
77 |
- gpm? ( sys-libs/gpm ) |
78 |
- kernel_linux? ( sys-fs/e2fsprogs ) |
79 |
- samba? ( net-fs/samba ) |
80 |
- sftp? ( net-libs/libssh2 ) |
81 |
- slang? ( >=sys-libs/slang-2 ) |
82 |
- !slang? ( sys-libs/ncurses ) |
83 |
- spell? ( app-text/aspell ) |
84 |
- X? ( x11-libs/libX11 |
85 |
- x11-libs/libICE |
86 |
- x11-libs/libXau |
87 |
- x11-libs/libXdmcp |
88 |
- x11-libs/libSM )" |
89 |
-DEPEND="${RDEPEND} |
90 |
- app-arch/xz-utils |
91 |
- virtual/pkgconfig |
92 |
- nls? ( sys-devel/gettext ) |
93 |
- test? ( dev-libs/check ) |
94 |
- " |
95 |
- |
96 |
-[[ -n ${LIVE_EBUILD} ]] && DEPEND="${DEPEND} dev-vcs/cvs" # needed only for SCM source tree (autopoint uses cvs) |
97 |
- |
98 |
-src_prepare() { |
99 |
- [[ -n ${LIVE_EBUILD} ]] && ./autogen.sh |
100 |
- |
101 |
- epatch "${FILESDIR}"/${PN}-4.8.13-tinfo.patch |
102 |
- epatch "${FILESDIR}"/${PN}-4.8.16-makedev.patch |
103 |
- epatch_user |
104 |
- eautoreconf |
105 |
-} |
106 |
- |
107 |
-S=${WORKDIR}/${MY_P} |
108 |
- |
109 |
-src_configure() { |
110 |
- local myscreen=ncurses |
111 |
- use slang && myscreen=slang |
112 |
- [[ ${CHOST} == *-solaris* ]] && append-ldflags "-lnsl -lsocket" |
113 |
- |
114 |
- local homedir=".mc" |
115 |
- use xdg && homedir="XDG" |
116 |
- |
117 |
- econf \ |
118 |
- --disable-silent-rules \ |
119 |
- --disable-dependency-tracking \ |
120 |
- $(use_enable nls) \ |
121 |
- --enable-vfs \ |
122 |
- $(use_enable kernel_linux vfs-undelfs) \ |
123 |
- --enable-charset \ |
124 |
- $(use_with X x) \ |
125 |
- $(use_enable samba vfs-smb) \ |
126 |
- $(use_enable sftp vfs-sftp) \ |
127 |
- $(use_enable spell aspell) \ |
128 |
- $(use_with gpm gpm-mouse) \ |
129 |
- --with-screen=${myscreen} \ |
130 |
- $(use_with edit internal-edit) \ |
131 |
- $(use_enable mclib) \ |
132 |
- $(use_enable test tests) \ |
133 |
- --with-homedir=${homedir} |
134 |
-} |
135 |
- |
136 |
-src_install() { |
137 |
- emake DESTDIR="${D}" install |
138 |
- dodoc AUTHORS README NEWS |
139 |
- |
140 |
- # fix bug #334383 |
141 |
- if use kernel_linux && [[ ${EUID} == 0 ]] ; then |
142 |
- fowners root:tty /usr/libexec/mc/cons.saver |
143 |
- fperms g+s /usr/libexec/mc/cons.saver |
144 |
- fi |
145 |
- |
146 |
- if ! use xdg ; then |
147 |
- sed 's@MC_XDG_OPEN="xdg-open"@MC_XDG_OPEN="/bin/false"@' \ |
148 |
- -i "${ED}"/usr/libexec/mc/ext.d/*.sh || die |
149 |
- fi |
150 |
-} |
151 |
- |
152 |
-pkg_postinst() { |
153 |
- elog "To enable exiting to latest working directory," |
154 |
- elog "put this into your ~/.bashrc:" |
155 |
- elog ". ${EPREFIX}/usr/libexec/mc/mc.sh" |
156 |
-} |
157 |
|
158 |
diff --git a/app-misc/mc/mc-4.8.16.ebuild b/app-misc/mc/mc-4.8.16.ebuild |
159 |
deleted file mode 100644 |
160 |
index 07112364218..00000000000 |
161 |
--- a/app-misc/mc/mc-4.8.16.ebuild |
162 |
+++ /dev/null |
163 |
@@ -1,106 +0,0 @@ |
164 |
-# Copyright 1999-2017 Gentoo Foundation |
165 |
-# Distributed under the terms of the GNU General Public License v2 |
166 |
- |
167 |
-EAPI=6 |
168 |
- |
169 |
-inherit autotools eutils flag-o-matic |
170 |
- |
171 |
-MY_P=${P/_/-} |
172 |
- |
173 |
-DESCRIPTION="GNU Midnight Commander is a text based file manager" |
174 |
-HOMEPAGE="http://www.midnight-commander.org" |
175 |
-SRC_URI="http://www.midnight-commander.org/downloads/${MY_P}.tar.xz" |
176 |
- |
177 |
-LICENSE="GPL-3" |
178 |
-SLOT="0" |
179 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris" |
180 |
-IUSE="+edit gpm mclib nls samba sftp +slang spell test X +xdg" |
181 |
- |
182 |
-REQUIRED_USE="spell? ( edit )" |
183 |
- |
184 |
-RDEPEND=">=dev-libs/glib-2.8:2 |
185 |
- gpm? ( sys-libs/gpm ) |
186 |
- kernel_linux? ( sys-fs/e2fsprogs ) |
187 |
- samba? ( net-fs/samba ) |
188 |
- sftp? ( net-libs/libssh2 ) |
189 |
- slang? ( >=sys-libs/slang-2 ) |
190 |
- !slang? ( sys-libs/ncurses:0= ) |
191 |
- spell? ( app-text/aspell ) |
192 |
- X? ( x11-libs/libX11 |
193 |
- x11-libs/libICE |
194 |
- x11-libs/libXau |
195 |
- x11-libs/libXdmcp |
196 |
- x11-libs/libSM )" |
197 |
-DEPEND="${RDEPEND} |
198 |
- app-arch/xz-utils |
199 |
- virtual/pkgconfig |
200 |
- nls? ( sys-devel/gettext ) |
201 |
- test? ( dev-libs/check ) |
202 |
- " |
203 |
- |
204 |
-[[ -n ${LIVE_EBUILD} ]] && DEPEND="${DEPEND} dev-vcs/cvs" # needed only for SCM source tree (autopoint uses cvs) |
205 |
- |
206 |
-PATCHES=( |
207 |
- "${FILESDIR}"/${PN}-4.8.13-tinfo.patch |
208 |
- "${FILESDIR}"/${PN}-4.8.15-ebuild_syntax_EAPI-6.patch |
209 |
- "${FILESDIR}"/${PN}-4.8.16-makedev.patch |
210 |
-) |
211 |
- |
212 |
-S=${WORKDIR}/${MY_P} |
213 |
- |
214 |
-src_prepare() { |
215 |
- [[ -n ${LIVE_EBUILD} ]] && ./autogen.sh |
216 |
- |
217 |
- default |
218 |
- |
219 |
- eautoreconf |
220 |
-} |
221 |
- |
222 |
-src_configure() { |
223 |
- local myscreen=ncurses |
224 |
- use slang && myscreen=slang |
225 |
- [[ ${CHOST} == *-solaris* ]] && append-ldflags "-lnsl -lsocket" |
226 |
- |
227 |
- local homedir=".mc" |
228 |
- use xdg && homedir="XDG" |
229 |
- |
230 |
- econf \ |
231 |
- --disable-silent-rules \ |
232 |
- --disable-dependency-tracking \ |
233 |
- $(use_enable nls) \ |
234 |
- --enable-vfs \ |
235 |
- $(use_enable kernel_linux vfs-undelfs) \ |
236 |
- --enable-charset \ |
237 |
- $(use_with X x) \ |
238 |
- $(use_enable samba vfs-smb) \ |
239 |
- $(use_enable sftp vfs-sftp) \ |
240 |
- $(use_enable spell aspell) \ |
241 |
- $(use_with gpm gpm-mouse) \ |
242 |
- --with-screen=${myscreen} \ |
243 |
- $(use_with edit internal-edit) \ |
244 |
- $(use_enable mclib) \ |
245 |
- $(use_enable test tests) \ |
246 |
- --with-homedir=${homedir} |
247 |
-} |
248 |
- |
249 |
-src_install() { |
250 |
- emake DESTDIR="${D}" install |
251 |
- dodoc AUTHORS README NEWS |
252 |
- |
253 |
- # fix bug #334383 |
254 |
- if use kernel_linux && [[ ${EUID} == 0 ]] ; then |
255 |
- fowners root:tty /usr/libexec/mc/cons.saver |
256 |
- fperms g+s /usr/libexec/mc/cons.saver |
257 |
- fi |
258 |
- |
259 |
- if ! use xdg ; then |
260 |
- sed 's@MC_XDG_OPEN="xdg-open"@MC_XDG_OPEN="/bin/false"@' \ |
261 |
- -i "${ED}"/usr/libexec/mc/ext.d/*.sh || die |
262 |
- fi |
263 |
-} |
264 |
- |
265 |
-pkg_postinst() { |
266 |
- elog "To enable exiting to latest working directory," |
267 |
- elog "put this into your ~/.bashrc:" |
268 |
- elog ". ${EPREFIX}/usr/libexec/mc/mc.sh" |
269 |
-} |
270 |
|
271 |
diff --git a/app-misc/mc/mc-4.8.17.ebuild b/app-misc/mc/mc-4.8.17.ebuild |
272 |
deleted file mode 100644 |
273 |
index 0a28315362f..00000000000 |
274 |
--- a/app-misc/mc/mc-4.8.17.ebuild |
275 |
+++ /dev/null |
276 |
@@ -1,103 +0,0 @@ |
277 |
-# Copyright 1999-2017 Gentoo Foundation |
278 |
-# Distributed under the terms of the GNU General Public License v2 |
279 |
- |
280 |
-EAPI=6 |
281 |
- |
282 |
-inherit autotools eutils flag-o-matic |
283 |
- |
284 |
-MY_P=${P/_/-} |
285 |
- |
286 |
-DESCRIPTION="GNU Midnight Commander is a text based file manager" |
287 |
-HOMEPAGE="http://www.midnight-commander.org" |
288 |
-SRC_URI="http://www.midnight-commander.org/downloads/${MY_P}.tar.xz" |
289 |
- |
290 |
-LICENSE="GPL-3" |
291 |
-SLOT="0" |
292 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris" |
293 |
-IUSE="+edit gpm mclib nls samba sftp +slang spell test X +xdg" |
294 |
- |
295 |
-REQUIRED_USE="spell? ( edit )" |
296 |
- |
297 |
-RDEPEND=">=dev-libs/glib-2.26.0:2 |
298 |
- gpm? ( sys-libs/gpm ) |
299 |
- kernel_linux? ( sys-fs/e2fsprogs ) |
300 |
- samba? ( net-fs/samba ) |
301 |
- sftp? ( net-libs/libssh2 ) |
302 |
- slang? ( >=sys-libs/slang-2 ) |
303 |
- !slang? ( sys-libs/ncurses:0= ) |
304 |
- spell? ( app-text/aspell ) |
305 |
- X? ( x11-libs/libX11 |
306 |
- x11-libs/libICE |
307 |
- x11-libs/libXau |
308 |
- x11-libs/libXdmcp |
309 |
- x11-libs/libSM )" |
310 |
-DEPEND="${RDEPEND} |
311 |
- app-arch/xz-utils |
312 |
- virtual/pkgconfig |
313 |
- nls? ( sys-devel/gettext ) |
314 |
- test? ( dev-libs/check ) |
315 |
- " |
316 |
- |
317 |
-PATCHES=( |
318 |
- "${FILESDIR}"/${PN}-4.8.13-tinfo.patch |
319 |
- "${FILESDIR}"/${PN}-4.8.15-ebuild_syntax_EAPI-6.patch |
320 |
-) |
321 |
- |
322 |
-S=${WORKDIR}/${MY_P} |
323 |
- |
324 |
-src_prepare() { |
325 |
- [[ -n ${LIVE_EBUILD} ]] && ./autogen.sh |
326 |
- |
327 |
- default |
328 |
- |
329 |
- eautoreconf |
330 |
-} |
331 |
- |
332 |
-src_configure() { |
333 |
- local myscreen=ncurses |
334 |
- use slang && myscreen=slang |
335 |
- [[ ${CHOST} == *-solaris* ]] && append-ldflags "-lnsl -lsocket" |
336 |
- |
337 |
- local homedir=".mc" |
338 |
- use xdg && homedir="XDG" |
339 |
- |
340 |
- econf \ |
341 |
- --disable-silent-rules \ |
342 |
- --disable-dependency-tracking \ |
343 |
- $(use_enable nls) \ |
344 |
- --enable-vfs \ |
345 |
- $(use_enable kernel_linux vfs-undelfs) \ |
346 |
- --enable-charset \ |
347 |
- $(use_with X x) \ |
348 |
- $(use_enable samba vfs-smb) \ |
349 |
- $(use_enable sftp vfs-sftp) \ |
350 |
- $(use_enable spell aspell) \ |
351 |
- $(use_with gpm gpm-mouse) \ |
352 |
- --with-screen=${myscreen} \ |
353 |
- $(use_with edit internal-edit) \ |
354 |
- $(use_enable mclib) \ |
355 |
- $(use_enable test tests) \ |
356 |
- --with-homedir=${homedir} |
357 |
-} |
358 |
- |
359 |
-src_install() { |
360 |
- emake DESTDIR="${D}" install |
361 |
- dodoc AUTHORS README NEWS |
362 |
- |
363 |
- # fix bug #334383 |
364 |
- if use kernel_linux && [[ ${EUID} == 0 ]] ; then |
365 |
- fowners root:tty /usr/libexec/mc/cons.saver |
366 |
- fperms g+s /usr/libexec/mc/cons.saver |
367 |
- fi |
368 |
- |
369 |
- if ! use xdg ; then |
370 |
- sed 's@MC_XDG_OPEN="xdg-open"@MC_XDG_OPEN="/bin/false"@' \ |
371 |
- -i "${ED}"/usr/libexec/mc/ext.d/*.sh || die |
372 |
- fi |
373 |
-} |
374 |
- |
375 |
-pkg_postinst() { |
376 |
- elog "To enable exiting to latest working directory," |
377 |
- elog "put this into your ~/.bashrc:" |
378 |
- elog ". ${EPREFIX}/usr/libexec/mc/mc.sh" |
379 |
-} |
380 |
|
381 |
diff --git a/app-misc/mc/mc-4.8.18.ebuild b/app-misc/mc/mc-4.8.18.ebuild |
382 |
deleted file mode 100644 |
383 |
index 377c9a97c9c..00000000000 |
384 |
--- a/app-misc/mc/mc-4.8.18.ebuild |
385 |
+++ /dev/null |
386 |
@@ -1,102 +0,0 @@ |
387 |
-# Copyright 1999-2017 Gentoo Foundation |
388 |
-# Distributed under the terms of the GNU General Public License v2 |
389 |
- |
390 |
-EAPI=6 |
391 |
- |
392 |
-inherit autotools eutils flag-o-matic |
393 |
- |
394 |
-MY_P=${P/_/-} |
395 |
- |
396 |
-DESCRIPTION="GNU Midnight Commander is a text based file manager" |
397 |
-HOMEPAGE="http://www.midnight-commander.org" |
398 |
-SRC_URI="http://ftp.midnight-commander.org/${MY_P}.tar.xz" |
399 |
- |
400 |
-LICENSE="GPL-3" |
401 |
-SLOT="0" |
402 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris" |
403 |
-IUSE="+edit gpm mclib nls samba sftp +slang spell test X +xdg" |
404 |
- |
405 |
-REQUIRED_USE="spell? ( edit )" |
406 |
- |
407 |
-RDEPEND=">=dev-libs/glib-2.26.0:2 |
408 |
- gpm? ( sys-libs/gpm ) |
409 |
- kernel_linux? ( sys-fs/e2fsprogs ) |
410 |
- samba? ( net-fs/samba ) |
411 |
- sftp? ( net-libs/libssh2 ) |
412 |
- slang? ( >=sys-libs/slang-2 ) |
413 |
- !slang? ( sys-libs/ncurses:0= ) |
414 |
- spell? ( app-text/aspell ) |
415 |
- X? ( x11-libs/libX11 |
416 |
- x11-libs/libICE |
417 |
- x11-libs/libXau |
418 |
- x11-libs/libXdmcp |
419 |
- x11-libs/libSM )" |
420 |
-DEPEND="${RDEPEND} |
421 |
- app-arch/xz-utils |
422 |
- virtual/pkgconfig |
423 |
- nls? ( sys-devel/gettext ) |
424 |
- test? ( dev-libs/check ) |
425 |
- " |
426 |
- |
427 |
-PATCHES=( |
428 |
- "${FILESDIR}"/${PN}-4.8.13-tinfo.patch |
429 |
-) |
430 |
- |
431 |
-S=${WORKDIR}/${MY_P} |
432 |
- |
433 |
-src_prepare() { |
434 |
- [[ -n ${LIVE_EBUILD} ]] && ./autogen.sh |
435 |
- |
436 |
- default |
437 |
- |
438 |
- eautoreconf |
439 |
-} |
440 |
- |
441 |
-src_configure() { |
442 |
- local myscreen=ncurses |
443 |
- use slang && myscreen=slang |
444 |
- [[ ${CHOST} == *-solaris* ]] && append-ldflags "-lnsl -lsocket" |
445 |
- |
446 |
- local homedir=".mc" |
447 |
- use xdg && homedir="XDG" |
448 |
- |
449 |
- econf \ |
450 |
- --disable-silent-rules \ |
451 |
- --disable-dependency-tracking \ |
452 |
- $(use_enable nls) \ |
453 |
- --enable-vfs \ |
454 |
- $(use_enable kernel_linux vfs-undelfs) \ |
455 |
- --enable-charset \ |
456 |
- $(use_with X x) \ |
457 |
- $(use_enable samba vfs-smb) \ |
458 |
- $(use_enable sftp vfs-sftp) \ |
459 |
- $(use_enable spell aspell) \ |
460 |
- $(use_with gpm gpm-mouse) \ |
461 |
- --with-screen=${myscreen} \ |
462 |
- $(use_with edit internal-edit) \ |
463 |
- $(use_enable mclib) \ |
464 |
- $(use_enable test tests) \ |
465 |
- --with-homedir=${homedir} |
466 |
-} |
467 |
- |
468 |
-src_install() { |
469 |
- emake DESTDIR="${D}" install |
470 |
- dodoc AUTHORS README NEWS |
471 |
- |
472 |
- # fix bug #334383 |
473 |
- if use kernel_linux && [[ ${EUID} == 0 ]] ; then |
474 |
- fowners root:tty /usr/libexec/mc/cons.saver |
475 |
- fperms g+s /usr/libexec/mc/cons.saver |
476 |
- fi |
477 |
- |
478 |
- if ! use xdg ; then |
479 |
- sed 's@MC_XDG_OPEN="xdg-open"@MC_XDG_OPEN="/bin/false"@' \ |
480 |
- -i "${ED}"/usr/libexec/mc/ext.d/*.sh || die |
481 |
- fi |
482 |
-} |
483 |
- |
484 |
-pkg_postinst() { |
485 |
- elog "To enable exiting to latest working directory," |
486 |
- elog "put this into your ~/.bashrc:" |
487 |
- elog ". ${EPREFIX}/usr/libexec/mc/mc.sh" |
488 |
-} |