Gentoo Archives: gentoo-commits

From: Carlos Eduardo <carana2099@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-misc/neo/
Date: Tue, 22 Feb 2022 21:25:00
Message-Id: 1645565050.06756aaf93576a3346d8983c8b474d3aff4383c6.carana2099@gentoo
1 commit: 06756aaf93576a3346d8983c8b474d3aff4383c6
2 Author: Carlos Eduardo <carana2099 <AT> gmail <DOT> com>
3 AuthorDate: Tue Feb 22 21:24:10 2022 +0000
4 Commit: Carlos Eduardo <carana2099 <AT> gmail <DOT> com>
5 CommitDate: Tue Feb 22 21:24:10 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=06756aaf
7
8 app-misc/neo: fix dangling symlink
9
10 Repoman doesn't seem to have staged neo-9999.ebuild turning from a symlink
11 to a normal file...
12
13 Signed-off-by: Carlos Eduardo <carana2099 <AT> gmail.com>
14
15 app-misc/neo/neo-9999.ebuild | 33 ++++++++++++++++++++++++++++++++-
16 1 file changed, 32 insertions(+), 1 deletion(-)
17
18 diff --git a/app-misc/neo/neo-9999.ebuild b/app-misc/neo/neo-9999.ebuild
19 deleted file mode 120000
20 index 7fee11d41..000000000
21 --- a/app-misc/neo/neo-9999.ebuild
22 +++ /dev/null
23 @@ -1 +0,0 @@
24 -neo-0.6.ebuild
25 \ No newline at end of file
26
27 diff --git a/app-misc/neo/neo-9999.ebuild b/app-misc/neo/neo-9999.ebuild
28 new file mode 100644
29 index 000000000..7cbc274fd
30 --- /dev/null
31 +++ b/app-misc/neo/neo-9999.ebuild
32 @@ -0,0 +1,32 @@
33 +# Copyright 1999-2022 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=8
37 +
38 +DESCRIPTION="cmatrix clone with 32-bit color and Unicode support"
39 +HOMEPAGE="https://github.com/st3w/neo"
40 +
41 +if [ "$PV" = 9999 ]; then
42 + inherit autotools git-r3
43 + EGIT_REPO_URI="https://github.com/st3w/neo/"
44 + KEYWORDS=""
45 +else
46 + SRC_URI="https://github.com/st3w/neo/releases/download/v${PV}/${P}.tar.gz"
47 + KEYWORDS="~amd64"
48 +fi
49 +
50 +LICENSE="GPL-3"
51 +SLOT="0"
52 +IUSE=""
53 +
54 +DEPEND="sys-libs/ncurses"
55 +RDEPEND="${DEPEND}"
56 +[ "$PV" = 9999 ] && BDEPEND="
57 + sys-devel/autoconf
58 + sys-devel/autoconf-archive
59 +"
60 +
61 +src_prepare() {
62 + default
63 + [ -f ./configure ] || eautoreconf || die 'autoreconf failed'
64 +}