1 |
commit: 5d0a287e308596db496e95e71789dfda062394f9 |
2 |
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
3 |
AuthorDate: Thu Jun 17 01:19:52 2021 +0000 |
4 |
Commit: Theo Anderson <telans <AT> posteo <DOT> de> |
5 |
CommitDate: Thu Jun 17 01:20:32 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5d0a287e |
7 |
|
8 |
app-dicts/dictd-mueller: new |
9 |
|
10 |
Package-Manager: Portage-3.0.19, Repoman-3.0.3 |
11 |
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> |
12 |
|
13 |
app-dicts/dictd-mueller/Manifest | 1 + |
14 |
.../dictd-mueller/dictd-mueller-3.1-r1.ebuild | 49 ++++++++++++++++++++++ |
15 |
.../files/dictd-mueller-3.1-dictfmt.patch | 11 +++++ |
16 |
app-dicts/dictd-mueller/metadata.xml | 11 +++++ |
17 |
4 files changed, 72 insertions(+) |
18 |
|
19 |
diff --git a/app-dicts/dictd-mueller/Manifest b/app-dicts/dictd-mueller/Manifest |
20 |
new file mode 100644 |
21 |
index 000000000..30da34cd4 |
22 |
--- /dev/null |
23 |
+++ b/app-dicts/dictd-mueller/Manifest |
24 |
@@ -0,0 +1 @@ |
25 |
+DIST mueller-dict-3.1.tar.gz 6615310 BLAKE2B 7e205e1660fcc4adf1d1b710561eb9fb009978f0271b8aee42d2ffc09337a311eca203ac0ab84b12bdf378a49b984b3b0337509cf4f00384946c76446e84227e SHA512 e6828235412bda0a23bcf2b84e652edfeb6c5cbbb97b1368808dd724be6ab7084afc670a4f38084f8f622f06dd400006747b45b0f59b780ce58c04f0bc2ff7e5 |
26 |
|
27 |
diff --git a/app-dicts/dictd-mueller/dictd-mueller-3.1-r1.ebuild b/app-dicts/dictd-mueller/dictd-mueller-3.1-r1.ebuild |
28 |
new file mode 100644 |
29 |
index 000000000..aedc0a9f4 |
30 |
--- /dev/null |
31 |
+++ b/app-dicts/dictd-mueller/dictd-mueller-3.1-r1.ebuild |
32 |
@@ -0,0 +1,49 @@ |
33 |
+# Copyright 1999-2021 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+MY_PN="mueller-dict" |
39 |
+MY_P="${MY_PN}-${PV}" |
40 |
+ |
41 |
+inherit eutils autotools |
42 |
+ |
43 |
+DESCRIPTION="V. K. Mueller English-Russian Dictionary" |
44 |
+HOMEPAGE="http://mueller-dict.sourceforge.net" |
45 |
+SRC_URI="mirror://sourceforge/${MY_PN}/${MY_P}.tar.gz" |
46 |
+S="${WORKDIR}/${MY_P}" |
47 |
+LICENSE="GPL-2" |
48 |
+IUSE="ipa" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" |
51 |
+ |
52 |
+RDEPEND=">=app-text/dictd-1.13.0-r3" |
53 |
+BDEPEND=" |
54 |
+ ${RDEPEND} |
55 |
+ dev-lang/perl |
56 |
+" |
57 |
+ |
58 |
+PATCHES=( "${FILESDIR}/${P}-dictfmt.patch" ) |
59 |
+ |
60 |
+src_prepare() { |
61 |
+ rm -r "${S}"/dict/*.dz "${S}"/dict/*.index || die |
62 |
+ default |
63 |
+ eautoreconf |
64 |
+} |
65 |
+ |
66 |
+src_configure() { |
67 |
+ #preformat need the en_US.UTF-8 locale |
68 |
+ local myconf=( |
69 |
+ --enable-preformat |
70 |
+ $(use_enable ipa IPA-unicode) |
71 |
+ ) |
72 |
+ |
73 |
+ econf "${myconf[@]}" |
74 |
+} |
75 |
+ |
76 |
+src_install() { |
77 |
+ dodoc NEWS README ChangeLog |
78 |
+ pushd "${S}/dict" || die |
79 |
+ insinto /usr/share/dict |
80 |
+ doins mueller-{abbrev,base,dict,geo,names}.{dict.dz,index} |
81 |
+} |
82 |
|
83 |
diff --git a/app-dicts/dictd-mueller/files/dictd-mueller-3.1-dictfmt.patch b/app-dicts/dictd-mueller/files/dictd-mueller-3.1-dictfmt.patch |
84 |
new file mode 100644 |
85 |
index 000000000..b064428b7 |
86 |
--- /dev/null |
87 |
+++ b/app-dicts/dictd-mueller/files/dictd-mueller-3.1-dictfmt.patch |
88 |
@@ -0,0 +1,11 @@ |
89 |
+--- a/dict/Makefile.am |
90 |
++++ b/dict/Makefile.am |
91 |
+@@ -10,7 +10,7 @@ |
92 |
+ #CHARSET = utf-8 |
93 |
+ |
94 |
+ DICTFMT_FLAGS = --headword-separator \; --break-headwords --columns=0 \ |
95 |
+- --locale=$(LOCALE) -c5 -u $(URL) |
96 |
++ --utf8 -c5 -u $(URL) |
97 |
+ DICTZIP_FLAGS = -k |
98 |
+ |
99 |
+ if FORMAT |
100 |
|
101 |
diff --git a/app-dicts/dictd-mueller/metadata.xml b/app-dicts/dictd-mueller/metadata.xml |
102 |
new file mode 100644 |
103 |
index 000000000..20f28b724 |
104 |
--- /dev/null |
105 |
+++ b/app-dicts/dictd-mueller/metadata.xml |
106 |
@@ -0,0 +1,11 @@ |
107 |
+<?xml version="1.0" encoding="UTF-8"?> |
108 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
109 |
+<pkgmetadata> |
110 |
+ <!-- maintainer needed --> |
111 |
+ <use> |
112 |
+ <flag name="ipa">convert transcription into the IPA Unicode</flag> |
113 |
+ </use> |
114 |
+ <upstream> |
115 |
+ <remote-id type="sourceforge">mueller-dict</remote-id> |
116 |
+ </upstream> |
117 |
+</pkgmetadata> |