1 |
commit: e99d866b8329530451a2d38d7f470d59c33fcb52 |
2 |
Author: Harri Nieminen <moikkis <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Mar 1 17:15:58 2017 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 1 20:45:03 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e99d866b |
7 |
|
8 |
x11-misc/qtfm: EAPI bump 4 -> 6 |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
Closes: https://github.com/gentoo/gentoo/pull/4091 |
12 |
|
13 |
x11-misc/qtfm/qtfm-5.5-r1.ebuild | 48 ++++++++++++++++++++++++++++++++++++++++ |
14 |
1 file changed, 48 insertions(+) |
15 |
|
16 |
diff --git a/x11-misc/qtfm/qtfm-5.5-r1.ebuild b/x11-misc/qtfm/qtfm-5.5-r1.ebuild |
17 |
new file mode 100644 |
18 |
index 00000000000..eaff4fb11c7 |
19 |
--- /dev/null |
20 |
+++ b/x11-misc/qtfm/qtfm-5.5-r1.ebuild |
21 |
@@ -0,0 +1,48 @@ |
22 |
+# Copyright 1999-2017 Gentoo Foundation |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=6 |
26 |
+inherit fdo-mime qmake-utils |
27 |
+ |
28 |
+DESCRIPTION="A small, lightweight file manager for desktops based on pure Qt" |
29 |
+HOMEPAGE="http://www.qtfm.org/" |
30 |
+SRC_URI="http://www.qtfm.org/${P}.tar.gz?attredirects=0 -> ${P}.tar.gz" |
31 |
+ |
32 |
+LICENSE="GPL-2" |
33 |
+SLOT="0" |
34 |
+KEYWORDS="~amd64 ~x86" |
35 |
+IUSE="" |
36 |
+ |
37 |
+# file is for LIBS += -lmagic |
38 |
+RDEPEND="sys-apps/file |
39 |
+ dev-qt/qtgui:4" |
40 |
+DEPEND="${RDEPEND}" |
41 |
+ |
42 |
+src_prepare() { |
43 |
+ default |
44 |
+ sed -i \ |
45 |
+ -e "/^docs.path/s:qtfm:${PF}:" \ |
46 |
+ -e '/^docs.files/s: COPYING::' \ |
47 |
+ ${PN}.desktop || die |
48 |
+ sed -i \ |
49 |
+ -e '/MimeType=/s|$|;|' \ |
50 |
+ -e '/Categories=/s|$|;System;FileTools;|' \ |
51 |
+ ${PN}.desktop || die |
52 |
+} |
53 |
+ |
54 |
+src_configure() { |
55 |
+ eqmake4 |
56 |
+} |
57 |
+ |
58 |
+src_install() { |
59 |
+ emake INSTALL_ROOT="${D}" install |
60 |
+ einstalldocs |
61 |
+} |
62 |
+ |
63 |
+pkg_postinst() { |
64 |
+ fdo-mime_desktop_database_update |
65 |
+} |
66 |
+ |
67 |
+pkg_postrm() { |
68 |
+ fdo-mime_desktop_database_update |
69 |
+} |