1 |
commit: 005bee91e9df8ea7ef3e681bc0d288899975fba8 |
2 |
Author: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 5 14:13:00 2017 +0000 |
4 |
Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 5 14:13:00 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=005bee91 |
7 |
|
8 |
app-i18n/libskk: update to EAPI 6 |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.1 |
11 |
|
12 |
app-i18n/libskk/libskk-1.0.1.ebuild | 38 ++++++++++++++++++------------------- |
13 |
1 file changed, 18 insertions(+), 20 deletions(-) |
14 |
|
15 |
diff --git a/app-i18n/libskk/libskk-1.0.1.ebuild b/app-i18n/libskk/libskk-1.0.1.ebuild |
16 |
index 6794948533e..77cf687debe 100644 |
17 |
--- a/app-i18n/libskk/libskk-1.0.1.ebuild |
18 |
+++ b/app-i18n/libskk/libskk-1.0.1.ebuild |
19 |
@@ -1,49 +1,47 @@ |
20 |
-# Copyright 1999-2016 Gentoo Foundation |
21 |
+# Copyright 1999-2017 Gentoo Foundation |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
|
24 |
-EAPI="5" |
25 |
+EAPI="6" |
26 |
|
27 |
-VALA_MIN_API_VERSION="0.14" |
28 |
- |
29 |
-inherit virtualx vala |
30 |
+inherit ltprune vala virtualx |
31 |
|
32 |
DESCRIPTION="GObject-based library to deal with Japanese kana-to-kanji conversion method" |
33 |
HOMEPAGE="https://github.com/ueno/libskk" |
34 |
-SRC_URI="https://www.bitbucket.org/${PN}/${PN}/downloads/${P}.tar.gz" |
35 |
+SRC_URI="https://bitbucket.org/${PN}/${PN}/downloads/${P}.tar.gz" |
36 |
|
37 |
LICENSE="GPL-3" |
38 |
SLOT="0" |
39 |
KEYWORDS="amd64 x86" |
40 |
-IUSE="nls +introspection static-libs" |
41 |
+IUSE="+introspection nls static-libs" |
42 |
|
43 |
-RDEPEND=">=dev-libs/glib-2.16 |
44 |
- dev-libs/libgee:0 |
45 |
+RDEPEND="dev-libs/glib:2 |
46 |
dev-libs/json-glib |
47 |
- introspection? ( >=dev-libs/gobject-introspection-0.10.8 ) |
48 |
+ dev-libs/libgee:0 |
49 |
+ introspection? ( dev-libs/gobject-introspection ) |
50 |
nls? ( virtual/libintl )" |
51 |
DEPEND="${RDEPEND} |
52 |
$(vala_depend) |
53 |
+ dev-util/intltool |
54 |
virtual/pkgconfig |
55 |
- nls? ( |
56 |
- dev-util/intltool |
57 |
- sys-devel/gettext |
58 |
- )" |
59 |
-# doc? ( >=dev-util/valadoc-0.3.1 ) |
60 |
+ nls? ( sys-devel/gettext )" |
61 |
|
62 |
-DOCS="ChangeLog NEWS README" |
63 |
+src_prepare() { |
64 |
+ vala_src_prepare |
65 |
+ default |
66 |
+} |
67 |
|
68 |
src_configure() { |
69 |
econf \ |
70 |
+ $(use_enable introspection) \ |
71 |
$(use_enable nls) \ |
72 |
- $(use_enable static-libs static) \ |
73 |
- $(use_enable introspection) |
74 |
+ $(use_enable static-libs static) |
75 |
} |
76 |
|
77 |
src_test() { |
78 |
- Xemake check || die "emake check failed." |
79 |
+ virtx emake check |
80 |
} |
81 |
|
82 |
src_install() { |
83 |
default |
84 |
- rm -f "${ED}"/usr/lib*/lib*.la |
85 |
+ prune_libtool_files |
86 |
} |