app-misc/neo: fix NonexistentDeps

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova 2024-01-18 15:20:08 +05:00
parent 00c29b7d12
commit 3b9c369f23
No known key found for this signature in database
GPG Key ID: E7B76EDC50864BB1
2 changed files with 24 additions and 20 deletions

View File

@ -1,4 +1,4 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@ -6,26 +6,28 @@ EAPI=8
DESCRIPTION="cmatrix clone with 32-bit color and Unicode support"
HOMEPAGE="https://github.com/st3w/neo"
if [ "$PV" = 9999 ]; then
if [[ ${PV} == *9999* ]]; then
inherit autotools git-r3
EGIT_REPO_URI="https://github.com/st3w/neo/"
EGIT_REPO_URI="https://github.com/st3w/neo.git"
BDEPEND="
dev-build/autoconf-archive
dev-build/automake
"
else
SRC_URI="https://github.com/st3w/neo/releases/download/v${PV}/${P}.tar.gz"
SRC_URI="https://github.com/st3w/${PN}/releases/download/v${PV}/${P}.tar.gz"
KEYWORDS="~amd64"
fi
LICENSE="GPL-3"
SLOT="0"
IUSE=""
DEPEND="sys-libs/ncurses"
RDEPEND="${DEPEND}"
[ "$PV" = 9999 ] && BDEPEND="
dev-build/automake
dev-build/automake-archive
"
src_prepare() {
default
[ -f ./configure ] || eautoreconf || die 'autoreconf failed'
if [[ ! -x configure ]]; then
eautoreconf
fi
}

View File

@ -1,4 +1,4 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@ -6,26 +6,28 @@ EAPI=8
DESCRIPTION="cmatrix clone with 32-bit color and Unicode support"
HOMEPAGE="https://github.com/st3w/neo"
if [ "$PV" = 9999 ]; then
if [[ ${PV} == *9999* ]]; then
inherit autotools git-r3
EGIT_REPO_URI="https://github.com/st3w/neo/"
EGIT_REPO_URI="https://github.com/st3w/neo.git"
BDEPEND="
dev-build/autoconf-archive
dev-build/automake
"
else
SRC_URI="https://github.com/st3w/neo/releases/download/v${PV}/${P}.tar.gz"
SRC_URI="https://github.com/st3w/${PN}/releases/download/v${PV}/${P}.tar.gz"
KEYWORDS="~amd64"
fi
LICENSE="GPL-3"
SLOT="0"
IUSE=""
DEPEND="sys-libs/ncurses"
RDEPEND="${DEPEND}"
[ "$PV" = 9999 ] && BDEPEND="
dev-build/automake
dev-build/automake-archive
"
src_prepare() {
default
[ -f ./configure ] || eautoreconf || die 'autoreconf failed'
if [[ ! -x configure ]]; then
eautoreconf
fi
}