summaryrefslogtreecommitdiff
path: root/x11-terms/terminator/terminator-2.1.3-r1.ebuild
diff options
context:
space:
mode:
authorSimeon Simeonov2023-03-11 23:22:52 +0100
committerSimeon Simeonov2023-03-11 23:22:52 +0100
commit2d3502281938fed1352d529ea613e56d71fd1f4b (patch)
tree0d0a418e32c46d4e99f7fcb13d57e7d27df95f5a /x11-terms/terminator/terminator-2.1.3-r1.ebuild
parent91ae7fc9ba07a539a9535d498446fb59f4a688d8 (diff)
Upgrade to terminator-2.1.3-r1
Diffstat (limited to 'x11-terms/terminator/terminator-2.1.3-r1.ebuild')
-rw-r--r--x11-terms/terminator/terminator-2.1.3-r1.ebuild65
1 files changed, 65 insertions, 0 deletions
diff --git a/x11-terms/terminator/terminator-2.1.3-r1.ebuild b/x11-terms/terminator/terminator-2.1.3-r1.ebuild
new file mode 100644
index 0000000..aefb275
--- /dev/null
+++ b/x11-terms/terminator/terminator-2.1.3-r1.ebuild
@@ -0,0 +1,65 @@
1# Copyright 1999-2023 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_{9..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-desktop.patch
47 "${FILESDIR}"/terminator-1.92-single-tab.patch
48)
49
50src_prepare() {
51 sed -i -e '/pytest-runner/d' setup.py || die
52 distutils-r1_src_prepare
53}
54
55src_test() {
56 virtx distutils-r1_src_test
57}
58
59pkg_postinst() {
60 xdg_pkg_postinst
61
62 optfeature "D-Bus" dev-python/dbus-python
63 optfeature "desktop notifications" "x11-libs/libnotify[introspection]"
64 optfeature "global keyboard shortcuts" "dev-libs/keybinder:3[introspection]"
65}