From c34494dcdab224944b0b0155a75a44dc0637850e Mon Sep 17 00:00:00 2001 From: Akinori Hattori Date: Sat, 21 Sep 2019 11:57:48 +0900 Subject: x11-terms/mlterm: inherit desktop Closes: https://bugs.gentoo.org/694798 Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Akinori Hattori --- x11-terms/mlterm/mlterm-3.8.8-r1.ebuild | 128 ++++++++++++++++++++++++++++++++ x11-terms/mlterm/mlterm-3.8.8.ebuild | 128 -------------------------------- 2 files changed, 128 insertions(+), 128 deletions(-) create mode 100644 x11-terms/mlterm/mlterm-3.8.8-r1.ebuild delete mode 100644 x11-terms/mlterm/mlterm-3.8.8.ebuild (limited to 'x11-terms') diff --git a/x11-terms/mlterm/mlterm-3.8.8-r1.ebuild b/x11-terms/mlterm/mlterm-3.8.8-r1.ebuild new file mode 100644 index 000000000000..79c15d229592 --- /dev/null +++ b/x11-terms/mlterm/mlterm-3.8.8-r1.ebuild @@ -0,0 +1,128 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +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 ~x86" +IUSE="bidi brltty cairo canna debug fbcon fcitx freewnn gtk gtk2 harfbuzz ibus libssh2 m17n-lib nls regis scim skk static-libs uim utempter wayland xft" +REQUIRED_USE="gtk2? ( gtk )" + +RDEPEND="x11-libs/libICE + x11-libs/libSM + x11-libs/libX11 + bidi? ( dev-libs/fribidi ) + brltty? ( app-accessibility/brltty ) + cairo? ( x11-libs/cairo[X(+)] ) + canna? ( app-i18n/canna ) + fbcon? ( media-fonts/unifont ) + fcitx? ( app-i18n/fcitx ) + freewnn? ( app-i18n/freewnn ) + gtk? ( + gtk2? ( x11-libs/gtk+:2 ) + !gtk2? ( 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 ) + 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 canna) + $(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_enable utempter utmp) + --with-gui=xlib$(usex fbcon ",fb" "")$(usex wayland ",wayland" "") + --with-type-engines=xcore$(usex xft ",xft" "")$(usex cairo ",cairo" "") + --enable-optimize-redrawing + --enable-vt52 + --disable-static + ) + + local scrollbars="sample,extra" + local tools="mlclient,mlcc,mlfc,mlmenu,${PN}-zoom" + if use gtk; then + myconf+=( + $(use_with gtk gtk $(usex gtk2 2.0 3.0)) + --with-imagelib=gdk-pixbuf + ) + scrollbars+=",pixmap_engine" + tools+=",mlconfig,mlimgloader" + 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" +} diff --git a/x11-terms/mlterm/mlterm-3.8.8.ebuild b/x11-terms/mlterm/mlterm-3.8.8.ebuild deleted file mode 100644 index c39aa4291b28..000000000000 --- a/x11-terms/mlterm/mlterm-3.8.8.ebuild +++ /dev/null @@ -1,128 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -inherit eutils - -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 ~x86" -IUSE="bidi brltty cairo canna debug fbcon fcitx freewnn gtk gtk2 harfbuzz ibus libssh2 m17n-lib nls regis scim skk static-libs uim utempter wayland xft" -REQUIRED_USE="gtk2? ( gtk )" - -RDEPEND="x11-libs/libICE - x11-libs/libSM - x11-libs/libX11 - bidi? ( dev-libs/fribidi ) - brltty? ( app-accessibility/brltty ) - cairo? ( x11-libs/cairo[X(+)] ) - canna? ( app-i18n/canna ) - fbcon? ( media-fonts/unifont ) - fcitx? ( app-i18n/fcitx ) - freewnn? ( app-i18n/freewnn ) - gtk? ( - gtk2? ( x11-libs/gtk+:2 ) - !gtk2? ( 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 ) - 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 canna) - $(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_enable utempter utmp) - --with-gui=xlib$(usex fbcon ",fb" "")$(usex wayland ",wayland" "") - --with-type-engines=xcore$(usex xft ",xft" "")$(usex cairo ",cairo" "") - --enable-optimize-redrawing - --enable-vt52 - --disable-static - ) - - local scrollbars="sample,extra" - local tools="mlclient,mlcc,mlfc,mlmenu,${PN}-zoom" - if use gtk; then - myconf+=( - $(use_with gtk gtk $(usex gtk2 2.0 3.0)) - --with-imagelib=gdk-pixbuf - ) - scrollbars+=",pixmap_engine" - tools+=",mlconfig,mlimgloader" - 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" -} -- cgit v1.2.3-65-gdbad