summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2020-09-13 07:42:32 +0000
committerSam James <sam@gentoo.org>2020-09-13 07:45:06 +0000
commita70ccb1e002ff4becc0ba79cd3390d73a73d1027 (patch)
treeb16f3f29042cf233e04d9b799fe0f98e808c18bd /app-misc/dvorak7min/dvorak7min-1.6.1-r1.ebuild
parentdev-python/feedparser: Bump to 6.0.0 (diff)
downloadgentoo-a70ccb1e002ff4becc0ba79cd3390d73a73d1027.tar.gz
gentoo-a70ccb1e002ff4becc0ba79cd3390d73a73d1027.tar.bz2
gentoo-a70ccb1e002ff4becc0ba79cd3390d73a73d1027.zip
app-misc/dvorak7min: bump to EAPI 7, fix build
* Port to EAPI 7 * Adopt Debian's patches for some little bug fixes (inc. glibc-2.32) * Fix linking with ncurses by using pkgconfig Closes: https://bugs.gentoo.org/742080 Closes: https://bugs.gentoo.org/722336 Closes: https://bugs.gentoo.org/715848 Closes: https://bugs.gentoo.org/689986 Closes: https://bugs.gentoo.org/698082 Closes: https://bugs.gentoo.org/702372 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-misc/dvorak7min/dvorak7min-1.6.1-r1.ebuild')
-rw-r--r--app-misc/dvorak7min/dvorak7min-1.6.1-r1.ebuild36
1 files changed, 36 insertions, 0 deletions
diff --git a/app-misc/dvorak7min/dvorak7min-1.6.1-r1.ebuild b/app-misc/dvorak7min/dvorak7min-1.6.1-r1.ebuild
new file mode 100644
index 000000000000..38f74d2fc070
--- /dev/null
+++ b/app-misc/dvorak7min/dvorak7min-1.6.1-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="Simple ncurses-based typing tutor for learning the Dvorak keyboard layout"
+HOMEPAGE="http://www.linalco.com/comunidad.html"
+SRC_URI="http://www.linalco.com/ragnar/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
+
+BDEPEND="virtual/pkgconfig"
+DEPEND="sys-libs/ncurses:="
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-1.6.1-debian-changes.patch"
+ "${FILESDIR}/${PN}-1.6.1-makefile-flags.patch"
+ "${FILESDIR}/${PN}-1.6.1-ncurses-pkg-config.patch"
+)
+
+src_compile() {
+ emake \
+ CC="$(tc-getCC)" \
+ PROF="${CFLAGS}" \
+ LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+ dobin ${PN}
+ dodoc ChangeLog README
+}