diff options
author | Alessandro Barbieri <lssndrbarbieri@gmail.com> | 2022-06-23 04:19:27 +0200 |
---|---|---|
committer | Alessandro Barbieri <lssndrbarbieri@gmail.com> | 2022-06-26 04:29:44 +0200 |
commit | cf593433d91addbddb149c5931e7b2a94305e860 (patch) | |
tree | 8f34f0093a35018d1950e17e7290bbfa5f806446 /x11-terms | |
parent | app-dicts/canna-yubin: new package, add 0.4.0.20210430.0 (diff) | |
download | guru-cf593433d91addbddb149c5931e7b2a94305e860.tar.gz guru-cf593433d91addbddb149c5931e7b2a94305e860.tar.bz2 guru-cf593433d91addbddb149c5931e7b2a94305e860.zip |
x11-terms/mlterm-canna: new package, add 3.9.2
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
Diffstat (limited to 'x11-terms')
-rw-r--r-- | x11-terms/mlterm-canna/Manifest | 1 | ||||
-rw-r--r-- | x11-terms/mlterm-canna/metadata.xml | 12 | ||||
-rw-r--r-- | x11-terms/mlterm-canna/mlterm-canna-3.9.2.ebuild | 73 |
3 files changed, 86 insertions, 0 deletions
diff --git a/x11-terms/mlterm-canna/Manifest b/x11-terms/mlterm-canna/Manifest new file mode 100644 index 000000000..73fcc9de7 --- /dev/null +++ b/x11-terms/mlterm-canna/Manifest @@ -0,0 +1 @@ +DIST mlterm-3.9.2.tar.gz 4259208 BLAKE2B 161d496326abd58e8dabedd4c49e0e17ade77956fd0be6f450d5adf2953fe04a2c62a40d3694296d12cdea1274410e17a64cc62f88b953d894cce216425b29f3 SHA512 3076dafbc98a01738d88acf0e0f52e15d33862b3e9b7a851a4496f1be07ee9e51103daf7842954bcae1f1ba62bd6645b0bd60af7f66ee98721bdf3786b9fcbaf diff --git a/x11-terms/mlterm-canna/metadata.xml b/x11-terms/mlterm-canna/metadata.xml new file mode 100644 index 000000000..a48920556 --- /dev/null +++ b/x11-terms/mlterm-canna/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://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> + <upstream> + <remote-id type="sourceforge">mlterm</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-terms/mlterm-canna/mlterm-canna-3.9.2.ebuild b/x11-terms/mlterm-canna/mlterm-canna-3.9.2.ebuild new file mode 100644 index 000000000..8f05bab49 --- /dev/null +++ b/x11-terms/mlterm-canna/mlterm-canna-3.9.2.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MYPN="mlterm" +MYP="${MYPN}-${PV}" + +DESCRIPTION="canna plugin for mlterm" +HOMEPAGE="http://mlterm.sourceforge.net/" +SRC_URI="mirror://sourceforge/${MYPN}/${MYP}.tar.gz" +S="${WORKDIR}/${MYP}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND="app-i18n/canna" +RDEPEND=" + ${DEPEND} + ~x11-terms/mlterm-${PV} +" + +src_configure() { + local myconf=( + --disable-brlapi + --disable-debug + --disable-fcitx + --disable-fribidi + --disable-ibus + --disable-m17nlib + --disable-nls + --disable-optimize-redrawing + --disable-otl + --disable-scim + --disable-skk + --disable-ssh2 + --disable-static + --disable-uim + --disable-vt52 + --disable-wnn + --enable-canna + --with-gui=console + --without-gtk + --without-type-engines + --without-utmp + --without-x + ) + + addpredict /dev/ptmx + econf "${myconf[@]}" +} + +src_compile() { + pushd baselib/src || die + emake collect-headers libpobl.la + popd || die + pushd encodefilter/src || die + emake collect-headers + popd || die + pushd inputmethod/canna || die + emake +} + +src_test() { + : +} + +src_install() { + pushd inputmethod/canna || die + DESTDIR="${D}" emake install + find "${ED}" -name '*.la' -delete || die +} |