summaryrefslogtreecommitdiff
path: root/x11-terms/terminator/terminator-1.92.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'x11-terms/terminator/terminator-1.92.ebuild')
-rw-r--r--x11-terms/terminator/terminator-1.92.ebuild59
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
4EAPI=7
5
6PYTHON_COMPAT=( python3_{6,7,8} )
7inherit distutils-r1 virtualx xdg-utils
8
9DESCRIPTION="Multiple GNOME terminals in one window (patched by sgs)"
10HOMEPAGE="https://github.com/gnome-terminator/terminator"
11SRC_URI="https://github.com/gnome-terminator/terminator/releases/download/v${PV}/${P}.tar.gz"
12
13LICENSE="GPL-2"
14SLOT="0"
15KEYWORDS="amd64 ~ppc ~x86"
16IUSE="dbus +libnotify test"
17RESTRICT="!test? ( test )"
18
19RDEPEND="
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"
31BDEPEND="
32 dev-util/intltool
33 test? ( ${RDEPEND} )
34"
35
36PATCHES=(
37 "${FILESDIR}"/terminator-1.91-without-icon-cache.patch
38 "${FILESDIR}"/terminator-1.91-desktop.patch
39 "${FILESDIR}"/${P}-single-tab.patch
40)
41
42src_prepare() {
43 xdg_environment_reset
44 distutils-r1_src_prepare
45}
46
47python_test() {
48 virtx esetup.py test || die "tests fail with ${EPYTHON}"
49}
50
51pkg_postinst() {
52 xdg_desktop_database_update
53 xdg_icon_cache_update
54}
55
56pkg_postrm() {
57 xdg_desktop_database_update
58 xdg_icon_cache_update
59}