diff options
Diffstat (limited to 'x11-terms/terminator/terminator-1.92.ebuild')
| -rw-r--r-- | x11-terms/terminator/terminator-1.92.ebuild | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/x11-terms/terminator/terminator-1.92.ebuild b/x11-terms/terminator/terminator-1.92.ebuild new file mode 100644 index 0000000..a0deaff --- /dev/null +++ b/x11-terms/terminator/terminator-1.92.ebuild | |||
| @@ -0,0 +1,59 @@ | |||
| 1 | # Copyright 1999-2020 Gentoo Authors | ||
| 2 | # Distributed under the terms of the GNU General Public License v2 | ||
| 3 | |||
| 4 | EAPI=7 | ||
| 5 | |||
| 6 | PYTHON_COMPAT=( python3_{6,7,8} ) | ||
| 7 | inherit distutils-r1 virtualx xdg-utils | ||
| 8 | |||
| 9 | DESCRIPTION="Multiple GNOME terminals in one window (patched by sgs)" | ||
| 10 | HOMEPAGE="https://github.com/gnome-terminator/terminator" | ||
| 11 | SRC_URI="https://github.com/gnome-terminator/terminator/releases/download/v${PV}/${P}.tar.gz" | ||
| 12 | |||
| 13 | LICENSE="GPL-2" | ||
| 14 | SLOT="0" | ||
| 15 | KEYWORDS="amd64 ~ppc ~x86" | ||
| 16 | IUSE="dbus +libnotify test" | ||
| 17 | RESTRICT="!test? ( test )" | ||
| 18 | |||
| 19 | RDEPEND=" | ||
| 20 | >=dev-libs/glib-2.32:2 | ||
| 21 | dev-libs/keybinder:3[introspection] | ||
| 22 | dev-python/configobj[${PYTHON_USEDEP}] | ||
| 23 | dev-python/psutil[${PYTHON_USEDEP}] | ||
| 24 | dev-python/pycairo[${PYTHON_USEDEP}] | ||
| 25 | dev-python/pygobject:3[${PYTHON_USEDEP}] | ||
| 26 | >=x11-libs/gtk+-3.16:3 | ||
| 27 | x11-libs/vte:2.91[introspection] | ||
| 28 | dbus? ( sys-apps/dbus ) | ||
| 29 | libnotify? ( x11-libs/libnotify[introspection] ) | ||
| 30 | " | ||
| 31 | BDEPEND=" | ||
| 32 | dev-util/intltool | ||
| 33 | test? ( ${RDEPEND} ) | ||
| 34 | " | ||
| 35 | |||
| 36 | PATCHES=( | ||
| 37 | "${FILESDIR}"/terminator-1.91-without-icon-cache.patch | ||
| 38 | "${FILESDIR}"/terminator-1.91-desktop.patch | ||
| 39 | "${FILESDIR}"/${P}-single-tab.patch | ||
| 40 | ) | ||
| 41 | |||
| 42 | src_prepare() { | ||
| 43 | xdg_environment_reset | ||
| 44 | distutils-r1_src_prepare | ||
| 45 | } | ||
| 46 | |||
| 47 | python_test() { | ||
| 48 | virtx esetup.py test || die "tests fail with ${EPYTHON}" | ||
| 49 | } | ||
| 50 | |||
| 51 | pkg_postinst() { | ||
| 52 | xdg_desktop_database_update | ||
| 53 | xdg_icon_cache_update | ||
| 54 | } | ||
| 55 | |||
| 56 | pkg_postrm() { | ||
| 57 | xdg_desktop_database_update | ||
| 58 | xdg_icon_cache_update | ||
| 59 | } | ||
