commit: 2fe13d788f61f10e30ed9375d6d75826e59afcf1 Author: Akinori Hattori <hattya <AT> gentoo <DOT> org> AuthorDate: Sat May 17 08:06:13 2025 +0000 Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org> CommitDate: Sat May 17 08:08:13 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2fe13d78
x11-terms/mlterm: new upstream release Closes: https://bugs.gentoo.org/919221 Closes: https://bugs.gentoo.org/943854 Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org> x11-terms/mlterm/Manifest | 1 + x11-terms/mlterm/mlterm-3.9.4.ebuild | 132 +++++++++++++++++++++++++++++++++++ 2 files changed, 133 insertions(+) diff --git a/x11-terms/mlterm/Manifest b/x11-terms/mlterm/Manifest index 401e41540d29..56dadec5f3f3 100644 --- a/x11-terms/mlterm/Manifest +++ b/x11-terms/mlterm/Manifest @@ -1 +1,2 @@ DIST mlterm-3.9.3.tar.gz 4272090 BLAKE2B 8f71a8c5cd63b7caa803e699a7e42b8d11cb18324595a7a255c7542df6fad6b968bf56a03a2d19a2381d103232685e3c3cd62388ac036a024870fbe3d222d081 SHA512 67c22ee8411cef499620a37e43af5609bb52cf8be6b617f0dfa6605217eb7f66227bfe073ca9b878606392fac26f94299221b5890fba1d90a3afc35a0f3132a1 +DIST mlterm-3.9.4.tar.gz 4227568 BLAKE2B 75bb435a3ec0fc3872fc763d850125a20314b4a54e6c628dee8045db6d1acaf669d45540d5812e9331ceb8a210f93178e208ccd48acc7c70d8743dea43783f99 SHA512 f03ce24b89f74510cd8924a2cd9ab795c6ebf7f7ef2b69fb8a17bf3f5855c255cf86558b0e5abc7db64175f7c909b165cf96663825b98f4a2df4371d5e4a9469 diff --git a/x11-terms/mlterm/mlterm-3.9.4.ebuild b/x11-terms/mlterm/mlterm-3.9.4.ebuild new file mode 100644 index 000000000000..30d730e5250e --- /dev/null +++ b/x11-terms/mlterm/mlterm-3.9.4.ebuild @@ -0,0 +1,132 @@ +# Copyright 1999-2025 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="https://downloads.sourceforge.net/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="+X bidi brltty cairo debug fbcon fcitx 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:* ) + 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}" +BDEPEND="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 || die + + default +} + +src_configure() { + local myconf=( + $(use_enable bidi fribidi) + $(use_enable brltty brlapi) + $(use_enable debug) + $(use_enable fcitx) + $(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 + --disable-wnn + ) + + 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" +}
