Gentoo Archives: gentoo-commits

From: Aaron Bauman <bman@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/jasspa-microemacs/
Date: Sat, 09 Feb 2019 19:56:05
Message-Id: 1549742099.1189b934e9411ff3b95f02f301c8aa80f16ea586.bman@gentoo
1 commit: 1189b934e9411ff3b95f02f301c8aa80f16ea586
2 Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Tue Feb 5 08:25:30 2019 +0000
4 Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 9 19:54:59 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1189b934
7
8 app-editors/jasspa-microemacs: remove old (EAPI4)
9
10 Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
11 Closes: https://github.com/gentoo/gentoo/pull/10983
12 Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>
13
14 .../jasspa-microemacs-20091011-r2.ebuild | 83 ----------------------
15 1 file changed, 83 deletions(-)
16
17 diff --git a/app-editors/jasspa-microemacs/jasspa-microemacs-20091011-r2.ebuild b/app-editors/jasspa-microemacs/jasspa-microemacs-20091011-r2.ebuild
18 deleted file mode 100644
19 index eb138ec6f5b..00000000000
20 --- a/app-editors/jasspa-microemacs/jasspa-microemacs-20091011-r2.ebuild
21 +++ /dev/null
22 @@ -1,83 +0,0 @@
23 -# Copyright 1999-2018 Gentoo Foundation
24 -# Distributed under the terms of the GNU General Public License v2
25 -
26 -EAPI=4
27 -
28 -inherit eutils toolchain-funcs
29 -MACROS_PV="20091017"
30 -
31 -DESCRIPTION="Jasspa Microemacs"
32 -HOMEPAGE="http://www.jasspa.com/"
33 -SRC_URI="http://www.jasspa.com/release_20090909/jasspa-mesrc-${PV}.tar.gz
34 - !nanoemacs? (
35 - http://www.jasspa.com/release_20090909/jasspa-memacros-${MACROS_PV}.tar.gz
36 - http://www.jasspa.com/release_20090909/jasspa-mehtml-${PV}.tar.gz
37 - http://www.jasspa.com/release_20060909/meicons-extra.tar.gz )"
38 -
39 -LICENSE="GPL-2+"
40 -SLOT="0"
41 -KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
42 -IUSE="nanoemacs X xpm"
43 -
44 -RDEPEND="sys-libs/ncurses
45 - X? ( x11-libs/libX11
46 - xpm? ( x11-libs/libXpm ) )
47 - nanoemacs? ( !app-editors/ne )"
48 -
49 -DEPEND="${RDEPEND}
50 - virtual/pkgconfig
51 - X? ( x11-libs/libXt
52 - x11-base/xorg-proto )"
53 -
54 -S="${WORKDIR}/me${PV:2}/src"
55 -
56 -src_unpack() {
57 - unpack jasspa-mesrc-${PV}.tar.gz
58 - if ! use nanoemacs; then
59 - mkdir "${WORKDIR}/jasspa"
60 - cd "${WORKDIR}/jasspa"
61 - # everything except jasspa-mesrc
62 - unpack ${A/jasspa-mesrc-${PV}.tar.gz/}
63 - fi
64 -}
65 -
66 -src_prepare() {
67 - epatch "${FILESDIR}/${PV}-ncurses.patch"
68 - epatch "${FILESDIR}/${PV}-linux3.patch"
69 -
70 - # allow for some variables to be passed to make
71 - sed -i -e \
72 - '/make/s/\$OPTIONS/& CC="$CC" COPTIMISE="$CFLAGS" LDFLAGS="$LDFLAGS" CONSOLE_LIBS="$CONSOLE_LIBS" STRIP=true/' \
73 - build || die "sed failed"
74 -}
75 -
76 -src_compile() {
77 - local pkgdatadir="${EPREFIX}/usr/share/jasspa"
78 - local me="" type=c
79 - use nanoemacs && me="-ne"
80 - use X && type=cw
81 - use xpm || export XPM_INCLUDE=. # prevent Xpm autodetection
82 -
83 - CC="$(tc-getCC)" \
84 - CONSOLE_LIBS="$("$(tc-getPKG_CONFIG)" --libs ncurses)" \
85 - ./build ${me} \
86 - -t ${type} \
87 - -p "~/.jasspa:${pkgdatadir}/site:${pkgdatadir}" \
88 - || die "build failed"
89 -}
90 -
91 -src_install() {
92 - local me=me type=c
93 - use nanoemacs && me=ne
94 - use X && type=cw
95 - newbin ${me}${type} ${me}
96 -
97 - if ! use nanoemacs; then
98 - keepdir /usr/share/jasspa/site
99 - insinto /usr/share
100 - doins -r "${WORKDIR}/jasspa"
101 - use X && domenu "${FILESDIR}/${PN}.desktop"
102 - fi
103 -
104 - dodoc ../faq.txt ../readme.txt ../change.log
105 -}