Gentoo Archives: gentoo-commits

From: Alessandro Barbieri <lssndrbarbieri@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-dicts/canna-2ch/files/, app-dicts/canna-2ch/
Date: Sun, 26 Jun 2022 02:36:42
Message-Id: 1656210584.e387a2cfe6f03ac3eeb9e3ac52ca871be8a2e080.Alessandro-Barbieri@gentoo
1 commit: e387a2cfe6f03ac3eeb9e3ac52ca871be8a2e080
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Wed Jun 22 02:37:36 2022 +0000
4 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
5 CommitDate: Sun Jun 26 02:29:44 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e387a2cf
7
8 app-dicts/canna-2ch: new package, add 20040519
9
10 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
11
12 app-dicts/canna-2ch/Manifest | 1 +
13 app-dicts/canna-2ch/canna-2ch-20040519.ebuild | 28 +++++++++++++++++++++++++++
14 app-dicts/canna-2ch/files/052ch.dics.dir | 2 ++
15 app-dicts/canna-2ch/metadata.xml | 15 ++++++++++++++
16 4 files changed, 46 insertions(+)
17
18 diff --git a/app-dicts/canna-2ch/Manifest b/app-dicts/canna-2ch/Manifest
19 new file mode 100644
20 index 000000000..0cf8a347e
21 --- /dev/null
22 +++ b/app-dicts/canna-2ch/Manifest
23 @@ -0,0 +1 @@
24 +DIST canna-2ch-20040519.tar.gz 53168 BLAKE2B 247b30f7a97258eac52f9a1d32bd2a785dcfaccd50430fd251a287a80b7a7ab12d1f2c4894d9eb026552f033854b50fbc967a50b66b84d3d5fe68e1954beb6fb SHA512 62b6f633fd0d345e09ce1e0603f61fe1363880ecdc72932e7a8d6d4c17a23be619a749974a3f54a78642396834888f628f047f1a88db3c8d36a758468bd6d296
25
26 diff --git a/app-dicts/canna-2ch/canna-2ch-20040519.ebuild b/app-dicts/canna-2ch/canna-2ch-20040519.ebuild
27 new file mode 100644
28 index 000000000..c358e306d
29 --- /dev/null
30 +++ b/app-dicts/canna-2ch/canna-2ch-20040519.ebuild
31 @@ -0,0 +1,28 @@
32 +# Copyright 1999-2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +inherit cannadic
38 +
39 +DESCRIPTION="Japanese Canna dictionary for 2channelers"
40 +HOMEPAGE="http://omaemona.sourceforge.net/packages/Canna"
41 +SRC_URI="https://dev.gentoo.org/~naota/files/${P}.tar.gz"
42 +S="${WORKDIR}/${PN}"
43 +
44 +LICENSE="public-domain"
45 +SLOT="0"
46 +KEYWORDS="~amd64"
47 +IUSE="canna"
48 +
49 +BDEPEND="canna? ( app-i18n/canna )"
50 +
51 +CANNADICS=( 2ch )
52 +DICSDIRFILE="${FILESDIR}/052ch.dics.dir"
53 +
54 +src_compile() {
55 + # Anthy users do not need binary dictionary
56 + if use canna; then
57 + mkbindic nichan.ctd || die
58 + fi
59 +}
60
61 diff --git a/app-dicts/canna-2ch/files/052ch.dics.dir b/app-dicts/canna-2ch/files/052ch.dics.dir
62 new file mode 100644
63 index 000000000..1ddc85d64
64 --- /dev/null
65 +++ b/app-dicts/canna-2ch/files/052ch.dics.dir
66 @@ -0,0 +1,2 @@
67 +nichan.cbd(nichan.mwd) -2ch---
68 +nichan.cld(nichan.mwd) -2ch---
69
70 diff --git a/app-dicts/canna-2ch/metadata.xml b/app-dicts/canna-2ch/metadata.xml
71 new file mode 100644
72 index 000000000..18992678c
73 --- /dev/null
74 +++ b/app-dicts/canna-2ch/metadata.xml
75 @@ -0,0 +1,15 @@
76 +<?xml version="1.0" encoding="UTF-8"?>
77 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
78 +<pkgmetadata>
79 + <maintainer type="person">
80 + <description>co-maintainers welcome</description>
81 + <name>Alessandro Barbieri</name>
82 + <email>lssndrbarbieri@×××××.com</email>
83 + </maintainer>
84 + <use>
85 + <flag name="canna">Add support for the Canna kana to kanji conversion engine</flag>
86 + </use>
87 + <upstream>
88 + <remote-id type="sourceforge">omaemona</remote-id>
89 + </upstream>
90 +</pkgmetadata>