Gentoo Archives: gentoo-commits

From: Alessandro Barbieri <lssndrbarbieri@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: x11-terms/mlterm-canna/
Date: Sun, 26 Jun 2022 02:36:43
Message-Id: 1656210584.cf593433d91addbddb149c5931e7b2a94305e860.Alessandro-Barbieri@gentoo
1 commit: cf593433d91addbddb149c5931e7b2a94305e860
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Thu Jun 23 02:19:27 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=cf593433
7
8 x11-terms/mlterm-canna: new package, add 3.9.2
9
10 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
11
12 x11-terms/mlterm-canna/Manifest | 1 +
13 x11-terms/mlterm-canna/metadata.xml | 12 ++++
14 x11-terms/mlterm-canna/mlterm-canna-3.9.2.ebuild | 73 ++++++++++++++++++++++++
15 3 files changed, 86 insertions(+)
16
17 diff --git a/x11-terms/mlterm-canna/Manifest b/x11-terms/mlterm-canna/Manifest
18 new file mode 100644
19 index 000000000..73fcc9de7
20 --- /dev/null
21 +++ b/x11-terms/mlterm-canna/Manifest
22 @@ -0,0 +1 @@
23 +DIST mlterm-3.9.2.tar.gz 4259208 BLAKE2B 161d496326abd58e8dabedd4c49e0e17ade77956fd0be6f450d5adf2953fe04a2c62a40d3694296d12cdea1274410e17a64cc62f88b953d894cce216425b29f3 SHA512 3076dafbc98a01738d88acf0e0f52e15d33862b3e9b7a851a4496f1be07ee9e51103daf7842954bcae1f1ba62bd6645b0bd60af7f66ee98721bdf3786b9fcbaf
24
25 diff --git a/x11-terms/mlterm-canna/metadata.xml b/x11-terms/mlterm-canna/metadata.xml
26 new file mode 100644
27 index 000000000..a48920556
28 --- /dev/null
29 +++ b/x11-terms/mlterm-canna/metadata.xml
30 @@ -0,0 +1,12 @@
31 +<?xml version="1.0" encoding="UTF-8"?>
32 +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
33 +<pkgmetadata>
34 + <maintainer type="person">
35 + <description>co-maintainers welcome</description>
36 + <name>Alessandro Barbieri</name>
37 + <email>lssndrbarbieri@×××××.com</email>
38 + </maintainer>
39 + <upstream>
40 + <remote-id type="sourceforge">mlterm</remote-id>
41 + </upstream>
42 +</pkgmetadata>
43
44 diff --git a/x11-terms/mlterm-canna/mlterm-canna-3.9.2.ebuild b/x11-terms/mlterm-canna/mlterm-canna-3.9.2.ebuild
45 new file mode 100644
46 index 000000000..8f05bab49
47 --- /dev/null
48 +++ b/x11-terms/mlterm-canna/mlterm-canna-3.9.2.ebuild
49 @@ -0,0 +1,73 @@
50 +# Copyright 1999-2022 Gentoo Authors
51 +# Distributed under the terms of the GNU General Public License v2
52 +
53 +EAPI=8
54 +
55 +MYPN="mlterm"
56 +MYP="${MYPN}-${PV}"
57 +
58 +DESCRIPTION="canna plugin for mlterm"
59 +HOMEPAGE="http://mlterm.sourceforge.net/"
60 +SRC_URI="mirror://sourceforge/${MYPN}/${MYP}.tar.gz"
61 +S="${WORKDIR}/${MYP}"
62 +
63 +LICENSE="BSD"
64 +SLOT="0"
65 +KEYWORDS="~amd64"
66 +
67 +DEPEND="app-i18n/canna"
68 +RDEPEND="
69 + ${DEPEND}
70 + ~x11-terms/mlterm-${PV}
71 +"
72 +
73 +src_configure() {
74 + local myconf=(
75 + --disable-brlapi
76 + --disable-debug
77 + --disable-fcitx
78 + --disable-fribidi
79 + --disable-ibus
80 + --disable-m17nlib
81 + --disable-nls
82 + --disable-optimize-redrawing
83 + --disable-otl
84 + --disable-scim
85 + --disable-skk
86 + --disable-ssh2
87 + --disable-static
88 + --disable-uim
89 + --disable-vt52
90 + --disable-wnn
91 + --enable-canna
92 + --with-gui=console
93 + --without-gtk
94 + --without-type-engines
95 + --without-utmp
96 + --without-x
97 + )
98 +
99 + addpredict /dev/ptmx
100 + econf "${myconf[@]}"
101 +}
102 +
103 +src_compile() {
104 + pushd baselib/src || die
105 + emake collect-headers libpobl.la
106 + popd || die
107 + pushd encodefilter/src || die
108 + emake collect-headers
109 + popd || die
110 + pushd inputmethod/canna || die
111 + emake
112 +}
113 +
114 +src_test() {
115 + :
116 +}
117 +
118 +src_install() {
119 + pushd inputmethod/canna || die
120 + DESTDIR="${D}" emake install
121 + find "${ED}" -name '*.la' -delete || die
122 +}