1 |
commit: 8367e236ce75b1980cfccaf47e83d2d4e8b2f557 |
2 |
Author: Aaron Bauman <bman <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jun 2 14:44:14 2018 +0000 |
4 |
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 2 22:37:15 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8367e236 |
7 |
|
8 |
app-i18n/kanjipad: bump EAPI; drop eutils; use https |
9 |
|
10 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
11 |
Closes: https://github.com/gentoo/gentoo/pull/8692 |
12 |
|
13 |
app-i18n/kanjipad/kanjipad-2.0.0.ebuild | 36 ++++++++++++++++++--------------- |
14 |
1 file changed, 20 insertions(+), 16 deletions(-) |
15 |
|
16 |
diff --git a/app-i18n/kanjipad/kanjipad-2.0.0.ebuild b/app-i18n/kanjipad/kanjipad-2.0.0.ebuild |
17 |
index 790545ce7d5..82d47a93e35 100644 |
18 |
--- a/app-i18n/kanjipad/kanjipad-2.0.0.ebuild |
19 |
+++ b/app-i18n/kanjipad/kanjipad-2.0.0.ebuild |
20 |
@@ -1,17 +1,17 @@ |
21 |
-# Copyright 1999-2014 Gentoo Foundation |
22 |
+# Copyright 1999-2018 Gentoo Foundation |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
-EAPI="2" |
26 |
+EAPI=6 |
27 |
|
28 |
-inherit eutils toolchain-funcs |
29 |
+inherit toolchain-funcs |
30 |
|
31 |
DESCRIPTION="Japanese handwriting recognition tool" |
32 |
-HOMEPAGE="http://fishsoup.net/software/kanjipad/" |
33 |
-SRC_URI="http://fishsoup.net/software/kanjipad/${P}.tar.gz" |
34 |
+HOMEPAGE="https://fishsoup.net/software/kanjipad/" |
35 |
+SRC_URI="https://fishsoup.net/software/kanjipad/${P}.tar.gz" |
36 |
|
37 |
LICENSE="GPL-2" |
38 |
SLOT="0" |
39 |
-KEYWORDS="x86 amd64 ppc64" |
40 |
+KEYWORDS="amd64 ppc64 x86" |
41 |
IUSE="" |
42 |
|
43 |
RDEPEND="x11-libs/gtk+:2 |
44 |
@@ -19,22 +19,26 @@ RDEPEND="x11-libs/gtk+:2 |
45 |
DEPEND="${RDEPEND} |
46 |
virtual/pkgconfig" |
47 |
|
48 |
+DOCS=( ChangeLog README TODO jstroke/README-kanjipad ) |
49 |
+ |
50 |
+PATCHES=( |
51 |
+ "${FILESDIR}/${P}-cflags.patch" |
52 |
+ "${FILESDIR}/${P}-underlinking.patch" |
53 |
+) |
54 |
+ |
55 |
src_prepare() { |
56 |
- epatch "${FILESDIR}"/${P}-cflags.patch \ |
57 |
- "${FILESDIR}"/${P}-underlinking.patch |
58 |
+ default |
59 |
+ perl -i -pe "s|PREFIX=/usr/local|PREFIX=/usr|; |
60 |
+ s|-DG.*DISABLE_DEPRECATED||g" Makefile || die "Fixing Makefile failed" |
61 |
} |
62 |
|
63 |
-src_compile() { |
64 |
+src_configure() { |
65 |
tc-export CC |
66 |
- perl -i -pe "s|PREFIX=/usr/local|PREFIX=/usr|; |
67 |
- s|-DG.*DISABLE_DEPRECATED||g" Makefile || die |
68 |
- |
69 |
- emake || die |
70 |
} |
71 |
|
72 |
src_install() { |
73 |
- dobin kanjipad kpengine || die |
74 |
+ dobin kanjipad kpengine |
75 |
insinto /usr/share/kanjipad |
76 |
- doins jdata.dat || die |
77 |
- dodoc ChangeLog README TODO jstroke/README-kanjipad |
78 |
+ doins jdata.dat |
79 |
+ einstalldocs |
80 |
} |