1 |
commit: a2bec49a3f9149ae56868b7a95a6c6fd2e25cf4f |
2 |
Author: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 28 14:02:09 2018 +0000 |
4 |
Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 28 14:02:09 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2bec49a |
7 |
|
8 |
dev-libs/m17n-lib: new upstream release |
9 |
|
10 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
11 |
|
12 |
dev-libs/m17n-lib/Manifest | 1 + |
13 |
dev-libs/m17n-lib/m17n-lib-1.8.0.ebuild | 85 +++++++++++++++++++++++++++++++++ |
14 |
dev-libs/m17n-lib/metadata.xml | 31 +++++------- |
15 |
3 files changed, 98 insertions(+), 19 deletions(-) |
16 |
|
17 |
diff --git a/dev-libs/m17n-lib/Manifest b/dev-libs/m17n-lib/Manifest |
18 |
index 88e4c703a49..4af74c61ae1 100644 |
19 |
--- a/dev-libs/m17n-lib/Manifest |
20 |
+++ b/dev-libs/m17n-lib/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST m17n-lib-1.7.0.tar.gz 1063169 BLAKE2B 61192d26dec8a8bdb55b6a819c5b1aa5503e4320d57864889065c9490ee6720f5b258fbef10d5944f69f5a9ccbe49ea5494c8b0a10d536592c301f46df6826c5 SHA512 26fc1be02a5e487a2fa5f2f63d991f3c745aa1b78e20d931fe4b265125266501cc8d402aa3cb5c1b71a7d4c0f7a0bf5b2c3b17ec5f4f8e0f5ee3052ad4e205b7 |
23 |
+DIST m17n-lib-1.8.0.tar.gz 1091731 BLAKE2B a4b55fbc3246fe0865dcf1647e91d03de6ead06fb4349ba207613cdea6bb079c0e7623510a6fb046dce4bfefd262f68c41c9174d29a2b4a6f673da298642e1cb SHA512 8aba862888393232172c03cdf52531e29ea969c4327e6f69879ecf7438eafee32782f509ec292b3e1b7cd3202e2764984d7a59e85cdb87a7c8bfcbac5b0ee6fd |
24 |
|
25 |
diff --git a/dev-libs/m17n-lib/m17n-lib-1.8.0.ebuild b/dev-libs/m17n-lib/m17n-lib-1.8.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..7ea10bb0d92 |
28 |
--- /dev/null |
29 |
+++ b/dev-libs/m17n-lib/m17n-lib-1.8.0.ebuild |
30 |
@@ -0,0 +1,85 @@ |
31 |
+# Copyright 1999-2018 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI="6" |
35 |
+ |
36 |
+inherit autotools |
37 |
+ |
38 |
+DESCRIPTION="Multilingual Library for Unix/Linux" |
39 |
+HOMEPAGE="https://savannah.nongnu.org/projects/m17n https://git.savannah.nongnu.org/cgit/m17n/m17n-lib.git" |
40 |
+SRC_URI="mirror://nongnu/m17n/${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="LGPL-2.1" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
45 |
+IUSE="X anthy athena bidi fontconfig gd libotf libxml2 spell xft" |
46 |
+ |
47 |
+RDEPEND="~dev-db/m17n-db-${PV} |
48 |
+ X? ( |
49 |
+ x11-libs/libX11 |
50 |
+ athena? ( x11-libs/libXaw ) |
51 |
+ bidi? ( dev-libs/fribidi ) |
52 |
+ fontconfig? ( media-libs/fontconfig ) |
53 |
+ gd? ( media-libs/gd[png] ) |
54 |
+ libotf? ( dev-libs/libotf ) |
55 |
+ xft? ( |
56 |
+ media-libs/freetype |
57 |
+ x11-libs/libXft |
58 |
+ ) |
59 |
+ ) |
60 |
+ anthy? ( app-i18n/anthy ) |
61 |
+ libxml2? ( dev-libs/libxml2 ) |
62 |
+ spell? ( app-text/aspell )" |
63 |
+DEPEND="${RDEPEND} |
64 |
+ virtual/pkgconfig" |
65 |
+ |
66 |
+PATCHES=( |
67 |
+ "${FILESDIR}"/${PN}-configure.patch |
68 |
+ "${FILESDIR}"/${PN}-freetype.patch |
69 |
+ "${FILESDIR}"/${PN}-gui.patch |
70 |
+ "${FILESDIR}"/${PN}-ispell.patch |
71 |
+ "${FILESDIR}"/${PN}-parallel-make.patch |
72 |
+) |
73 |
+ |
74 |
+src_prepare() { |
75 |
+ default |
76 |
+ |
77 |
+ eautoreconf |
78 |
+ # workaround for parallel install |
79 |
+ sed -i "/^install-module/s/:/: install-libLTLIBRARIES/" src/Makefile.in |
80 |
+} |
81 |
+ |
82 |
+src_configure() { |
83 |
+ local myconf=( |
84 |
+ $(use_with anthy) |
85 |
+ $(use_with libxml2) |
86 |
+ $(use_with spell ispell) |
87 |
+ ) |
88 |
+ if use X; then |
89 |
+ myconf+=( |
90 |
+ $(use_with athena) |
91 |
+ $(use_with bidi fribidi) |
92 |
+ $(use_with fontconfig) |
93 |
+ $(use_with xft freetype) |
94 |
+ $(use_with gd) |
95 |
+ --with-gui |
96 |
+ $(use_with libotf) |
97 |
+ --with-x |
98 |
+ $(use_with xft) |
99 |
+ ) |
100 |
+ else |
101 |
+ myconf+=( |
102 |
+ --without-athena |
103 |
+ --without-fontconfig |
104 |
+ --without-freetype |
105 |
+ --without-fribidi |
106 |
+ --without-gd |
107 |
+ --without-gui |
108 |
+ --without-libotf |
109 |
+ --without-x |
110 |
+ --without-xft |
111 |
+ ) |
112 |
+ fi |
113 |
+ |
114 |
+ econf "${myconf[@]}" |
115 |
+} |
116 |
|
117 |
diff --git a/dev-libs/m17n-lib/metadata.xml b/dev-libs/m17n-lib/metadata.xml |
118 |
index 0c2995cb954..75b918da508 100644 |
119 |
--- a/dev-libs/m17n-lib/metadata.xml |
120 |
+++ b/dev-libs/m17n-lib/metadata.xml |
121 |
@@ -1,23 +1,16 @@ |
122 |
<?xml version="1.0" encoding="UTF-8"?> |
123 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
124 |
<pkgmetadata> |
125 |
- <maintainer type="project"> |
126 |
- <email>cjk@g.o</email> |
127 |
- <name>Cjk</name> |
128 |
- </maintainer> |
129 |
- <use> |
130 |
- <flag name="X">Build the Graphical User Interface API and utilities</flag> |
131 |
- <flag name="anthy"> |
132 |
- Enable support for <pkg>app-i18n/anthy</pkg> input method |
133 |
- </flag> |
134 |
- <flag name="athena"> |
135 |
- Enable the MIT Athena widget set (<pkg>x11-libs/libXaw</pkg>) |
136 |
- </flag> |
137 |
- <flag name="gd"> |
138 |
- Build API and utilities based on <pkg>media-libs/gd</pkg>. This |
139 |
- flag is only meaningful if the X USE flag is also enabled. |
140 |
- </flag> |
141 |
- <flag name="libotf">Use <pkg>dev-libs/libotf</pkg> to handle OpenType fonts</flag> |
142 |
- <flag name="libxml2">Use <pkg>dev-libs/libxml2</pkg> to parse XML</flag> |
143 |
- </use> |
144 |
+ <maintainer type="project"> |
145 |
+ <email>cjk@g.o</email> |
146 |
+ <name>Cjk</name> |
147 |
+ </maintainer> |
148 |
+ <use> |
149 |
+ <flag name="X">Build the Graphical User Interface API and utilities</flag> |
150 |
+ <flag name="anthy">Enable support for <pkg>app-i18n/anthy</pkg> input method</flag> |
151 |
+ <flag name="athena">Enable the MIT Athena widget set (<pkg>x11-libs/libXaw</pkg>)</flag> |
152 |
+ <flag name="gd">Build API and utilities based on <pkg>media-libs/gd</pkg>. This flag is only meaningful if the X USE flag is also enabled</flag> |
153 |
+ <flag name="libotf">Use <pkg>dev-libs/libotf</pkg> to handle OpenType fonts</flag> |
154 |
+ <flag name="libxml2">Use <pkg>dev-libs/libxml2</pkg> to parse XML</flag> |
155 |
+ </use> |
156 |
</pkgmetadata> |