diff options
author | Amy Liffey <amynka@gentoo.org> | 2021-10-27 20:00:47 +0200 |
---|---|---|
committer | Amy Liffey <amynka@gentoo.org> | 2021-10-27 20:59:47 +0200 |
commit | 7070b3a52f6640bfd0db90e8b53f3db82b795a17 (patch) | |
tree | 0b11972776ce7346478017ba0ccf5350df1e99c9 /app-editors/joe | |
parent | app-editors/joe: remove 4.2, 4.3, 4.4 (diff) | |
download | gentoo-7070b3a52f6640bfd0db90e8b53f3db82b795a17.tar.gz gentoo-7070b3a52f6640bfd0db90e8b53f3db82b795a17.tar.bz2 gentoo-7070b3a52f6640bfd0db90e8b53f3db82b795a17.zip |
app-editors/joe: eapi bump and remove gnome2-utils
Closes: https://github.com/gentoo/gentoo/pull/22730
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Amy Liffey <amynka@gentoo.org>
Diffstat (limited to 'app-editors/joe')
-rw-r--r-- | app-editors/joe/joe-4.6-r1.ebuild | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/app-editors/joe/joe-4.6-r1.ebuild b/app-editors/joe/joe-4.6-r1.ebuild new file mode 100644 index 000000000000..efcc6cef6153 --- /dev/null +++ b/app-editors/joe/joe-4.6-r1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools xdg-utils + +DESCRIPTION="A free ASCII-Text Screen Editor for UNIX" +HOMEPAGE="https://sourceforge.net/projects/joe-editor/" +SRC_URI="mirror://sourceforge/joe-editor/${P}.tar.gz" + +LICENSE="GPL-1+ CC-BY-3.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris" +IUSE="xterm" + +DEPEND=">=sys-libs/ncurses-5.2-r2:0=" +RDEPEND="${DEPEND} + xterm? ( >=x11-terms/xterm-239 )" + +PATCHES=( + "${FILESDIR}/${PN}-4.3-tinfo.patch" + "${FILESDIR}/${P}-db.patch" +) + +DOCS=( README.md NEWS.md docs/hacking.md docs/man.md ) + +src_prepare() { + default + # Enable xterm mouse support in the rc files + if use xterm; then + pushd "${S}"/rc &>/dev/null || die + local i + for i in *rc*.in; do + sed -e 's/^ -\(mouse\|joexterm\)/-\1/' -i "${i}" || die + done + popd &>/dev/null + fi + eautoreconf +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_icon_cache_update + if use xterm; then + elog "To enable full xterm clipboard you need to set the allowWindowOps" + elog "resources to true. This is usually found in /etc/X11/app-defaults/XTerm" + elog "This is false by default due to potential security problems on some" + elog "architectures (see bug #91453)." + fi +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_icon_cache_update +} |