From 771009fb0c0f407bf0efe7a1a6d84d97d4ef6809 Mon Sep 17 00:00:00 2001 From: Sam James Date: Fri, 18 Jun 2021 23:04:03 +0200 Subject: games-arcade/ascii-invaders: add pkgconfig or pkgconfig-referenced libs deps Add dependencies for either virtual/pkgconfig, move it into BDEPEND where applicable, or add dependencies for libraries we're trying to find with pkgconfig. Package-Manager: Portage-3.0.18-prefix, Repoman-3.0.3 Signed-off-by: Sam James Signed-off-by: David Seifert --- .../ascii-invaders/ascii-invaders-0.1b-r1.ebuild | 35 ---------------------- .../ascii-invaders/ascii-invaders-0.1b-r2.ebuild | 35 ++++++++++++++++++++++ 2 files changed, 35 insertions(+), 35 deletions(-) delete mode 100644 games-arcade/ascii-invaders/ascii-invaders-0.1b-r1.ebuild create mode 100644 games-arcade/ascii-invaders/ascii-invaders-0.1b-r2.ebuild (limited to 'games-arcade') diff --git a/games-arcade/ascii-invaders/ascii-invaders-0.1b-r1.ebuild b/games-arcade/ascii-invaders/ascii-invaders-0.1b-r1.ebuild deleted file mode 100644 index 65c9b267ca12..000000000000 --- a/games-arcade/ascii-invaders/ascii-invaders-0.1b-r1.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit toolchain-funcs - -DESCRIPTION="Space invaders clone, using ncurses library" -HOMEPAGE="https://packages.gentoo.org/package/games-arcade/ascii-invaders" -SRC_URI="mirror://gentoo/invaders${PV}.tgz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~mips ~ppc64 ~x86 ~ppc-macos" -IUSE="" - -RDEPEND="sys-libs/ncurses:0" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -S="${WORKDIR}/invaders" - -src_prepare() { - default - rm -f Makefile -} - -src_compile() { - emake LDLIBS="$($(tc-getPKG_CONFIG) ncurses --libs)" invaders -} - -src_install() { - newbin invaders ${PN} - einstalldocs -} diff --git a/games-arcade/ascii-invaders/ascii-invaders-0.1b-r2.ebuild b/games-arcade/ascii-invaders/ascii-invaders-0.1b-r2.ebuild new file mode 100644 index 000000000000..407e574553b1 --- /dev/null +++ b/games-arcade/ascii-invaders/ascii-invaders-0.1b-r2.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs + +DESCRIPTION="Space invaders clone, using ncurses library" +HOMEPAGE="https://packages.gentoo.org/package/games-arcade/ascii-invaders" +SRC_URI="mirror://gentoo/invaders${PV}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~mips ~ppc64 ~x86 ~ppc-macos" +IUSE="" + +RDEPEND="sys-libs/ncurses:0=" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S="${WORKDIR}/invaders" + +src_prepare() { + default + rm -f Makefile +} + +src_compile() { + emake LDLIBS="$($(tc-getPKG_CONFIG) ncurses --libs)" invaders +} + +src_install() { + newbin invaders ${PN} + einstalldocs +} -- cgit v1.2.3-65-gdbad