diff options
Diffstat (limited to 'games-misc/typespeed')
-rw-r--r-- | games-misc/typespeed/Manifest | 4 | ||||
-rw-r--r-- | games-misc/typespeed/files/typespeed-0.6.5-musl.patch | 4 | ||||
-rw-r--r-- | games-misc/typespeed/typespeed-0.6.5-r1.ebuild (renamed from games-misc/typespeed/typespeed-0.6.5.ebuild) | 22 |
3 files changed, 16 insertions, 14 deletions
diff --git a/games-misc/typespeed/Manifest b/games-misc/typespeed/Manifest index 3517c2e76e9e..9fef946670d9 100644 --- a/games-misc/typespeed/Manifest +++ b/games-misc/typespeed/Manifest @@ -1,4 +1,4 @@ -AUX typespeed-0.6.5-musl.patch 422 BLAKE2B 2635543607637b6499c346ce49f54f8d14ef460c46011c91d4457d59c4ca7c558b749091551f3fce7c1a1df8b5668673a2477437815f2adea621d18443a5e765 SHA512 23b264f8b5b9d7819f313d2fca1959997a14c1ac50c03643141fbeab89c20d7be0adc3c73589e26071296fedd0c42fb6f31727c8a563556a076f1e3742801643 +AUX typespeed-0.6.5-musl.patch 418 BLAKE2B c1af19bfbb0c05d3cbc0c4308ff89ecdad0825d8e77b19d32b02d8ba410538ead7c90a20f31083174cf0e0cd9a428cb4070ef76949c105c2768086ac6fbcc81e SHA512 3f5f2d1d1fd85e1829fb024bfbf355b945c04bd0a624b3e2a86dbe029f64d15473c66c7410bd4013d263fcf3142474e2ac92656699aebc0570c62d8a18a4b635 DIST typespeed-0.6.5.tar.gz 254170 BLAKE2B ce39d5e7d31a068a34deafa1c81dc69b028339d4f8e7461e5bfce335bdc47885b224f33efc7eb02765a2ae0cc1d1b52559b210a04fa0a549d54093dbc816acc0 SHA512 cf3a8cdeb5fb1ee81bd5cf50d6b2aca1e7331b0bfde518c38050abae35ca617fbeed5bf2a37830a7568712ab71920f60c89197317a2721ae8c89829b0eede190 -EBUILD typespeed-0.6.5.ebuild 915 BLAKE2B 4bfdf6b10353b3896ba352a1c842de4e0492084d5291351c80e23ae13855d41b15fc72bc966675839517547b4068193144c5772c4df61156d9df643bb21046fe SHA512 6830f2cf6e794a5bf3446526900e3b7e9445a602138423afb2437402a6d4f5ce44541eff630d56266d05a013d448dc9498c0ce2a3427f39b5caf6652a240fbe4 +EBUILD typespeed-0.6.5-r1.ebuild 852 BLAKE2B ebc7616fb387dd6814e7707ef4a3565272cb5f0b4dec6c80625d23894f4f6b8bf01313bb3521fc867fe4e5a2e8880be605b4ff6073ac4779330fc23bf523bcfd SHA512 3a220b3ff616b6dc285128370a853c843fa195e9da6fd70cd1e57c3417e981673b2bb1418629b081fa13cb3ac697cd825aaa7e3eda3d0f5fa1807eabbdd58dd6 MISC metadata.xml 332 BLAKE2B a7dea2ab5d54a1bf0455a41fa30f7bfb1eee06f547e2b14ce5b7d63dbf826ae43287304a331754829819addceade50bae557de63fb7d0536cf0573342ef42734 SHA512 3038edc39a8e186f2d054ff72afd3f28e62e116e436bd818080e65dc8cea1a93b5e41658c86709ca70a9df91116631b90deaefb1dc5cbe77e9f6e802e9b5af1e diff --git a/games-misc/typespeed/files/typespeed-0.6.5-musl.patch b/games-misc/typespeed/files/typespeed-0.6.5-musl.patch index 3fd53b328ebd..3967b10f3428 100644 --- a/games-misc/typespeed/files/typespeed-0.6.5-musl.patch +++ b/games-misc/typespeed/files/typespeed-0.6.5-musl.patch @@ -1,6 +1,6 @@ diff -ur a/typespeed-0.6.5/src/typespeed.h b/typespeed-0.6.5/src/typespeed.h ---- a/typespeed-0.6.5/src/typespeed.h 2008-08-13 15:36:51.000000000 +0100 -+++ b/typespeed-0.6.5/src/typespeed.h 2016-01-01 10:41:54.919998820 +0100 +--- typespeed-0.6.5/src/typespeed.h 2008-08-13 15:36:51.000000000 +0100 ++++ typespeed-0.6.5/src/typespeed.h 2016-01-01 10:41:54.919998820 +0100 @@ -27,10 +27,10 @@ #include <stdint.h> diff --git a/games-misc/typespeed/typespeed-0.6.5.ebuild b/games-misc/typespeed/typespeed-0.6.5-r1.ebuild index c920053621fa..354c9eba5a35 100644 --- a/games-misc/typespeed/typespeed-0.6.5.ebuild +++ b/games-misc/typespeed/typespeed-0.6.5-r1.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -inherit autotools eutils games +EAPI=6 +inherit autotools DESCRIPTION="Test your typing speed, and get your fingers CPS" HOMEPAGE="http://typespeed.sourceforge.net/" @@ -13,32 +13,34 @@ SLOT="0" KEYWORDS="~alpha ~amd64 ~ppc64 ~x86" IUSE="nls" -RDEPEND="sys-libs/ncurses:0 - nls? ( virtual/libintl )" +RDEPEND=" + sys-libs/ncurses:0= + nls? ( virtual/libintl ) +" DEPEND="${RDEPEND} - nls? ( sys-devel/gettext )" + nls? ( sys-devel/gettext ) +" src_prepare() { + default sed -i \ -e 's/testsuite//' \ -e 's/doc//' \ Makefile.am || die sed -i -e '/^CC =/d' src/Makefile.am || die - epatch "${FILESDIR}"/${P}-musl.patch + eapply "${FILESDIR}"/${P}-musl.patch rm -rf m4 #417265 eautoreconf } src_configure() { - egamesconf \ + econf \ --localedir=/usr/share/locale \ --docdir=/usr/share/doc/${PF} \ - --with-highscoredir="${GAMES_STATEDIR}" \ $(use_enable nls) } src_install() { default dodoc doc/README - prepgamesdirs } |