diff options
author | William Lallemand <wlallemand@irq6.net> | 2015-06-12 02:29:41 +0200 |
---|---|---|
committer | William Lallemand <wlallemand@irq6.net> | 2015-06-12 02:29:41 +0200 |
commit | 0748426c7a35b505f73b74a39ef95fd72f30d089 (patch) | |
tree | d6588bf887f392a62545ba50232ab7245ba38001 /x11-terms | |
parent | repository: specify a master repository in metadata/layout.conf (diff) | |
download | sekh-0748426c7a35b505f73b74a39ef95fd72f30d089.tar.gz sekh-0748426c7a35b505f73b74a39ef95fd72f30d089.tar.bz2 sekh-0748426c7a35b505f73b74a39ef95fd72f30d089.zip |
Diffstat (limited to 'x11-terms')
-rw-r--r-- | x11-terms/mlterm/Manifest | 3 | ||||
-rw-r--r-- | x11-terms/mlterm/metadata.xml | 15 | ||||
-rw-r--r-- | x11-terms/mlterm/mlterm-3.5.0.ebuild | 108 |
3 files changed, 126 insertions, 0 deletions
diff --git a/x11-terms/mlterm/Manifest b/x11-terms/mlterm/Manifest new file mode 100644 index 0000000..069a4c9 --- /dev/null +++ b/x11-terms/mlterm/Manifest @@ -0,0 +1,3 @@ +DIST mlterm-3.5.0.tar.gz 3707639 SHA256 dedb211c52a8cdaa8891920da0a4f08f4b72f7b3514a5acb038b38419b24e4d3 SHA512 aaeac36a23d8544428b511760a5a23a843509fb75ceec59fea6f012d1626ca99f2772b9b18155d6b527482de649304b7e01ee8b7caef211bf5a01d71718d5ca8 WHIRLPOOL 347286ddcdc4aa97f6ebaa55ddcc0d8930f8396491b2d999d504cea2041d61b9eea090b70921b6f35c4f3eef26093403fcdde6538b1fcdb21299aae348b906ad +EBUILD mlterm-3.5.0.ebuild 2580 SHA256 2fb7640c4777258073bc8aa067c465681f914b1680cd27afd6a4b371807fa3dd SHA512 a1661016c7ded67d39c504c0ba34743c86fd406da8864de4e5bf487ac312d373ed7c2b3cf14fdfabd8a1a1fcd197a91eea94fa107b71b1d52fa719a77b03e8f2 WHIRLPOOL a836f464f5188704625d9415a9def2d30397404b9c2a118113c4977f5c03eca75169da867dae9d97d59400b660fd5c6bcb5a928657bc3ea79faf0dba24763f3f +MISC metadata.xml 708 SHA256 44d694fa9002256fdbb93d2143fc2d30dba4026698af956fc13e7de940a9f834 SHA512 ed7452f9c6ab1fd6d565e1134dda30ab8bc6c41e68abfb2e50db90eae73b66ac29d3e094d5f8d6a0dbe658f2f4739d87028552c25d1dfecf6f9d18ffdd5a4374 WHIRLPOOL 6c043c02b4c478ae58fc1975836a4dc070885e3307b023eea59620ed7082fedf090bbc18287a23947cbdb10a040c11645ac2cfc214a70b3f5e7d48cc13672ef9 diff --git a/x11-terms/mlterm/metadata.xml b/x11-terms/mlterm/metadata.xml new file mode 100644 index 0000000..3ca8b6d --- /dev/null +++ b/x11-terms/mlterm/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>cjk</herd> + <use> + <flag name="fcitx">Enable <pkg>app-i18n/fcitx</pkg> support</flag> + <flag name="ibus">Enable <pkg>app-i18n/ibus</pkg> support</flag> + <flag name="libssh2">Enable <pkg>net-libs/libssh2</pkg> support</flag> + <flag name="regis">Enable ReGIS support</flag> + <flag name="scim">Enable <pkg>app-i18n/scim</pkg> support</flag> + <flag name="sixel">Enable sixel support</flag> + <flag name="uim">Enable <pkg>app-i18n/uim</pkg> support</flag> + <flag name="utempter">Enable <pkg>sys-libs/libutempter</pkg> support</flag> + </use> +</pkgmetadata> diff --git a/x11-terms/mlterm/mlterm-3.5.0.ebuild b/x11-terms/mlterm/mlterm-3.5.0.ebuild new file mode 100644 index 0000000..f05ef3d --- /dev/null +++ b/x11-terms/mlterm/mlterm-3.5.0.ebuild @@ -0,0 +1,108 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-terms/mlterm/mlterm-3.4.5.ebuild,v 1.1 2015/04/17 14:35:24 hattya Exp $ + +EAPI="5" + +inherit autotools-utils eutils + +DESCRIPTION="A multi-lingual terminal emulator" +HOMEPAGE="http://mlterm.sourceforge.net/" +SRC_URI="mirror://sourceforge/mlterm/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86" +IUSE="bidi cairo debug fcitx gtk ibus libssh2 m17n-lib nls regis scim sixel static-libs uim utempter xft" + +RDEPEND="x11-libs/libICE + x11-libs/libSM + x11-libs/libX11 + bidi? ( dev-libs/fribidi ) + cairo? ( x11-libs/cairo ) + fcitx? ( app-i18n/fcitx ) + gtk? ( x11-libs/gtk+ ) + 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 ) + uim? ( app-i18n/uim ) + utempter? ( sys-libs/libutempter ) + xft? ( x11-libs/libXft )" +DEPEND="${RDEPEND} + virtual/pkgconfig + nls? ( sys-devel/gettext )" + +DOCS=( ChangeLog README doc/{en,ja} ) + +AUTOTOOLS_PRUNE_LIBTOOL_FILES="all" + +src_prepare() { + # default config + sed -i \ + -e "/ icon_path =/aicon_path = ${EPREFIX}/usr/share/pixmaps/mlterm-icon.svg" \ + -e "/ scrollbar_view_name =/ascrollbar_view_name = sample" \ + etc/main + + autotools-utils_src_prepare +} + +src_configure() { + local myeconfargs=( + --with-type-engines=xcore$(usex xft ",xft" "")$(usex cairo ",cairo" "") + --enable-optimize-redrawing + --enable-vt52 + $(use_enable bidi fribidi) + $(use_enable debug) + $(use_enable fcitx) + $(use_enable ibus) + $(use_enable libssh2 ssh2) + $(use_enable m17n-lib m17nlib) + $(use_enable nls) + $(use_enable scim) + $(use_enable uim) + $(use_enable utempter utmp) + $(use_enable sixel) + ) + + local scrollbars="sample,extra" + local tools="mlclient,mlcc,mlmenu,mlterm-zoom" + if use gtk; then + myeconfargs+=(--with-imagelib=gdk-pixbuf) + if has_version x11-libs/gtk+:3; then + myeconfargs+=(--with-gtk=3.0) + else + myeconfargs+=(--with-gtk=2.0) + fi + scrollbars+=",pixmap_engine" + tools+=",mlconfig,mlimgloader" + fi + if use regis; then + tools+=",registobmp" + fi + myeconfargs+=(--with-scrollbars="${scrollbars}") + myeconfargs+=(--with-tools="${tools}") + + addpredict /dev/ptmx + autotools-utils_src_configure +} + +src_test() { + : +} + +src_install () { + autotools-utils_src_install + docinto contrib/icon + dodoc contrib/icon/README + + doicon contrib/icon/mlterm* + make_desktop_entry mlterm mlterm mlterm-icon "System;TerminalEmulator" +} |