summaryrefslogtreecommitdiff
path: root/games-puzzle/quadra
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-puzzle/quadra
reinit the tree, so we can have metadata
Diffstat (limited to 'games-puzzle/quadra')
-rw-r--r--games-puzzle/quadra/Manifest6
-rw-r--r--games-puzzle/quadra/files/quadra-1.2.0-format.patch11
-rw-r--r--games-puzzle/quadra/metadata.xml11
-rw-r--r--games-puzzle/quadra/quadra-1.2.0.ebuild44
4 files changed, 72 insertions, 0 deletions
diff --git a/games-puzzle/quadra/Manifest b/games-puzzle/quadra/Manifest
new file mode 100644
index 000000000000..4154b85b3035
--- /dev/null
+++ b/games-puzzle/quadra/Manifest
@@ -0,0 +1,6 @@
+AUX quadra-1.2.0-format.patch 487 SHA256 bddea260dea75143a6a9df43a520113035ca5fc11feb7ad82e35f47b46ac60ea SHA512 5445fa32a10a8cd96da756727087c7f6dcdca3a92f662764ffe790caaf498a055c02e4858c3bdcd56f1ebd57b958eec0e347f7919ca7724f2f6f12c37249c2df WHIRLPOOL 14ba03798f5cef684efc44c924898222f9c35fcba44f7d5b6ce93fc83d2f9eb5c7759c884489309151a7bb683607230dea2703bd931b402c253888c22103bd27
+DIST quadra-1.2.0.tar.gz 5103875 SHA256 0312d826668ccb71d60a1d7229ca644c547a04d12d1b738dbeac7ee68e5fb643 SHA512 1c3e1020a584fa83595b7b183d5346f8e357ddef6b29c0b4a3797e2ace50c6e9ff14f132b8299ca582db739f4d699fa8ab94be93ef86e5a01389f958ce91e837 WHIRLPOOL 62759ce2f916a219458fce8609f2137e836b5865e005058d70d74d4af35893f50dfdf5a481ce92f917e6bfd19b1149fbfc4b9c7704664f1b65b3887276bbdf19
+EBUILD quadra-1.2.0.ebuild 915 SHA256 99f058eae843a541b1cb1b511079e75debd8cefd9ab139542cf72535ea5062d8 SHA512 355ad768ca54ade26c1532a95923a9af5ae096c0ed148c25cd3a966f6b01e57d648c7a548170d95a2e2ae60acbb1607de61bd2624ac7b68a7947a1c4bf966c41 WHIRLPOOL 4f93cc29019f874ae054e10d12577cde557328c61ec8cca76652b13124371db0ecff5e38481ca0e4417201decec327464efb2c69a5266815c2f876f059fc356a
+MISC ChangeLog 2933 SHA256 f1e1e5359b0c60beb7c12a16bee1f8ebaa93f626c46e162a72bd7d71eb4438c5 SHA512 8fbdc720f60e547fce60201dbd635f44ac0369932dbb88df4430f45fcb424089c223de2c37baeef3d7ad48890a7c0977205e4ca186ba763f911d748470b0f119 WHIRLPOOL 27e8bd3f193843e7183c12036c506c44082f0fbd35d2dfbdae4e28bd5c336504e28a9cabc9e578f13cccb0f15d4e8290d8bd35de569f7861051d63349cad9644
+MISC ChangeLog-2015 3441 SHA256 24a74097b2bbfe5bda61b3cfa5becd728fca3d71fa4518cf2f87681ff3200946 SHA512 fa7493d3c6cb14c2c13913e72ec3f0e8f39289f6780e9e843f78fc45dcd61514598492b38b7bde9503f3635c8fe026e0f39d5cce362ece5c829331c253b9e35d WHIRLPOOL 85c05f7b4ddd6d955b0156cfabe41a9e61aa17e315ccaa37b76313141b8580db6432fea6c9c9bc1019531fc22cb16d5f180a5a6b6bcd040e561dfc1ca75cfac1
+MISC metadata.xml 329 SHA256 3b90ab4903cb64b29408e1c85dd0bc297440494099e1441f90d31ecaec3b774b SHA512 81750413c002a39166c0802840aac367a3b07f61a1c711bb68fdea6f8dff71f4689c24ccf75c61336f03ddea9993c45c5b869d2f3467540f4695a35da9a6438f WHIRLPOOL fc59181764f7ffd4d998a221be040a325492dab4e04ae1a0d3778781a1342c33c98e886b66505ba3880a6161c8536992d5eaa9bfbbb2829f63821ccfe231ee06
diff --git a/games-puzzle/quadra/files/quadra-1.2.0-format.patch b/games-puzzle/quadra/files/quadra-1.2.0-format.patch
new file mode 100644
index 000000000000..d9db4978290f
--- /dev/null
+++ b/games-puzzle/quadra/files/quadra-1.2.0-format.patch
@@ -0,0 +1,11 @@
+--- source/net_list.cpp.old 2015-12-08 21:41:16.782404098 +0100
++++ source/net_list.cpp 2015-12-08 21:41:33.153114600 +0100
+@@ -693,7 +693,7 @@
+ //Drawn at a total higher or equal to end_value: suspense!
+ // or maybe timer just elapsed and the game is drawn
+ // (still suspense! :))
+- sprintf(st, ST_GAMETIED);
++ sprintf(st, "%s", ST_GAMETIED);
+ message(-1, st);
+ { Sfx stmp(sons.levelup, 0, 0, -1, 18050); }
+ { Sfx stmp(sons.levelup, 0, 0, -1, 18100); }
diff --git a/games-puzzle/quadra/metadata.xml b/games-puzzle/quadra/metadata.xml
new file mode 100644
index 000000000000..018874d4b550
--- /dev/null
+++ b/games-puzzle/quadra/metadata.xml
@@ -0,0 +1,11 @@
+<?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>
+ <upstream>
+ <remote-id type="google-code">quadra</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/games-puzzle/quadra/quadra-1.2.0.ebuild b/games-puzzle/quadra/quadra-1.2.0.ebuild
new file mode 100644
index 000000000000..f1633a7eb7ae
--- /dev/null
+++ b/games-puzzle/quadra/quadra-1.2.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils games
+
+DESCRIPTION="A tetris clone with multiplayer support"
+HOMEPAGE="https://code.google.com/p/quadra/"
+SRC_URI="https://quadra.googlecode.com/files/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXpm
+ x11-libs/libXxf86vm
+ x11-libs/libXext
+ media-libs/libpng:0
+ sys-libs/zlib"
+DEPEND="${RDEPEND}
+ sys-devel/bc
+ x11-proto/xextproto"
+
+src_prepare() {
+ sed -i \
+ -e "/^libgamesdir:=/s:/games:/${PN}:" \
+ -e "/^datagamesdir:=/s:/games:/${PN}:" \
+ config/config.mk.in || die
+ epatch "${FILESDIR}"/${P}-format.patch
+}
+
+src_install() {
+ dogamesbin ${PN}
+ insinto "${GAMES_DATADIR}"/${PN}
+ doins ${PN}.res
+ doicon images/${PN}.xpm
+ make_desktop_entry ${PN} Quadra
+
+ dodoc ChangeLog NEWS README
+ dohtml help/*
+ prepgamesdirs
+}