summaryrefslogtreecommitdiff
path: root/games-puzzle/quadra
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-05-02 14:13:35 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-05-02 14:13:35 +0100
commit7c7c2c9727d6b2ff30945b5aea0d575e1c406d8b (patch)
treebac2a67fb24ac0836147fe370d30e1610ae1845d /games-puzzle/quadra
parent2f8db31405fac68eea6f7257d58529243815033b (diff)
gentoo resync : 02.05.2018
Diffstat (limited to 'games-puzzle/quadra')
-rw-r--r--games-puzzle/quadra/Manifest4
-rw-r--r--games-puzzle/quadra/files/quadra-1.2.0-format.patch4
-rw-r--r--games-puzzle/quadra/quadra-1.2.0-r1.ebuild (renamed from games-puzzle/quadra/quadra-1.2.0.ebuild)26
3 files changed, 18 insertions, 16 deletions
diff --git a/games-puzzle/quadra/Manifest b/games-puzzle/quadra/Manifest
index 42f11a935d93..7b2ce8b0c062 100644
--- a/games-puzzle/quadra/Manifest
+++ b/games-puzzle/quadra/Manifest
@@ -1,4 +1,4 @@
-AUX quadra-1.2.0-format.patch 487 BLAKE2B 0b73769949523c5791e348854f16a0f4fcbe6792bdf03cc627e7957effae2bdace3b2c1f977663a21e581f1da2058a2d4e1017e95fcff96131ca8dc4a869e3bd SHA512 5445fa32a10a8cd96da756727087c7f6dcdca3a92f662764ffe790caaf498a055c02e4858c3bdcd56f1ebd57b958eec0e347f7919ca7724f2f6f12c37249c2df
+AUX quadra-1.2.0-format.patch 491 BLAKE2B 21341a7d0a6fa1556d9d79d3fa55f2cb1fc4cf6244dc8fbdc937acb9250bec258818ffd6644d1f40a5fc0db07e64555121f2d0ce5c9ef9ffeadf2da6ebe78412 SHA512 a0a05c3ced44a88d7766a0ef2053dce378df4e6cec74acc7d074a27bffc48d6c43977289e779bc526d730b9d5c8acc18c1cc46c865f3ea7de0a6226937a08ffe
DIST quadra-1.2.0.tar.gz 5103875 BLAKE2B 7b0bce4e8be77de2e357cd14f60ebdbf3ef72f2262013954bca9a8d1a9a2833e00a0fe59f818b78603628999e7e1204c6974a5d9f74f4ea9bb288325d518744c SHA512 1c3e1020a584fa83595b7b183d5346f8e357ddef6b29c0b4a3797e2ace50c6e9ff14f132b8299ca582db739f4d699fa8ab94be93ef86e5a01389f958ce91e837
-EBUILD quadra-1.2.0.ebuild 946 BLAKE2B 87fac5ce533e59c574979ed3fd6be0dbd87d6ec7dd574b05f0b1f05ce94f369bd5b40de4899cd4cb3b0149ada9405a537997dbfe0c6da684a8e1b6fd6e4ce5cf SHA512 d8f3fe808979290a4ce891c705efced62c0c552cfaca4abe633fa6487323f3076db73811a5f7687da04d94d282e458cf332707bda422c55c100e706e2221a244
+EBUILD quadra-1.2.0-r1.ebuild 916 BLAKE2B bddd8e3f29869a7aee2994e8d78114ecfa5d07c7204cd32a38f5862476f5366dbbdbd305249f59b640b224b58f93adc8c716e1640f9a9748a7a66827a42fe658 SHA512 5242baa35a7da6dcdb6f7e6d6f4937624cb93cb08ca8ddbafc67b724ff80aa913a0af55f50a540c5d839e47ea94d760f656532ef821ed88337d097c83a2216bc
MISC metadata.xml 329 BLAKE2B b57a9d305d40db5c2682878b7c26c6150bbcc7825c17169c9380a288b69aec71d51793dbf0071f157a8e03be1d90632d26227cffc6855982562d37b606982a1e SHA512 81750413c002a39166c0802840aac367a3b07f61a1c711bb68fdea6f8dff71f4689c24ccf75c61336f03ddea9993c45c5b869d2f3467540f4695a35da9a6438f
diff --git a/games-puzzle/quadra/files/quadra-1.2.0-format.patch b/games-puzzle/quadra/files/quadra-1.2.0-format.patch
index d9db4978290f..ca56f5b4cc00 100644
--- a/games-puzzle/quadra/files/quadra-1.2.0-format.patch
+++ b/games-puzzle/quadra/files/quadra-1.2.0-format.patch
@@ -1,5 +1,5 @@
---- 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
+--- a/source/net_list.cpp.old 2015-12-08 21:41:16.782404098 +0100
++++ b/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
diff --git a/games-puzzle/quadra/quadra-1.2.0.ebuild b/games-puzzle/quadra/quadra-1.2.0-r1.ebuild
index a315a077f55d..4f77d48dc9ca 100644
--- a/games-puzzle/quadra/quadra-1.2.0.ebuild
+++ b/games-puzzle/quadra/quadra-1.2.0-r1.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit eutils games
+EAPI=6
+inherit desktop
DESCRIPTION="A tetris clone with multiplayer support"
HOMEPAGE="https://github.com/quadra-game/quadra"
@@ -13,32 +13,34 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
-RDEPEND="x11-libs/libX11
+RDEPEND="
+ x11-libs/libX11
x11-libs/libXpm
x11-libs/libXxf86vm
x11-libs/libXext
- media-libs/libpng:0
- sys-libs/zlib"
+ media-libs/libpng:0=
+ sys-libs/zlib
+"
DEPEND="${RDEPEND}
sys-devel/bc
- x11-proto/xextproto"
+ x11-proto/xextproto
+"
src_prepare() {
+ default
sed -i \
-e "/^libgamesdir:=/s:/games:/${PN}:" \
-e "/^datagamesdir:=/s:/games:/${PN}:" \
config/config.mk.in || die
- epatch "${FILESDIR}"/${P}-format.patch
+ eapply "${FILESDIR}"/${P}-format.patch
}
src_install() {
- dogamesbin ${PN}
- insinto "${GAMES_DATADIR}"/${PN}
+ dobin ${PN}
+ insinto /usr/share/${PN}
doins ${PN}.res
doicon images/${PN}.xpm
make_desktop_entry ${PN} Quadra
- dodoc ChangeLog NEWS README
- dohtml help/*
- prepgamesdirs
+ HTML_DOCS="help/*" einstalldocs
}