1 |
commit: 8a65a36fd6655f65e3bd0926495964315fbe51b1 |
2 |
Author: Chris Mayo <aklhfex <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue Jun 20 18:16:33 2017 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 24 03:47:30 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a65a36f |
7 |
|
8 |
app-text/kchmviewer: Fix icon and desktop entry not installed |
9 |
|
10 |
Add missing eutils eclass. Also: |
11 |
- Update HOMEPAGE |
12 |
- Remove sed of desktop entry, trailing semi-colons now optional |
13 |
- Use xdg-utils instead of fdo-mime |
14 |
|
15 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
16 |
|
17 |
app-text/kchmviewer/kchmviewer-7.7-r1.ebuild | 53 ++++++++++++++++++++++++++++ |
18 |
1 file changed, 53 insertions(+) |
19 |
|
20 |
diff --git a/app-text/kchmviewer/kchmviewer-7.7-r1.ebuild b/app-text/kchmviewer/kchmviewer-7.7-r1.ebuild |
21 |
new file mode 100644 |
22 |
index 00000000000..571fac8797d |
23 |
--- /dev/null |
24 |
+++ b/app-text/kchmviewer/kchmviewer-7.7-r1.ebuild |
25 |
@@ -0,0 +1,53 @@ |
26 |
+# Copyright 1999-2017 Gentoo Foundation |
27 |
+# Distributed under the terms of the GNU General Public License v2 |
28 |
+ |
29 |
+EAPI=6 |
30 |
+ |
31 |
+inherit eutils qmake-utils xdg-utils |
32 |
+ |
33 |
+DESCRIPTION="Feature rich chm file viewer, based on Qt" |
34 |
+HOMEPAGE="https://www.ulduzsoft.com/kchmviewer/" |
35 |
+SRC_URI="mirror://sourceforge/kchmviewer/${P}.tar.gz" |
36 |
+ |
37 |
+LICENSE="GPL-3+" |
38 |
+SLOT="0" |
39 |
+KEYWORDS="~amd64 ~x86" |
40 |
+IUSE="" |
41 |
+ |
42 |
+RDEPEND=" |
43 |
+ dev-libs/chmlib |
44 |
+ dev-libs/libzip:= |
45 |
+ dev-qt/qtcore:5 |
46 |
+ dev-qt/qtdbus:5 |
47 |
+ dev-qt/qtgui:5 |
48 |
+ dev-qt/qtnetwork:5 |
49 |
+ dev-qt/qtprintsupport:5 |
50 |
+ dev-qt/qtwebkit:5 |
51 |
+ dev-qt/qtwidgets:5 |
52 |
+ dev-qt/qtxml:5 |
53 |
+" |
54 |
+DEPEND="${RDEPEND}" |
55 |
+ |
56 |
+PATCHES=( |
57 |
+ "${FILESDIR}/${P}-force-qtwebkit.patch" |
58 |
+ "${FILESDIR}/${P}-underlinking.patch" |
59 |
+) |
60 |
+ |
61 |
+src_configure() { |
62 |
+ eqmake5 |
63 |
+} |
64 |
+ |
65 |
+src_install() { |
66 |
+ dodoc ChangeLog DBUS-bindings FAQ README |
67 |
+ doicon packages/kchmviewer.png |
68 |
+ dobin bin/kchmviewer |
69 |
+ domenu packages/kchmviewer.desktop |
70 |
+} |
71 |
+ |
72 |
+pkg_postinst() { |
73 |
+ xdg_desktop_database_update |
74 |
+} |
75 |
+ |
76 |
+pkg_postrm() { |
77 |
+ xdg_desktop_database_update |
78 |
+} |