summaryrefslogtreecommitdiff
path: root/games-arcade/netris
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /games-arcade/netris
reinit the tree, so we can have metadata
Diffstat (limited to 'games-arcade/netris')
-rw-r--r--games-arcade/netris/Manifest6
-rw-r--r--games-arcade/netris/metadata.xml8
-rw-r--r--games-arcade/netris/netris-0.52-r1.ebuild57
3 files changed, 71 insertions, 0 deletions
diff --git a/games-arcade/netris/Manifest b/games-arcade/netris/Manifest
new file mode 100644
index 000000000000..b90655c74885
--- /dev/null
+++ b/games-arcade/netris/Manifest
@@ -0,0 +1,6 @@
+DIST netris-0.52.tar.gz 33135 SHA256 8bc770ebb2c3ead1611ca7a1a2f3d833e169536c78d53b3fcf49381164ee9706 SHA512 842ad8602394dee929c3c4ba222f9f5ffe628e52348c3faf7c9098bbd5b0b0279fffc7927320f8ee8a5102537c995a8ed605d851f1cd32e4bd8976a7889c84e1 WHIRLPOOL 7bf0356b85107ec871c15afa9e680596e890e22cfb6ba9e72b4487af84c01b5aa4519a0d218c8736f80edaa8ba0c488d49aca07dd67c75dad91054de3a7ea7aa
+DIST netris_0.52-9.diff.gz 14482 SHA256 7364a74dabf43e834a2dc76352191b8794094c1f5f4ab02c64950af61a40261b SHA512 4bed230091ddecf5a0dc043981ec9b0a177bee01262715b9cb9a2af0adefe2db52555416b795a70dd496e6fb0b132586bc7f32d2a480f1cfd6c4d40304076109 WHIRLPOOL 26d51d8cb7b2bbe2b7d754ad707023b796ad4f79d97c0af742b3514dde2f8bf14e165211b23d92aa8665cba324ce85d2272b966123ba56e2d83bd1f31bf40215
+EBUILD netris-0.52-r1.ebuild 1220 SHA256 14c908cb1ef75c859481dfe5cb7c0c405aca19bed0181a2ac541569cf1c7a2ad SHA512 a53bf30234c0f914c6d918d94fd6ef232f26c1c8f7aba84ff3101822517a5f6659e14c7097c1a922ff928b8d6e3daf54d6c3a309da4b53b35c4ff094cb1fb994 WHIRLPOOL b423f6a7dece2d856741ec7b89a995ab58c54324dad36592b980c41a1498aa07c0bf6d4db774a78f596e53e8e874507519d36805499d2141cc314f44bf823763
+MISC ChangeLog 3291 SHA256 1b9ce1e6d69bb74dff829be93265e8ac4cfdc2363e14a0b4f14f79ec378ea13a SHA512 12a930076fe544a0e363c60dd8933830aa6383a9be47a5ce75af32a2d8e8a038b2bf3a384243ce512dd19c117ac9d77df3726d05075a5856df08b97618b4df53 WHIRLPOOL ce801150a4709cb2828d8c6f6555877f0239c28fad8a815203b1a7726bc2d05902004cf3a4fad898a21f21cc89a4ad5896b97f01b650344158dd7621e69f4aae
+MISC ChangeLog-2015 1752 SHA256 b945587107588447d1a22f92b20118d26222d64bb3c03f6b67b4181613a043a6 SHA512 5c6b8e177ae76c9cd4d359d0cc127f690e3f5c8652b7b43d8e03a18ac5a5ac2698cdf54401c0964f33a8c3475242998b5a164c5964900521af8d0c5c92418334 WHIRLPOOL 165096bf3b0469682a2f466eb523a1086270a8f44cbb1f3bd50e722059d7610570b0158fed25bc674e3744127d354eaba0093c17cd3d8e8a00e836b0e02b77b7
+MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088
diff --git a/games-arcade/netris/metadata.xml b/games-arcade/netris/metadata.xml
new file mode 100644
index 000000000000..78274e0fa550
--- /dev/null
+++ b/games-arcade/netris/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+</maintainer>
+</pkgmetadata>
diff --git a/games-arcade/netris/netris-0.52-r1.ebuild b/games-arcade/netris/netris-0.52-r1.ebuild
new file mode 100644
index 000000000000..5da075018d1f
--- /dev/null
+++ b/games-arcade/netris/netris-0.52-r1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils games
+
+DEB_VER=9
+DESCRIPTION='Classic networked version of T*tris'
+HOMEPAGE='http://www.netris.org/'
+SRC_URI="ftp://ftp.netris.org/pub/netris/${P}.tar.gz
+ mirror://debian/pool/main/n/netris/netris_${PV}-${DEB_VER}.diff.gz"
+
+LICENSE='GPL-2'
+SLOT=0
+KEYWORDS="amd64 ~mips x86 ~x86-fbsd"
+IUSE=''
+
+DEPEND='sys-libs/ncurses:0='
+RDEPEND=${DEPEND}
+
+src_prepare() {
+ epatch "${WORKDIR}"/netris_${PV}-${DEB_VER}.diff
+ epatch netris-0.52/debian/patches/[01]*
+ # bug #185332
+ sed -i \
+ -e '/sys\/time/ i\
+#include <sys/types.h> \
+#include <time.h>
+' \
+ -e '/netint2/ s/short/int16_t/' \
+ -e '/netint4/ s/long/int32_t/' \
+ netris.h || die
+ sed -i \
+ -e 's/volatile //g' \
+ -e '/Be more forgiving/d' \
+ -e 's/static myRandSeed/static int myRandSeed/' \
+ util.c || die
+ sed -i \
+ -e 's/\(long pauseTimeLeft\)/\1 = 0/' \
+ game.c || die
+ sed -i \
+ -e '/^CC/d' \
+ -e '/^COPT/d' \
+ -e '/^CFLAGS/d' \
+ -e 's/(LFLAGS)/(LDFLAGS) $(LFLAGS)/' \
+ Configure || die
+}
+
+src_configure() {
+ bash ./Configure -O || die
+}
+
+src_install() {
+ dogamesbin netris sr
+ dodoc FAQ README robot_desc
+ prepgamesdirs
+}