aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Barbieri <lssndrbarbieri@gmail.com>2022-06-22 04:37:36 +0200
committerAlessandro Barbieri <lssndrbarbieri@gmail.com>2022-06-26 04:29:44 +0200
commite387a2cfe6f03ac3eeb9e3ac52ca871be8a2e080 (patch)
treeee7e6b4592b24293381b12daad5e5d5a597ce078 /app-dicts
parentapp-i18n/im-canna: new package, add 0.3.2.2-r1 (diff)
downloadguru-e387a2cfe6f03ac3eeb9e3ac52ca871be8a2e080.tar.gz
guru-e387a2cfe6f03ac3eeb9e3ac52ca871be8a2e080.tar.bz2
guru-e387a2cfe6f03ac3eeb9e3ac52ca871be8a2e080.zip
app-dicts/canna-2ch: new package, add 20040519
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
Diffstat (limited to 'app-dicts')
-rw-r--r--app-dicts/canna-2ch/Manifest1
-rw-r--r--app-dicts/canna-2ch/canna-2ch-20040519.ebuild28
-rw-r--r--app-dicts/canna-2ch/files/052ch.dics.dir2
-rw-r--r--app-dicts/canna-2ch/metadata.xml15
4 files changed, 46 insertions, 0 deletions
diff --git a/app-dicts/canna-2ch/Manifest b/app-dicts/canna-2ch/Manifest
new file mode 100644
index 000000000..0cf8a347e
--- /dev/null
+++ b/app-dicts/canna-2ch/Manifest
@@ -0,0 +1 @@
+DIST canna-2ch-20040519.tar.gz 53168 BLAKE2B 247b30f7a97258eac52f9a1d32bd2a785dcfaccd50430fd251a287a80b7a7ab12d1f2c4894d9eb026552f033854b50fbc967a50b66b84d3d5fe68e1954beb6fb SHA512 62b6f633fd0d345e09ce1e0603f61fe1363880ecdc72932e7a8d6d4c17a23be619a749974a3f54a78642396834888f628f047f1a88db3c8d36a758468bd6d296
diff --git a/app-dicts/canna-2ch/canna-2ch-20040519.ebuild b/app-dicts/canna-2ch/canna-2ch-20040519.ebuild
new file mode 100644
index 000000000..c358e306d
--- /dev/null
+++ b/app-dicts/canna-2ch/canna-2ch-20040519.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cannadic
+
+DESCRIPTION="Japanese Canna dictionary for 2channelers"
+HOMEPAGE="http://omaemona.sourceforge.net/packages/Canna"
+SRC_URI="https://dev.gentoo.org/~naota/files/${P}.tar.gz"
+S="${WORKDIR}/${PN}"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="canna"
+
+BDEPEND="canna? ( app-i18n/canna )"
+
+CANNADICS=( 2ch )
+DICSDIRFILE="${FILESDIR}/052ch.dics.dir"
+
+src_compile() {
+ # Anthy users do not need binary dictionary
+ if use canna; then
+ mkbindic nichan.ctd || die
+ fi
+}
diff --git a/app-dicts/canna-2ch/files/052ch.dics.dir b/app-dicts/canna-2ch/files/052ch.dics.dir
new file mode 100644
index 000000000..1ddc85d64
--- /dev/null
+++ b/app-dicts/canna-2ch/files/052ch.dics.dir
@@ -0,0 +1,2 @@
+nichan.cbd(nichan.mwd) -2ch---
+nichan.cld(nichan.mwd) -2ch---
diff --git a/app-dicts/canna-2ch/metadata.xml b/app-dicts/canna-2ch/metadata.xml
new file mode 100644
index 000000000..18992678c
--- /dev/null
+++ b/app-dicts/canna-2ch/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <description>co-maintainers welcome</description>
+ <name>Alessandro Barbieri</name>
+ <email>lssndrbarbieri@gmail.com</email>
+ </maintainer>
+ <use>
+ <flag name="canna">Add support for the Canna kana to kanji conversion engine</flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">omaemona</remote-id>
+ </upstream>
+</pkgmetadata>