1 |
commit: 7070b3a52f6640bfd0db90e8b53f3db82b795a17 |
2 |
Author: Amy Liffey <amynka <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Oct 27 18:00:47 2021 +0000 |
4 |
Commit: Amy Liffey <amynka <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Oct 27 18:59:47 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7070b3a5 |
7 |
|
8 |
app-editors/joe: eapi bump and remove gnome2-utils |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/22730 |
11 |
|
12 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
13 |
Signed-off-by: Amy Liffey <amynka <AT> gentoo.org> |
14 |
|
15 |
app-editors/joe/joe-4.6-r1.ebuild | 56 +++++++++++++++++++++++++++++++++++++++ |
16 |
1 file changed, 56 insertions(+) |
17 |
|
18 |
diff --git a/app-editors/joe/joe-4.6-r1.ebuild b/app-editors/joe/joe-4.6-r1.ebuild |
19 |
new file mode 100644 |
20 |
index 00000000000..efcc6cef615 |
21 |
--- /dev/null |
22 |
+++ b/app-editors/joe/joe-4.6-r1.ebuild |
23 |
@@ -0,0 +1,56 @@ |
24 |
+# Copyright 1999-2021 Gentoo Authors |
25 |
+# Distributed under the terms of the GNU General Public License v2 |
26 |
+ |
27 |
+EAPI=8 |
28 |
+ |
29 |
+inherit autotools xdg-utils |
30 |
+ |
31 |
+DESCRIPTION="A free ASCII-Text Screen Editor for UNIX" |
32 |
+HOMEPAGE="https://sourceforge.net/projects/joe-editor/" |
33 |
+SRC_URI="mirror://sourceforge/joe-editor/${P}.tar.gz" |
34 |
+ |
35 |
+LICENSE="GPL-1+ CC-BY-3.0" |
36 |
+SLOT="0" |
37 |
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris" |
38 |
+IUSE="xterm" |
39 |
+ |
40 |
+DEPEND=">=sys-libs/ncurses-5.2-r2:0=" |
41 |
+RDEPEND="${DEPEND} |
42 |
+ xterm? ( >=x11-terms/xterm-239 )" |
43 |
+ |
44 |
+PATCHES=( |
45 |
+ "${FILESDIR}/${PN}-4.3-tinfo.patch" |
46 |
+ "${FILESDIR}/${P}-db.patch" |
47 |
+) |
48 |
+ |
49 |
+DOCS=( README.md NEWS.md docs/hacking.md docs/man.md ) |
50 |
+ |
51 |
+src_prepare() { |
52 |
+ default |
53 |
+ # Enable xterm mouse support in the rc files |
54 |
+ if use xterm; then |
55 |
+ pushd "${S}"/rc &>/dev/null || die |
56 |
+ local i |
57 |
+ for i in *rc*.in; do |
58 |
+ sed -e 's/^ -\(mouse\|joexterm\)/-\1/' -i "${i}" || die |
59 |
+ done |
60 |
+ popd &>/dev/null |
61 |
+ fi |
62 |
+ eautoreconf |
63 |
+} |
64 |
+ |
65 |
+pkg_postinst() { |
66 |
+ xdg_desktop_database_update |
67 |
+ xdg_icon_cache_update |
68 |
+ if use xterm; then |
69 |
+ elog "To enable full xterm clipboard you need to set the allowWindowOps" |
70 |
+ elog "resources to true. This is usually found in /etc/X11/app-defaults/XTerm" |
71 |
+ elog "This is false by default due to potential security problems on some" |
72 |
+ elog "architectures (see bug #91453)." |
73 |
+ fi |
74 |
+} |
75 |
+ |
76 |
+pkg_postrm() { |
77 |
+ xdg_desktop_database_update |
78 |
+ xdg_icon_cache_update |
79 |
+} |