1 |
commit: 2e03e41079d3879f49fe679ebd75c8cedec84e62 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Dec 27 21:06:53 2017 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Dec 27 21:15:59 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e03e410 |
7 |
|
8 |
app-i18n/imhangul: Port to EAPI 6 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/621942 |
11 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
12 |
|
13 |
app-i18n/imhangul/imhangul-3.1.1.ebuild | 38 ++++++++++++++++----------------- |
14 |
1 file changed, 19 insertions(+), 19 deletions(-) |
15 |
|
16 |
diff --git a/app-i18n/imhangul/imhangul-3.1.1.ebuild b/app-i18n/imhangul/imhangul-3.1.1.ebuild |
17 |
index 6d32c118487..1cebdc2d5fc 100644 |
18 |
--- a/app-i18n/imhangul/imhangul-3.1.1.ebuild |
19 |
+++ b/app-i18n/imhangul/imhangul-3.1.1.ebuild |
20 |
@@ -1,15 +1,14 @@ |
21 |
-# Copyright 1999-2013 Gentoo Foundation |
22 |
+# Copyright 1999-2017 Gentoo Foundation |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
-EAPI="3" |
26 |
-inherit multilib |
27 |
+EAPI=6 |
28 |
|
29 |
DESCRIPTION="Gtk+-3.0 Hangul Input Modules" |
30 |
HOMEPAGE="https://code.google.com/p/imhangul/" |
31 |
SRC_URI="https://imhangul.googlecode.com/files/${P}.tar.bz2" |
32 |
|
33 |
-SLOT="3" |
34 |
LICENSE="LGPL-2.1" |
35 |
+SLOT="3" |
36 |
KEYWORDS="~amd64 ~ppc ~x86" |
37 |
IUSE="" |
38 |
|
39 |
@@ -21,31 +20,32 @@ DEPEND="${RDEPEND} |
40 |
sys-devel/gettext" |
41 |
|
42 |
src_prepare() { |
43 |
+ default |
44 |
+ |
45 |
# Drop DEPRECATED flags, bug #387825 |
46 |
sed -i -e 's:-D[A-Z_]*DISABLE_DEPRECATED:$(NULL):g' Makefile.am Makefile.in || die |
47 |
} |
48 |
|
49 |
src_configure() { |
50 |
- econf --with-gtk-im-module-dir="${EPREFIX}/usr/$(get_libdir)/gtk-3.0/$(pkg-config gtk+-3.0 --variable=gtk_binary_version)/immodules" || die |
51 |
+ econf --with-gtk-im-module-dir="${EPREFIX}/usr/$(get_libdir)/gtk-3.0/$(pkg-config gtk+-3.0 --variable=gtk_binary_version)/immodules" |
52 |
} |
53 |
|
54 |
src_install() { |
55 |
- emake DESTDIR="${D}" install || die |
56 |
- |
57 |
- find "${ED}" -name "*.la" -type f -delete || die |
58 |
+ default |
59 |
+ dodoc imhangul.conf |
60 |
|
61 |
insinto /etc/X11/xinit/xinput.d |
62 |
- newins "${FILESDIR}/xinput-imhangul2" imhangul2.conf || die |
63 |
- newins "${FILESDIR}/xinput-imhangul2y" imhangul2y.conf || die |
64 |
- newins "${FILESDIR}/xinput-imhangul32" imhangul32.conf || die |
65 |
- newins "${FILESDIR}/xinput-imhangul39" imhangul39.conf || die |
66 |
- newins "${FILESDIR}/xinput-imhangul3f" imhangul3f.conf || die |
67 |
- newins "${FILESDIR}/xinput-imhangul3s" imhangul3s.conf || die |
68 |
- newins "${FILESDIR}/xinput-imhangul3y" imhangul3y.conf || die |
69 |
- newins "${FILESDIR}/xinput-imhangulahn" imhangulahn.conf || die |
70 |
- newins "${FILESDIR}/xinput-imhangulro" imhangulro.conf || die |
71 |
- |
72 |
- dodoc AUTHORS ChangeLog NEWS README TODO imhangul.conf || die |
73 |
+ newins "${FILESDIR}/xinput-imhangul2" imhangul2.conf |
74 |
+ newins "${FILESDIR}/xinput-imhangul2y" imhangul2y.conf |
75 |
+ newins "${FILESDIR}/xinput-imhangul32" imhangul32.conf |
76 |
+ newins "${FILESDIR}/xinput-imhangul39" imhangul39.conf |
77 |
+ newins "${FILESDIR}/xinput-imhangul3f" imhangul3f.conf |
78 |
+ newins "${FILESDIR}/xinput-imhangul3s" imhangul3s.conf |
79 |
+ newins "${FILESDIR}/xinput-imhangul3y" imhangul3y.conf |
80 |
+ newins "${FILESDIR}/xinput-imhangulahn" imhangulahn.conf |
81 |
+ newins "${FILESDIR}/xinput-imhangulro" imhangulro.conf |
82 |
+ |
83 |
+ find "${D}" -name '*.la' -delete || die |
84 |
} |
85 |
|
86 |
pkg_postinst() { |