1 |
commit: 4e3656e991694d5c401112513da593f519d79968 |
2 |
Author: Alexey Sokolov <sokolov <AT> google <DOT> com> |
3 |
AuthorDate: Thu Aug 13 22:45:19 2020 +0000 |
4 |
Commit: Stefan Strogin <steils <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 31 02:42:18 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e3656e9 |
7 |
|
8 |
x11-terms/terminator: move keybinder behind X USE flag |
9 |
|
10 |
Closes: https://bugs.gentoo.org/736972 |
11 |
Package-Manager: Portage-2.3.103, Repoman-2.3.23 |
12 |
Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org> |
13 |
Closes: https://github.com/gentoo/gentoo/pull/17117 |
14 |
Signed-off-by: Stefan Strogin <steils <AT> gentoo.org> |
15 |
|
16 |
x11-terms/terminator/terminator-1.92-r2.ebuild | 60 ++++++++++++++++++++++++++ |
17 |
1 file changed, 60 insertions(+) |
18 |
|
19 |
diff --git a/x11-terms/terminator/terminator-1.92-r2.ebuild b/x11-terms/terminator/terminator-1.92-r2.ebuild |
20 |
new file mode 100644 |
21 |
index 00000000000..9e0fe53f6b3 |
22 |
--- /dev/null |
23 |
+++ b/x11-terms/terminator/terminator-1.92-r2.ebuild |
24 |
@@ -0,0 +1,60 @@ |
25 |
+# Copyright 1999-2020 Gentoo Authors |
26 |
+# Distributed under the terms of the GNU General Public License v2 |
27 |
+ |
28 |
+EAPI=7 |
29 |
+ |
30 |
+PYTHON_COMPAT=( python3_{6,7,8} ) |
31 |
+DISTUTILS_USE_SETUPTOOLS="no" |
32 |
+inherit distutils-r1 virtualx xdg-utils |
33 |
+ |
34 |
+DESCRIPTION="Multiple GNOME terminals in one window" |
35 |
+HOMEPAGE="https://github.com/gnome-terminator/terminator" |
36 |
+SRC_URI="https://github.com/gnome-terminator/terminator/releases/download/v${PV}/${P}.tar.gz" |
37 |
+ |
38 |
+LICENSE="GPL-2" |
39 |
+SLOT="0" |
40 |
+KEYWORDS="~amd64 ~ppc ~x86" |
41 |
+IUSE="dbus +libnotify X" |
42 |
+ |
43 |
+RDEPEND=" |
44 |
+ dev-libs/glib:2 |
45 |
+ dev-python/configobj[${PYTHON_USEDEP}] |
46 |
+ dev-python/psutil[${PYTHON_USEDEP}] |
47 |
+ dev-python/pycairo[${PYTHON_USEDEP}] |
48 |
+ dev-python/pygobject:3[${PYTHON_USEDEP}] |
49 |
+ x11-libs/gtk+:3 |
50 |
+ x11-libs/vte:2.91[introspection] |
51 |
+ dbus? ( dev-python/dbus-python[${PYTHON_USEDEP}] ) |
52 |
+ libnotify? ( x11-libs/libnotify[introspection] ) |
53 |
+ X? ( dev-libs/keybinder:3[introspection] ) |
54 |
+" |
55 |
+BDEPEND=" |
56 |
+ dev-util/intltool |
57 |
+" |
58 |
+distutils_enable_tests setup.py |
59 |
+ |
60 |
+PATCHES=( |
61 |
+ "${FILESDIR}"/terminator-1.91-without-icon-cache.patch |
62 |
+ "${FILESDIR}"/terminator-1.91-desktop.patch |
63 |
+ "${FILESDIR}"/terminator-1.92-make-tests-fail.patch |
64 |
+ "${FILESDIR}"/terminator-1.92-metainfo.patch |
65 |
+) |
66 |
+ |
67 |
+src_prepare() { |
68 |
+ xdg_environment_reset |
69 |
+ distutils-r1_src_prepare |
70 |
+} |
71 |
+ |
72 |
+src_test() { |
73 |
+ virtx distutils-r1_src_test |
74 |
+} |
75 |
+ |
76 |
+pkg_postinst() { |
77 |
+ xdg_desktop_database_update |
78 |
+ xdg_icon_cache_update |
79 |
+} |
80 |
+ |
81 |
+pkg_postrm() { |
82 |
+ xdg_desktop_database_update |
83 |
+ xdg_icon_cache_update |
84 |
+} |