From 280278f4db57054601707158f36316296c55f256 Mon Sep 17 00:00:00 2001 From: Sam James Date: Fri, 18 Jun 2021 23:05:42 +0200 Subject: app-misc/dvorakng: use correct (:=) slot operator for ncurses We need to be rebuilt when ncurses' subslot (representing its ABI here) is changed, not just note that we're fine with any (sub)slot which is what :* does. Package-Manager: Portage-3.0.18-prefix, Repoman-3.0.3 Signed-off-by: Sam James Signed-off-by: David Seifert --- app-misc/dvorakng/dvorakng-0.6.0-r1.ebuild | 36 ++++++++++++++++++++++++++++++ app-misc/dvorakng/dvorakng-0.6.0.ebuild | 35 ----------------------------- 2 files changed, 36 insertions(+), 35 deletions(-) create mode 100644 app-misc/dvorakng/dvorakng-0.6.0-r1.ebuild delete mode 100644 app-misc/dvorakng/dvorakng-0.6.0.ebuild diff --git a/app-misc/dvorakng/dvorakng-0.6.0-r1.ebuild b/app-misc/dvorakng/dvorakng-0.6.0-r1.ebuild new file mode 100644 index 000000000000..f1a87153ac35 --- /dev/null +++ b/app-misc/dvorakng/dvorakng-0.6.0-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit toolchain-funcs + +DESCRIPTION="Dvorak typing tutor" +HOMEPAGE="http://freshmeat.net/projects/dvorakng/?topic_id=71%2C861" +SRC_URI="http://www.free.of.pl/n/nopik/${P}rc1.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 x86" + +RDEPEND=" + sys-libs/ncurses:= +" +DEPEND=" + ${RDEPEND} + virtual/pkgconfig +" + +S=${WORKDIR}/${PN} + +src_compile() { + emake \ + CXX="$(tc-getCXX)" \ + CXXFLAGS="${CXXFLAGS}" \ + LDFLAGS="${LDFLAGS}" \ + LIBS="$( $(tc-getPKG_CONFIG) --libs ncurses )" +} + +src_install() { + dobin ${PN} + dodoc README TODO +} diff --git a/app-misc/dvorakng/dvorakng-0.6.0.ebuild b/app-misc/dvorakng/dvorakng-0.6.0.ebuild deleted file mode 100644 index b99e9273b654..000000000000 --- a/app-misc/dvorakng/dvorakng-0.6.0.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit toolchain-funcs - -DESCRIPTION="Dvorak typing tutor" -HOMEPAGE="http://freshmeat.net/projects/dvorakng/?topic_id=71%2C861" -SRC_URI="http://www.free.of.pl/n/nopik/${P}rc1.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ppc ppc64 x86" -RDEPEND=" - sys-libs/ncurses:* -" -DEPEND=" - ${RDEPEND} - virtual/pkgconfig -" - -S=${WORKDIR}/${PN} - -src_compile() { - emake \ - CXX="$(tc-getCXX)" \ - CXXFLAGS="${CXXFLAGS}" \ - LDFLAGS="${LDFLAGS}" \ - LIBS="$( $(tc-getPKG_CONFIG) --libs ncurses )" -} - -src_install() { - dobin ${PN} - dodoc README TODO -} -- cgit v1.2.3-65-gdbad