diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-04-15 05:47:25 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-04-15 05:47:25 +0100 |
commit | 0bec4ab1937eed98ee24e2d48f0cfec46de2fc58 (patch) | |
tree | df02387be31711c7c547c95c5e43d1066918a7a0 /x11-terms/mlterm | |
parent | 437bd70f28c6d5b2f34cba67ba2bb581025f56ea (diff) |
gentoo auto-resync : 15:04:2023 - 05:47:25
Diffstat (limited to 'x11-terms/mlterm')
-rw-r--r-- | x11-terms/mlterm/Manifest | 2 | ||||
-rw-r--r-- | x11-terms/mlterm/mlterm-3.9.3.ebuild | 133 |
2 files changed, 135 insertions, 0 deletions
diff --git a/x11-terms/mlterm/Manifest b/x11-terms/mlterm/Manifest index 3dc610a68d62..1da1bada3a44 100644 --- a/x11-terms/mlterm/Manifest +++ b/x11-terms/mlterm/Manifest @@ -1,4 +1,6 @@ AUX mlterm-font.patch 606 BLAKE2B 5d9989a2656a0375e79c189db88167f443c3f7ee6f7f8b83972b65cc59b455fcb2c2ee6c4a25c82bb48cb2610d7453a5552b0eb5a17bd80eed947418a038b252 SHA512 60e625e554341feda77a926f3a59c4858ab19a810eeba39810701c429a504666643e1a614586b88379fe2d42606865f0afa8da6c14c1499a52aa1200e8bd5c4a DIST mlterm-3.9.2.tar.gz 4259208 BLAKE2B 161d496326abd58e8dabedd4c49e0e17ade77956fd0be6f450d5adf2953fe04a2c62a40d3694296d12cdea1274410e17a64cc62f88b953d894cce216425b29f3 SHA512 3076dafbc98a01738d88acf0e0f52e15d33862b3e9b7a851a4496f1be07ee9e51103daf7842954bcae1f1ba62bd6645b0bd60af7f66ee98721bdf3786b9fcbaf +DIST mlterm-3.9.3.tar.gz 4272090 BLAKE2B 8f71a8c5cd63b7caa803e699a7e42b8d11cb18324595a7a255c7542df6fad6b968bf56a03a2d19a2381d103232685e3c3cd62388ac036a024870fbe3d222d081 SHA512 67c22ee8411cef499620a37e43af5609bb52cf8be6b617f0dfa6605217eb7f66227bfe073ca9b878606392fac26f94299221b5890fba1d90a3afc35a0f3132a1 EBUILD mlterm-3.9.2.ebuild 2988 BLAKE2B 59e3a253040ecbab108e3b213e6f792835a0a7a5218030719e7a64ae697905a38d409db4f9d767d51c973fa7398a0225af93c0bbeccb22129892bc822ad59347 SHA512 0e7baa0d749843c051c0102f38c3e51924bb8b168ed44053fb7ce42d1f98827647fa90f431f87f7daff4d7e0457bcd4d78ae62ff6b7f82ea0b8a3a93177e333c +EBUILD mlterm-3.9.3.ebuild 2992 BLAKE2B d906561c6e7d39867ea3f519500a4df37b77abcd4c37dc1a63737ef16bd700e2009ccd7069f61f4cf717616a2e8cdd5785d57aea71b5d8ac10cfcd153c9f2bc8 SHA512 c3f02977723ff46a7f13fe2163957a5bf2e0ce9d4722c7d035a2c71c836de32a4fd1f10ce07715d8e4d82f75e5796ce903d3fc7b7da62e678339d75190b1aaeb MISC metadata.xml 1228 BLAKE2B 788a19c8b676d0d5991cd80809f67f526edf6343ab897bc6287cc51f100b4e82bc5cffea0d2165ed3dc7950d0302579005763b0679aaaad5aaabdb8947a94d94 SHA512 d2efc5096992c50c00437cb5e735a12959e6e577b11c9f3d653ca2123ad04923db38c796bc3eaabd79772f521096784404b68a324712f749a15fbd81ae33eabe diff --git a/x11-terms/mlterm/mlterm-3.9.3.ebuild b/x11-terms/mlterm/mlterm-3.9.3.ebuild new file mode 100644 index 000000000000..48e60e6194d8 --- /dev/null +++ b/x11-terms/mlterm/mlterm-3.9.3.ebuild @@ -0,0 +1,133 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +inherit desktop + +DESCRIPTION="A multi-lingual terminal emulator" +HOMEPAGE="http://mlterm.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="+X bidi brltty cairo debug fbcon fcitx freewnn gtk harfbuzz ibus libssh2 m17n-lib nls regis scim skk static-libs uim utempter wayland xft" +REQUIRED_USE="|| ( X fbcon wayland )" + +RDEPEND="virtual/libcrypt:= + X? ( + x11-libs/libICE + x11-libs/libSM + x11-libs/libX11 + ) + bidi? ( dev-libs/fribidi ) + brltty? ( app-accessibility/brltty[api(+)] ) + cairo? ( x11-libs/cairo[X(+)] ) + fbcon? ( media-fonts/unifont ) + fcitx? ( app-i18n/fcitx ) + freewnn? ( app-i18n/freewnn ) + gtk? ( x11-libs/gtk+:3 ) + harfbuzz? ( media-libs/harfbuzz[truetype(+)] ) + ibus? ( app-i18n/ibus ) + libssh2? ( net-libs/libssh2 ) + m17n-lib? ( dev-libs/m17n-lib ) + nls? ( virtual/libintl ) + regis? ( + || ( + media-libs/sdl-ttf + media-libs/sdl2-ttf + ) + ) + scim? ( app-i18n/scim ) + skk? ( + || ( + virtual/skkserv + app-i18n/skk-jisyo + ) + ) + uim? ( app-i18n/uim ) + utempter? ( sys-libs/libutempter ) + wayland? ( + dev-libs/wayland + x11-libs/libxkbcommon + ) + xft? ( x11-libs/libXft )" +DEPEND="${RDEPEND} + virtual/pkgconfig + nls? ( sys-devel/gettext )" + +PATCHES=( "${FILESDIR}"/${PN}-font.patch ) +DOCS=( doc/{en,ja} ) + +src_prepare() { + # default config + sed -i \ + -e "/ icon_path =/aicon_path = ${EPREFIX}/usr/share/pixmaps/${PN}-icon.svg" \ + -e "/ scrollbar_view_name =/ascrollbar_view_name = sample" \ + etc/main + + default +} + +src_configure() { + local myconf=( + $(use_enable bidi fribidi) + $(use_enable brltty brlapi) + $(use_enable debug) + $(use_enable fcitx) + $(use_enable freewnn wnn) + $(use_enable harfbuzz otl) + $(use_enable ibus) + $(use_enable libssh2 ssh2) + $(use_enable m17n-lib m17nlib) + $(use_enable nls) + $(use_enable scim) + $(use_enable skk) + $(use_enable uim) + $(use_with X x) + --with-gui=$(usex X "xlib" "")$(usex fbcon ",fb" "")$(usex wayland ",wayland" "") + --with-type-engines=xcore$(usex xft ",xft" "")$(usex cairo ",cairo" "") + --with-utmp=$(usex utempter utempter none) + --enable-optimize-redrawing + --enable-vt52 + --disable-canna + --disable-static + ) + + local scrollbars="sample,extra" + local tools="mlclient,mlcc,mlfc,mlmenu,${PN}-zoom" + if use gtk; then + myconf+=( + --with-gtk=3.0 + --with-imagelib=gdk-pixbuf + ) + scrollbars+=",pixmap_engine" + tools+=",mlconfig,mlimgloader" + else + myconf+=( --without-gtk ) + fi + if use regis; then + tools+=",registobmp" + fi + myconf+=( --with-scrollbars="${scrollbars}" ) + myconf+=( --with-tools="${tools}" ) + + addpredict /dev/ptmx + econf "${myconf[@]}" +} + +src_test() { + : +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die + + docinto contrib/icon + dodoc contrib/icon/README + + doicon contrib/icon/${PN}* + make_desktop_entry ${PN} ${PN} ${PN}-icon "System;TerminalEmulator" +} |