summaryrefslogtreecommitdiff
path: root/x11-terms/terminator/terminator-2.1.1-r2.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'x11-terms/terminator/terminator-2.1.1-r2.ebuild')
-rw-r--r--x11-terms/terminator/terminator-2.1.1-r2.ebuild66
1 files changed, 66 insertions, 0 deletions
diff --git a/x11-terms/terminator/terminator-2.1.1-r2.ebuild b/x11-terms/terminator/terminator-2.1.1-r2.ebuild
new file mode 100644
index 0000000..7934de6
--- /dev/null
+++ b/x11-terms/terminator/terminator-2.1.1-r2.ebuild
@@ -0,0 +1,66 @@
1# Copyright 1999-2022 Gentoo Authors
2# Distributed under the terms of the GNU General Public License v2
3
4EAPI=8
5
6DISTUTILS_USE_PEP517=setuptools
7PYTHON_COMPAT=( python3_{8..11} )
8inherit distutils-r1 optfeature verify-sig virtualx xdg
9
10DESCRIPTION="Multiple GNOME terminals in one window"
11HOMEPAGE="https://github.com/gnome-terminator/terminator"
12SRC_URI="
13 https://github.com/gnome-terminator/terminator/releases/download/v${PV}/${P}.tar.gz
14 verify-sig? ( https://github.com/gnome-terminator/terminator/releases/download/v${PV}/${P}.tar.gz.asc )
15"
16
17LICENSE="GPL-2"
18SLOT="0"
19KEYWORDS="amd64 ~ppc ~riscv x86"
20IUSE="test"
21
22RDEPEND="
23 dev-libs/glib:2
24 dev-python/configobj[${PYTHON_USEDEP}]
25 dev-python/psutil[${PYTHON_USEDEP}]
26 dev-python/pycairo[${PYTHON_USEDEP}]
27 dev-python/pygobject:3[${PYTHON_USEDEP}]
28 gnome-base/gsettings-desktop-schemas[introspection]
29 x11-libs/gtk+:3
30 x11-libs/vte:2.91[introspection]
31"
32BDEPEND="
33 dev-util/intltool
34 sys-devel/gettext
35 test? (
36 dev-python/dbus-python[${PYTHON_USEDEP}]
37 x11-libs/libnotify[introspection]
38 )
39 verify-sig? ( sec-keys/openpgp-keys-terminator )
40"
41distutils_enable_tests pytest
42
43VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/terminator.asc
44
45PATCHES=(
46 "${FILESDIR}"/terminator-1.91-without-icon-cache.patch
47 "${FILESDIR}"/terminator-1.91-desktop.patch
48)
49
50src_prepare() {
51 xdg_environment_reset
52 sed -i -e '/pytest-runner/d' setup.py || die
53 distutils-r1_src_prepare
54}
55
56src_test() {
57 virtx distutils-r1_src_test
58}
59
60pkg_postinst() {
61 xdg_pkg_postinst
62
63 optfeature "D-Bus" dev-python/dbus-python
64 optfeature "desktop notifications" "x11-libs/libnotify[introspection]"
65 optfeature "global keyboard shortcuts" "dev-libs/keybinder:3[introspection]"
66}