diff options
Diffstat (limited to 'x11-terms/terminator/terminator-1.91.ebuild')
-rw-r--r-- | x11-terms/terminator/terminator-1.91.ebuild | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/x11-terms/terminator/terminator-1.91.ebuild b/x11-terms/terminator/terminator-1.91.ebuild new file mode 100644 index 000000000000..727c4abd75ab --- /dev/null +++ b/x11-terms/terminator/terminator-1.91.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) +inherit gnome2 distutils-r1 virtualx + +DESCRIPTION="Multiple GNOME terminals in one window" +HOMEPAGE="https://launchpad.net/terminator/" +SRC_URI="https://launchpad.net/${PN}/gtk3/${PV}/+download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="dbus +libnotify" + +RDEPEND=" + >=x11-libs/gtk+-3.16:3 + >=dev-libs/glib-2.32:2 + dev-libs/keybinder:3[introspection] + dev-python/psutil + x11-libs/vte:2.91[introspection] + dbus? ( sys-apps/dbus ) + dev-python/pycairo[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] + libnotify? ( + dev-python/notify-python[${PYTHON_USEDEP}] + x11-libs/libnotify[introspection] + ) +" +DEPEND=" + dev-util/intltool +" + +python_prepare_all() { + local PATCHES=( + "${FILESDIR}"/0.90-without-icon-cache.patch + "${FILESDIR}"/${P}-desktop.patch + ) + + local i p + if [[ -n "${LINGUAS+x}" ]] ; then + pushd "${S}"/po > /dev/null + strip-linguas -i . + for i in *.po; do + if ! has ${i%.po} ${LINGUAS} ; then + rm ${i} || die + fi + done + popd > /dev/null + fi + + distutils-r1_python_prepare_all +} + +python_test() { + VIRTUALX_COMMAND="esetup.py" + virtualmake test +} + +pkg_postinst() { + gnome2_pkg_postinst +} + +pkg_postrm() { + gnome2_pkg_postrm +} |